/* localmedic Training course pages (single-training_course.php, inc/lm-training-course.php).
   Only this page's layout lives here. Buttons, tiles, chips, cards, bands, shapes, steps,
   folds, the photo arch, logos and the "Not sure?" panel are the shared set in lm-ui.css,
   so they look and behave the same on every page (Kal, 27 Nov 2026). */

.lm-tc{color:var(--lm-ink); overflow-x:clip;}
.lm-tc h1,.lm-tc h2,.lm-tc h3{font-family:var(--lm-font-head); color:var(--lm-heading); margin:0!important;}
.lm-tc p{margin:0;}
.lm-tc .lm-h2{margin-bottom:24px!important;}
.lm-tc .screen-reader-text{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}

/* This page draws its own hero, so the Pro header's hero bar (the one holding the H1)
   is hidden here. The menu bar and the colour bar above it stay. */
.single-training_course .x-masthead .x-bar:has(h1){display:none!important;}

/* ---------- Hero: text beside the photo arch ---------- */
.lm-tc-hero{padding:32px 0 72px;}
.lm-tc-hero__grid{display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; position:relative; z-index:1;}
.lm-tc-hero__grid--text{grid-template-columns:1fr; max-width:820px;}
.lm-tc-hero__text{display:flex; flex-direction:column; align-items:flex-start; gap:16px; min-width:0;}
.lm-tc-hero .lm-hero__title{font-size:clamp(38px,30px + 2.6vw,60px)!important; max-width:none;}
.lm-tc-hero .lm-hero__lead{max-width:36ch;}
.lm-tc-area{font-weight:700; font-size:14px;}
.lm-tc-hero__go{align-items:center;}
.lm-tc-hero__call{width:100%; color:var(--lm-muted); font-size:15px;}
.lm-tc-hero__call a{color:var(--lm-ink)!important; font-weight:700;}
.lm-tc-art__s4{z-index:3!important;}
.lm-tc-badge--1{left:-4%; top:46%;}
.lm-tc-badge--2{right:-2%; bottom:20%;}

/* ---------- Facts: pastel cards overlapping the hero ---------- */
.lm-tc-facts{margin-top:-36px; position:relative; z-index:2;}
.lm-tc-facts dl{margin:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:14px;}
.lm-tc-fact{border:0; padding:18px 18px 20px;}
.lm-tc-fact dd{margin:0; font-weight:400; font-size:16px; line-height:1.45;}

/* ---------- Intro, with the "before you start" note beside it ---------- */
.lm-tc-intro{display:grid; gap:24px 56px; margin-top:72px; align-items:start;}
.lm-tc-intro--note{grid-template-columns:1fr 1fr;}
.lm-tc-intro .lm-prose{display:flex; flex-direction:column; gap:12px; max-width:680px;}
.lm-tc-intro h2{font-size:clamp(26px,22px + 1vw,34px); line-height:1.15;}
.lm-tc-qual{margin-top:6px!important; font-size:15px; color:var(--lm-muted);}
.lm-tc-qual b{color:var(--lm-ink);}

/* ---------- Why train with us ---------- */
.lm-tc-why{margin-top:80px;}
.lm-tc-why .lm-card__title{font-size:20px;}

/* ---------- Ways to take it ---------- */
.lm-tc-ways{margin-top:72px; scroll-margin-top:24px;}
.lm-tc-ways__grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr)); gap:20px; align-items:start;}
.lm-tc-way{padding:26px; gap:14px; border-radius:24px;}
.lm-tc-way__head{display:flex; align-items:center; gap:14px;}
.lm-tc-way h3{font-size:24px; line-height:1.2;}
.lm-tc-way__head p{color:var(--lm-muted); font-size:15px;}
.lm-tc-way .lm-dates-sc{margin:0; max-width:none;}
.lm-tc-empty{background:var(--lm-butter); border-radius:16px; padding:16px 18px; display:flex; flex-direction:column; gap:6px; color:#4A3500;}
.lm-tc-options{list-style:none!important; margin:0!important; padding:0!important; display:flex; flex-direction:column; gap:10px;}
.lm-tc-options li{margin:0!important; display:flex; gap:12px; background:var(--lm-blush); border-radius:16px; padding:14px 16px;}
.lm-tc-options li::before{content:none!important;}
.lm-tc-options li .lm-i{color:var(--lm-magenta); margin-top:2px;}
.lm-tc-options b{display:block; font-weight:700;}
.lm-tc-needs{border-top:1px solid var(--lm-line); padding-top:6px;}
.lm-tc-needs summary{font-weight:700; min-height:44px; display:flex; align-items:center; cursor:pointer;}

/* ---------- What you'll learn: the steps fill the row, up to four across ---------- */
.lm-tc-learn{margin-top:80px;}
.lm-tc-learn__inner{position:relative; z-index:1;}
.lm-tc-learn .lm-h2{margin-bottom:8px!important;}
.lm-tc-learn__intro{color:var(--lm-muted); margin-bottom:22px!important; max-width:68ch;}
.lm-tc-folds{margin-top:22px;}

/* ---------- Reviews ---------- */
.lm-tc-reviews{padding:56px 0;}
.lm-tc-reviews h2{margin-bottom:20px!important;}

/* ---------- Logos and "Not sure?" ---------- */
.lm-tc-end{padding-top:64px; padding-bottom:64px; display:flex; flex-direction:column; gap:28px;}

@media (max-width:900px){
  .lm-tc-hero__grid,.lm-tc-intro--note{grid-template-columns:1fr;}
  .lm-tc-hero .lm-art{margin-top:8px;}
  .lm-tc-facts{margin-top:-28px;}
  .lm-tc-facts dl{grid-template-columns:1fr 1fr;}
}
@media (max-width:420px){
  .lm-tc-facts dl{grid-template-columns:1fr;}
  .lm-tc-badge--1{left:-2%;}
}
