/* ==========================================================================
   Training pages (/posh, /pocso) — every selector is prefixed .tp- so nothing
   collides with the Bootstrap 3 / theme styles used elsewhere on the site.
   ========================================================================== */
.tp-page {
  --tp-brand: #FFA51F;
  --tp-brand-2: #FB8C2A;
  --tp-ink-brand: #8a5d00;      /* amber text on white, AA contrast */
  --tp-tint: #FFF6E8;
  --tp-tint-2: #FFFBF4;
  --tp-dark: #2C2C2C;
  --tp-ink: #2f2f2f;
  --tp-body: #555;
  --tp-muted: #6b6b6b;
  --tp-line: #ececec;
  --tp-alt: #F7F7F8;
  --tp-shadow: 0 6px 24px rgba(0,0,0,.06);
  --tp-shadow-lg: 0 14px 44px rgba(0,0,0,.10);
  --tp-glow: 0 8px 22px rgba(255,165,31,.38);
  --tp-r: 18px;
  color: var(--tp-body);
  font-size: 16px;
  line-height: 1.8;
}
.tp-page *, .tp-page *::before, .tp-page *::after { box-sizing: border-box; }
.tp-page img { max-width: 100%; height: auto; display: block; }
.tp-page p { margin: 0 0 16px; }
.tp-page ul, .tp-page ol { margin: 0 0 16px 18.4px; padding: 0; }
.tp-page li { margin-bottom: 7.2px; }
.tp-page strong { color: var(--tp-ink); }
.tp-page a { color: var(--tp-ink-brand); }
.tp-page h1, .tp-page h2, .tp-page h3, .tp-page h4 {
  color: var(--tp-ink); line-height: 1.25; font-weight: 700; margin: 0;
  text-transform: uppercase; letter-spacing: .005em;
}
.tp-page h1 { font-size: clamp(27.2px, 4vw, 41.6px); }
.tp-page h2 { font-size: clamp(20.8px, 2.6vw, 31.2px); }
.tp-page h3 { font-size: clamp(16px, 1.6vw, 18.6px); }
.tp-hl { color: var(--tp-brand); }
.tp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.tp-rule { width: 86px; height: 4px; border-radius: 4px; background: var(--tp-brand); margin-top: 16px; }
.tp-rule--c { margin-left: auto; margin-right: auto; }

.tp-eyebrow {
  display: inline-block; background: linear-gradient(90deg, var(--tp-brand), var(--tp-brand-2));
  color: #1a1a1a; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 8.8px 22.4px; border-radius: 100px; box-shadow: var(--tp-glow);
}
.tp-tile {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--tp-brand), var(--tp-brand-2)); color: #1a1a1a;
  font-size: 20px; font-weight: 700; box-shadow: var(--tp-glow);
}
.tp-tile--sm { width: 42px; height: 42px; border-radius: 11px; font-size: 16.8px; }

.tp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 15px; padding: 12px 25.6px; border-radius: 6px;
  border: 2px solid transparent; cursor: pointer; transition: .2s; text-decoration: none !important; line-height: 1.4;
}
.tp-btn--primary { background: var(--tp-brand); color: #1a1a1a !important; }
.tp-btn--primary:hover { background: var(--tp-brand-2); box-shadow: var(--tp-glow); }
.tp-btn--outline { background: #fff; color: var(--tp-ink-brand) !important; border-color: var(--tp-brand); }
.tp-btn--outline:hover { background: var(--tp-brand); color: #1a1a1a !important; }
.tp-btn--wa { background: #1d8a45; color: #fff !important; }
.tp-btn--wa:hover { background: #166b36; }
.tp-btn--light { background: #fff; color: var(--tp-ink-brand) !important; }
.tp-btn--light:hover { background: var(--tp-brand); color: #1a1a1a !important; }
.tp-btn:focus-visible, .tp-page a:focus-visible, .tp-page summary:focus-visible,
.tp-page input:focus-visible, .tp-page select:focus-visible, .tp-page textarea:focus-visible {
  outline: 3px solid var(--tp-brand-2); outline-offset: 2px;
}

/* ---------- Hero ---------- */
.tp-hero { background: linear-gradient(180deg, #F2F2F3 0%, var(--tp-alt) 55%, #fff 100%); padding: clamp(32px,4vw,48px) 0 clamp(38.4px,5vw,60.8px); }
.tp-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6.4px; margin: 0 0 20.8px !important; font-size: 13.1px; color: var(--tp-muted); }
.tp-crumbs li { margin: 0; }
.tp-crumbs li + li::before { content: "/"; margin-right: 6.4px; color: #bbb; }
.tp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px,4vw,48px); align-items: center; }
.tp-hero-sub { font-size: 16.3px; margin: 19.2px 0 24px; max-width: 58ch; }
.tp-cta { display: flex; flex-wrap: wrap; gap: 11.2px; margin-bottom: 24px; }
.tp-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 !important; }
.tp-trust li { margin: 0; font-size: 12.6px; font-weight: 600; color: var(--tp-ink); background: #fff; border: 1px solid var(--tp-line); border-radius: 100px; padding: 6.4px 14.4px; box-shadow: var(--tp-shadow); }
.tp-hero-media img { border-radius: var(--tp-r); box-shadow: var(--tp-shadow-lg); width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: #fff8ea; }
.tp-hero-cap { font-size: 12.8px; color: var(--tp-muted); margin: 9.6px 0 0; text-align: center; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 7.2px; list-style: none; margin: 17.6px 0 0 !important; }
.tp-chips li { margin: 0; }
.tp-chips a { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4.8px 12.8px; border-radius: 100px; background: var(--tp-tint); border: 1px solid #ffe2b3; text-decoration: none; color: var(--tp-ink-brand); }
.tp-chips a:hover { background: var(--tp-brand); color: #1a1a1a; }

/* ---------- Sections ---------- */
.tp-sec { padding: clamp(40px,5vw,64px) 0; }
.tp-sec--white { background: #fff; }
.tp-sec--alt { background: var(--tp-alt); }
.tp-sec--tint { background: var(--tp-tint-2); }
.tp-head { max-width: 74ch; margin-bottom: 33.6px; }
.tp-head--c { margin-left: auto; margin-right: auto; text-align: center; }
.tp-head p { margin-top: 16px; }
.tp-lede { font-size: 16.6px; }

.tp-grid { display: grid; gap: 22.4px; }
.tp-g2 { grid-template-columns: repeat(2, 1fr); }
.tp-g3 { grid-template-columns: repeat(3, 1fr); }
.tp-g4 { grid-template-columns: repeat(4, 1fr); }

.tp-card { background: #fff; border-radius: var(--tp-r); padding: 27.2px; box-shadow: var(--tp-shadow); border: 1px solid rgba(0,0,0,.03); transition: .22s; height: 100%; }
.tp-card:hover { box-shadow: var(--tp-shadow-lg); transform: translateY(-3px); }
.tp-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 4.8px; }
.tp-card .tp-rule { margin: 13.6px 0 16px; }
.tp-card p { font-size: 15px; }
.tp-card ul { font-size: 14.7px; margin-bottom: 12.8px; }
.tp-meta { font-size: 13.4px; color: var(--tp-muted); border-top: 1px solid var(--tp-line); padding-top: 12.8px; margin-top: 16px !important; }
.tp-card-link { font-size: 14.1px; font-weight: 600; }
.tp-sector h3 { font-size: 16px; }
.tp-sector .tp-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tp-ink-brand); margin-bottom: 8px; }

.tp-answer { background: #fff; border-radius: var(--tp-r); border-left: 5px solid var(--tp-brand); padding: 25.6px 28.8px; box-shadow: var(--tp-shadow); max-width: 80ch; }
.tp-answer p:last-child { margin-bottom: 0; }

.tp-checks { list-style: none; margin: 0 !important; display: grid; gap: 11.2px; }
.tp-checks li { margin: 0; background: var(--tp-tint); border-left: 3px solid var(--tp-brand); border-radius: 10px; padding: 13.6px 17.6px; display: grid; grid-template-columns: auto 1fr; gap: 14.4px; align-items: start; font-size: 15px; }
.tp-checks li::before { content: "\2713"; width: 24px; height: 24px; border-radius: 50%; background: var(--tp-brand); color: #1a1a1a; font-size: 11.5px; display: grid; place-items: center; font-weight: 700; margin-top: 3.2px; }
.tp-checks p { margin: 0; }
.tp-checks .tp-lbl { display: block; font-weight: 700; color: var(--tp-ink); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; margin-bottom: 3.2px; }

.tp-callout { background: linear-gradient(135deg, var(--tp-brand), var(--tp-brand-2)); color: #1a1a1a; border-radius: var(--tp-r); padding: 24px 28.8px; margin-top: 27.2px; box-shadow: var(--tp-glow); }
.tp-callout strong { color: #1a1a1a; }
.tp-callout p:last-child { margin-bottom: 0; }

.tp-steps { list-style: none; margin: 0 !important; counter-reset: s; display: grid; gap: 16px; }
.tp-steps li { margin: 0; counter-increment: s; background: #fff; border-radius: var(--tp-r); padding: 22.4px 25.6px 22.4px 76.8px; position: relative; box-shadow: var(--tp-shadow); }
.tp-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 24px; top: 20px; font-size: 24px; font-weight: 900; color: var(--tp-brand); }
.tp-steps h3 { font-size: 16px; margin-bottom: 4.8px; }
.tp-steps p { margin: 0; font-size: 15px; }

.tp-table-wrap { overflow-x: auto; border-radius: var(--tp-r); background: #fff; box-shadow: var(--tp-shadow); }
.tp-table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.7px; }
.tp-table-wrap th, .tp-table-wrap td { padding: 14.4px 17.6px; text-align: left; border-bottom: 1px solid var(--tp-line); vertical-align: top; }
.tp-table-wrap th { background: var(--tp-tint); color: var(--tp-ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.tp-table-wrap tr:last-child td { border-bottom: 0; }

.tp-band { position: relative; min-height: 320px; display: grid; place-items: center; text-align: center; overflow: hidden; background: #2c2c2c; }
.tp-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,30,30,.86), rgba(30,30,30,.66)); }
.tp-band-in { position: relative; z-index: 2; color: #fff; max-width: 68ch; padding: 48px 20px; }
.tp-band h2 { color: #fff; }
.tp-band p { color: rgba(255,255,255,.92); margin-top: 16px; }
.tp-band .tp-rule { margin-left: auto; margin-right: auto; }

.tp-trainer { display: grid; grid-template-columns: 280px 1fr; gap: 35.2px; align-items: start; }
.tp-trainer img { border-radius: var(--tp-r); box-shadow: var(--tp-shadow-lg); width: 100%; height: auto; object-fit: cover; object-position: 50% 28%; aspect-ratio: 4/5; background: #eee; }
.tp-head--wide { max-width: none; }
@media (min-width: 700px) { .tp-nowrap { white-space: nowrap; } }
.tp-creds { list-style: none; margin: 17.6px 0 0 !important; display: grid; gap: 8px; }
.tp-creds li { margin: 0; font-size: 15px; padding-left: 27.2px; position: relative; }
.tp-creds li::before { content: "\2713"; position: absolute; left: 0; color: var(--tp-ink-brand); font-weight: 700; }

.tp-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19.2px; }
.tp-shots figure { margin: 0; }
.tp-shots img { border-radius: var(--tp-r); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--tp-shadow); width: 100%; }
.tp-shots figcaption { font-size: 13.1px; color: var(--tp-muted); margin-top: 8px; }

.tp-local { display: grid; grid-template-columns: 1fr 1fr; gap: 35.2px; align-items: start; }
.tp-map { border: 0; width: 100%; height: 340px; border-radius: var(--tp-r); box-shadow: var(--tp-shadow); }
.tp-page address { font-style: normal; background: #fff; border-radius: var(--tp-r); padding: 22.4px; font-size: 15.2px; box-shadow: var(--tp-shadow); border-left: 5px solid var(--tp-brand); margin-top: 19.2px; }
.tp-page address strong { display: block; margin-bottom: 4.8px; }
.tp-areas { display: flex; flex-wrap: wrap; gap: 6.4px; list-style: none; margin: 16px 0 0 !important; }
.tp-areas li { margin: 0; font-size: 12.8px; background: #fff; border: 1px solid var(--tp-line); border-radius: 100px; padding: 4px 12px; }

.tp-faq { display: grid; gap: 11.2px; max-width: 920px; margin: 0 auto; }
.tp-faq details { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--tp-shadow); }
.tp-faq summary { cursor: pointer; padding: 16.8px 20px; font-weight: 700; color: var(--tp-ink); font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--tp-brand); color: #1a1a1a; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.tp-faq details[open] summary { background: var(--tp-tint); }
.tp-faq details[open] summary::after { content: "\2013"; }
.tp-faq .tp-ans { padding: 4.8px 20px 17.6px; font-size: 15px; }
.tp-faq .tp-ans p:last-child { margin-bottom: 0; }

.tp-links { list-style: none; margin: 0 !important; display: grid; gap: 9.6px; }
.tp-links li { margin: 0; }
.tp-links a { display: flex; align-items: center; gap: 12.8px; background: #fff; border-radius: 12px; padding: 15.2px 19.2px; font-size: 15px; font-weight: 600; color: var(--tp-ink); box-shadow: var(--tp-shadow); text-decoration: none; min-height: 48px; }
.tp-links a::before { content: "\2192"; color: var(--tp-ink-brand); font-weight: 700; }
.tp-links a:hover { background: var(--tp-tint); color: var(--tp-ink-brand); }

.tp-form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 35.2px; align-items: start; }
.tp-form { background: #fff; border-radius: var(--tp-r); padding: 28.8px; box-shadow: var(--tp-shadow-lg); }
.tp-field { margin-bottom: 16px; }
.tp-field label { display: block; font-size: 12.8px; font-weight: 700; color: var(--tp-ink); margin-bottom: 5.6px; text-transform: uppercase; letter-spacing: .05em; }
.tp-field input, .tp-field select, .tp-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--tp-ink); padding: 11.5px 14.4px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fcfcfc; min-height: 44px; }
.tp-field input:focus, .tp-field select:focus, .tp-field textarea:focus { border-color: var(--tp-brand); background: #fff; }
.tp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tp-err { color: #b3261e; font-size: 12.8px; margin-top: 4px; display: none; }
.tp-field.has-error .tp-err { display: block; }
.tp-field.has-error input, .tp-field.has-error select { border-color: #b3261e; }
.tp-note { font-size: 13.1px; color: var(--tp-muted); margin: 14.4px 0 0; text-align: center; }
.tp-alert { display: none; border-radius: 10px; padding: 13.6px 16px; font-size: 14.7px; margin-top: 16px; }
.tp-alert--ok { background: #e7f6ec; color: #135a2b; border: 1px solid #b6e2c4; }
.tp-alert--bad { background: #fdecea; color: #8c1d18; border: 1px solid #f5c2be; }
.tp-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.tp-alt-contact { display: grid; gap: 19.2px; }
.tp-alt-contact .tp-card p { margin-bottom: 6.4px; }

.tp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1000px) { .tp-g3, .tp-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .tp-hero-grid, .tp-local, .tp-form-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .tp-trainer { grid-template-columns: 1fr; } .tp-shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .tp-g2, .tp-g3, .tp-g4, .tp-two { grid-template-columns: 1fr; } .tp-shots { grid-template-columns: 1fr; } .tp-card { padding: 22.4px; } }
@media (prefers-reduced-motion: reduce) { .tp-card, .tp-btn { transition: none; } .tp-card:hover { transform: none; } }

/* Portrait poster in the hero (e.g. 2:3): keep natural ratio, centred, never cropped */
.tp-hero-media--portrait { display: flex; flex-direction: column; align-items: center; }
.tp-hero-media--portrait img { width: 100%; max-width: 100%; aspect-ratio: auto; object-fit: contain; background: transparent; }

/* At-a-glance NAP block */
.tp-glance-sec { padding-top: clamp(25.6px, 3vw, 38.4px); }
.tp-glance { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; background: var(--tp-tint-2); border: 1px solid #ffe2b3; border-radius: var(--tp-r); padding: clamp(22.4px, 3vw, 35.2px); box-shadow: var(--tp-shadow); }
.tp-glance h2 { font-size: clamp(18.4px, 2.2vw, 25.6px); }
.tp-facts { margin: 0; display: grid; gap: 1.6px; }
.tp-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12.8px; padding: 9.6px 0; border-bottom: 1px dashed #f0d9aa; font-size: 14.9px; }
.tp-facts > div:last-child { border-bottom: 0; }
.tp-facts dt { font-weight: 700; color: var(--tp-ink); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; padding-top: 2.4px; }
.tp-facts dd { margin: 0; }
.tp-facts address { background: none; box-shadow: none; border: 0; padding: 0; margin: 0; font-size: inherit; }
@media (max-width: 920px) { .tp-glance { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tp-facts > div { grid-template-columns: 1fr; gap: 1.6px; } }

/* ==========================================================================
   Responsive refinements (mobile <=680, tablet <=920) — appended last on purpose
   ========================================================================== */
.tp-card ul { list-style: disc outside; margin-left: 18px; }
.tp-card ul li::marker { color: var(--tp-brand); }
.tp-page .tp-crumbs, .tp-page .tp-trust, .tp-page .tp-chips, .tp-page .tp-checks, .tp-page .tp-steps,
.tp-page .tp-creds, .tp-page .tp-areas, .tp-page .tp-links { list-style: none; margin-left: 0; padding: 0; }
.tp-page .tp-crumbs, .tp-page .tp-trust, .tp-page .tp-chips, .tp-page .tp-areas { margin-bottom: 0; }

@media (max-width: 920px) {
  .tp-hero-grid { gap: 28px; }
  .tp-hero-media--portrait img { max-width: min(100%, 460px); }
  .tp-head { margin-bottom: 26px; }
}

@media (max-width: 680px) {
  .tp-wrap { padding: 0 16px; }
  .tp-sec { padding: 36px 0; }
  .tp-hero { padding: 20px 0 34px; }
  .tp-hero-sub { font-size: 16px; margin: 16px 0 20px; }

  /* buttons: full width, easy to tap */
  .tp-cta { flex-direction: column; gap: 10px; }
  .tp-cta .tp-btn { width: 100%; }
  .tp-card-link { display: inline-block; padding: 8px 0; }

  /* chips become a single swipeable row instead of 5 wrapped lines */
  .tp-trust, .tp-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px !important; scrollbar-width: thin; margin-right: -16px; padding-right: 16px !important; }
  .tp-trust li, .tp-chips li { flex: 0 0 auto; white-space: nowrap; }

  .tp-glance { padding: 20px 16px; gap: 20px; }
  .tp-card { padding: 20px 18px; }
  .tp-tile { width: 44px; height: 44px; font-size: 17px; }
  .tp-answer { padding: 18px; }
  .tp-callout { padding: 18px; }
  .tp-checks li { padding: 12px 14px; gap: 10px; }
  .tp-steps li { padding: 18px 16px 18px 58px; }
  .tp-steps li::before { left: 14px; top: 16px; font-size: 22px; }
  .tp-form { padding: 20px 16px; }
  .tp-map { height: 260px; }
  .tp-band { min-height: 260px; }
  .tp-band-in { padding: 36px 16px; }
  .tp-faq summary { padding: 14px; font-size: 15px; }
  .tp-faq .tp-ans { padding: 2px 14px 14px; }
  .tp-trainer img { max-width: 320px; margin: 0 auto; }

  /* comparison table -> stacked cards (no sideways scrolling) */
  .tp-table-wrap { background: none; box-shadow: none; overflow: visible; }
  .tp-table-wrap table { min-width: 0; display: block; }
  .tp-table-wrap thead { display: none; }
  .tp-table-wrap tbody { display: grid; gap: 12px; }
  .tp-table-wrap tr { display: block; background: #fff; border-radius: 14px; box-shadow: var(--tp-shadow); padding: 12px 14px; }
  .tp-table-wrap td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; text-align: right; }
  .tp-table-wrap td::before { content: attr(data-label); flex: 0 0 38%; text-align: left; font-weight: 700; color: var(--tp-ink); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; padding-top: 3px; }
  .tp-table-wrap td:first-child { display: block; text-align: left; font-weight: 700; color: var(--tp-ink); border-bottom: 1px dashed #eee; padding-bottom: 8px; margin-bottom: 4px; }
  .tp-table-wrap td:first-child::before { content: none; }
}

@media (max-width: 380px) {
  .tp-page h1 { font-size: 24px; }
  .tp-btn { padding: 12px 14px; font-size: 14px; }
  .tp-eyebrow { letter-spacing: .1em; padding: 8px 14px; }
}

/* grid children must be allowed to shrink, otherwise nowrap chip rows push the whole page wider than the screen */
.tp-hero-grid > *, .tp-glance > *, .tp-local > *, .tp-form-grid > *, .tp-trainer > *, .tp-grid > * { min-width: 0; }
@media (max-width: 680px) { .tp-trust, .tp-chips { max-width: calc(100% + 16px); } }

/* hero headline: keep the keyword line prominent, the audience line a step smaller so it wraps less */
.tp-hero h1 .tp-hl { display: inline-block; font-size: .8em; line-height: 1.2; margin-top: 6px; }
