/* ==========================================================================
   training.pathful.com — customer Training hub
   Microsite-specific components. Built strictly on Pathful tokens and the
   existing site.css vocabulary; only patterns not already in site.css live here.
   ========================================================================== */

/* anchored sections clear the sticky 72px header when jumped to */
section[id] { scroll-margin-top: 92px; }

/* ---------- Training header lockup ------------------------------------- */
.train-lockup { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.train-lockup:hover { text-decoration: none; }
.train-lockup .nav__logo { display: block; }
.train-lockup__divider {
  width: 1.5px; height: 26px; border-radius: 2px; flex: 0 0 auto;
  background: var(--border-default);
}
.train-lockup__tag {
  font-family: var(--font-brand); font-weight: 700; font-size: 16px; line-height: 1;
  letter-spacing: -0.02em; color: var(--fg); white-space: nowrap;
  position: relative; top: 0.5px;
}
.train-lockup:hover .train-lockup__tag { color: var(--pf-sky-blue); }
.nav__back {
  font-size: 13.5px; font-weight: 500; color: var(--fg-subtle); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: var(--radius-pill);
  transition: background 160ms var(--ease-out-soft), color 160ms var(--ease-out-soft);
  white-space: nowrap;
}
.nav__back:hover { background: var(--bg-subtle); color: var(--fg); text-decoration: none; }
.nav__back svg { width: 13px; height: 13px; }
.train-header .nav { gap: 12px; }
.train-header .nav__actions { gap: 8px; }
.train-lockup { flex-shrink: 0; }
.train-header .nav__links { margin-left: 8px; gap: 2px; flex-shrink: 0; }
.train-header .nav__link { white-space: nowrap; padding-left: 9px; padding-right: 9px; font-size: 13px; }
@media (max-width: 1099px){ .train-header .nav__links { display: none; } }
@media (max-width: 760px){ .nav__back { display: none; } }

/* ---------- Hero ------------------------------------------------------- */
.hero--train { padding: 72px 0 84px; }
.hero--train .hero__grid { grid-template-columns: 1.02fr 0.98fr; gap: 52px; }
.hero--train .hero__dots { width: 560px; top: -300px; right: -330px; }
@media (max-width: 860px){
  .hero--train .hero__dots { width: 350px; top: -190px; right: -200px; opacity: 0.7; }
}
.hero__eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--pf-sky-blue);
}

/* "Next live session" featured card — the hero visual */
.tr-next {
  position: relative; z-index: 1; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden;
}
.tr-next__bar { height: 6px; background: var(--pf-gradient-brand); }
.tr-next__in { padding: 26px 28px 28px; }
.tr-next__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pf-grass-green); margin-bottom: 16px;
}
.tr-next__live { width: 8px; height: 8px; border-radius: 999px; background: var(--pf-hot-pink); box-shadow: 0 0 0 0 rgba(238,42,123,0.5); animation: trPulse 2s var(--ease-out-soft) infinite; }
@keyframes trPulse { 0%{ box-shadow: 0 0 0 0 rgba(238,42,123,0.45);} 70%{ box-shadow: 0 0 0 7px rgba(238,42,123,0);} 100%{ box-shadow: 0 0 0 0 rgba(238,42,123,0);} }
@media (prefers-reduced-motion: reduce){ .tr-next__live { animation: none; } }
.tr-next__when { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tr-next__date {
  width: 60px; height: 60px; border-radius: var(--radius-md); flex: 0 0 auto;
  background: var(--pf-sky-blue-tint-10); color: #007FA0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; line-height: 1;
}
.tr-next__date .m { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.tr-next__date .d { font-family: var(--font-brand); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-top: 3px; }
.tr-next__meta { font-size: 13.5px; color: var(--fg-subtle); }
.tr-next__meta b { color: var(--fg); font-weight: 600; }
.tr-next h3 { font-family: var(--font-brand); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.18; margin: 0 0 14px; }
.tr-next__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.tr-next__who { display: flex; align-items: center; gap: 10px; }
.tr-next__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pf-gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-brand); font-weight: 700; font-size: 13px; }
.tr-next__who .nm { font-size: 13px; font-weight: 600; color: var(--fg); }
.tr-next__who .rl { font-size: 12px; color: var(--fg-subtle); }

/* ---------- Hub routing tiles ------------------------------------------ */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-tile {
  position: relative; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 28px 26px 24px; box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 200ms var(--ease-out-soft), box-shadow 200ms var(--ease-out-soft);
}
a.hub-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; }
.hub-tile__top { position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--pf-sky-blue); }
.hub-tile__icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--pf-sky-blue-tint-10); color: var(--pf-sky-blue); margin-bottom: 16px;
}
.hub-tile__icon svg { width: 23px; height: 23px; stroke-width: 1.9; }
.hub-tile h3 { font-family: var(--font-brand); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin: 0 0 7px; }
.hub-tile p { font-size: 14px; line-height: 1.5; color: var(--fg-muted); margin: 0 0 14px; }
.hub-tile__count { margin-top: auto; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle); display: inline-flex; align-items: center; gap: 7px; }
.hub-tile__count svg { width: 14px; height: 14px; color: var(--pf-sky-blue); }
/* accent rotation */
.hub-tile.c-green .hub-tile__top { background: var(--pf-grass-green); }
.hub-tile.c-green .hub-tile__icon { background: var(--pf-grass-green-tint-10); color: var(--pf-grass-green); }
.hub-tile.c-green .hub-tile__count svg { color: var(--pf-grass-green); }
.hub-tile.c-violet .hub-tile__top { background: var(--pf-violet); }
.hub-tile.c-violet .hub-tile__icon { background: var(--pf-violet-tint-10); color: var(--pf-violet); }
.hub-tile.c-violet .hub-tile__count svg { color: var(--pf-violet); }
.hub-tile.c-apricot .hub-tile__top { background: var(--pf-apricot); }
.hub-tile.c-apricot .hub-tile__icon { background: var(--pf-apricot-tint-10); color: var(--pf-apricot); }
.hub-tile.c-apricot .hub-tile__count svg { color: var(--pf-apricot); }
.hub-tile.c-pink .hub-tile__top { background: var(--pf-hot-pink); }
.hub-tile.c-pink .hub-tile__icon { background: var(--pf-hot-pink-tint-10); color: #B41E5C; }
.hub-tile.c-pink .hub-tile__count svg { color: var(--pf-hot-pink); }
.hub-tile.c-teal .hub-tile__top { background: #1f9f86; }
.hub-tile.c-teal .hub-tile__icon { background: #E5F4F0; color: #157A65; }
.hub-tile.c-teal .hub-tile__count svg { color: #1f9f86; }
.hub-tile.c-lime .hub-tile__top { background: var(--pf-lime); }
.hub-tile.c-lime .hub-tile__icon { background: var(--pf-lime-tint-10); color: #5a8a16; }
.hub-tile.c-lime .hub-tile__count svg { color: #5a8a16; }
@media (max-width: 900px){ .hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .hub { grid-template-columns: 1fr; } }

/* ---------- Getting-started role tracks -------------------------------- */
.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.track {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 28px 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.track__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.track__badge {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: var(--pf-sky-blue-tint-10); color: var(--pf-sky-blue);
}
.track__badge svg { width: 22px; height: 22px; stroke-width: 1.9; }
.track:nth-child(2) .track__badge { background: var(--pf-grass-green-tint-10); color: var(--pf-grass-green); }
.track:nth-child(3) .track__badge { background: var(--pf-violet-tint-10); color: var(--pf-violet); }
.track:nth-child(4) .track__badge { background: var(--pf-apricot-tint-10); color: var(--pf-apricot); }
.track__role { font-family: var(--font-brand); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.track__meta { font-size: 12.5px; color: var(--fg-subtle); margin-top: 3px; }
.track__steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 0; }
.track__steps li {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  padding: 11px 0; border-top: 1px solid var(--border-subtle); font-size: 14.5px; color: var(--fg); line-height: 1.4;
}
.track__steps li:first-child { border-top: none; }
.track__n {
  width: 24px; height: 24px; border-radius: 50%; background: var(--bg-subtle); color: var(--fg-muted);
  font-family: var(--font-brand); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.track__steps li .lbl b { font-weight: 600; }
.track__steps li .dur { display: block; font-size: 12px; color: var(--fg-subtle); margin-top: 2px; }
.track__cta { margin-top: auto; }
@media (max-width: 820px){ .tracks { grid-template-columns: 1fr; } }

/* ---------- Webinar filters + cards ------------------------------------ */
.lib-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 26px; }
.lib-toolbar .lib-filter__label { margin: 0 4px 0 0; }
.webinars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.webinar {
  display: grid; grid-template-columns: 76px 1fr; gap: 20px; background: #fff;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 22px 24px;
  box-shadow: var(--shadow-sm); transition: transform 200ms var(--ease-out-soft), box-shadow 200ms var(--ease-out-soft);
}
.webinar:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.webinar[hidden] { display: none; }
.webinar__date {
  width: 76px; height: 76px; border-radius: var(--radius-md); background: var(--bg-subtle);
  border: 1px solid var(--border-subtle); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.webinar__date .m { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pf-sky-blue); }
.webinar__date .d { font-family: var(--font-brand); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; margin-top: 2px; color: var(--fg); }
.webinar__body { display: flex; flex-direction: column; }
.webinar__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.webinar h3 { font-family: var(--font-brand); font-weight: 700; font-size: 17.5px; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 8px; }
.webinar__line { font-size: 13px; color: var(--fg-subtle); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; }
.webinar__line span { display: inline-flex; align-items: center; gap: 5px; }
.webinar__line svg { width: 14px; height: 14px; color: var(--fg-subtle); }
.webinar__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.webinar__seats { font-size: 12px; color: var(--fg-subtle); }
.webinar__seats b { color: var(--pf-grass-green); font-weight: 700; }
@media (max-width: 900px){ .webinars { grid-template-columns: 1fr; } }
@media (max-width: 420px){ .webinar { grid-template-columns: 1fr; } .webinar__date { flex-direction: row; gap: 8px; width: auto; height: auto; padding: 8px 14px; align-self: flex-start; } .webinar__date .d { font-size: 20px; margin-top: 0; } }

/* ---------- On-demand library rows ------------------------------------- */
.ondemand { display: grid; gap: 12px; }
.od-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform 160ms var(--ease-out-soft), box-shadow 160ms var(--ease-out-soft), border-color 160ms;
}
a.od-row:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); border-color: var(--border-default); text-decoration: none; color: inherit; }
.od-row__play {
  width: 48px; height: 48px; border-radius: 11px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: var(--pf-sky-blue-tint-10); color: var(--pf-sky-blue);
}
.od-row:nth-child(3n+2) .od-row__play { background: var(--pf-violet-tint-10); color: var(--pf-violet); }
.od-row:nth-child(3n) .od-row__play { background: var(--pf-grass-green-tint-10); color: var(--pf-grass-green); }
.od-row__play svg { width: 20px; height: 20px; }
.od-row__main h4 { font-family: var(--font-brand); font-weight: 700; font-size: 15.5px; letter-spacing: -0.015em; margin: 0 0 4px; line-height: 1.3; }
.od-row__line { font-size: 12.5px; color: var(--fg-subtle); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.od-row__dur { font-size: 12.5px; font-weight: 700; color: var(--fg-muted); white-space: nowrap; }
@media (max-width: 560px){ .od-row { grid-template-columns: auto 1fr; } .od-row__dur { grid-column: 2; } }

/* ---------- Self-paced learning paths ---------------------------------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform 200ms var(--ease-out-soft), box-shadow 200ms var(--ease-out-soft);
}
a.path:hover { transform: translateY(-3px); box-shadow: 0 32px 60px -20px rgba(22,22,22,0.22); text-decoration: none; color: inherit; }
.path__art { height: 96px; background: var(--pf-gradient-brand); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px 20px; }
.path:nth-child(2) .path__art { background: var(--pf-gradient-violet-sky); }
.path:nth-child(3) .path__art { background: var(--pf-gradient-hot-pink-apricot); }
.path__art .lvl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: rgba(255,255,255,0.2); padding: 5px 11px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }
.path__art svg { position: absolute; right: -16px; top: -16px; width: 96px; height: 96px; color: rgba(255,255,255,0.22); }
.path__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.path__body h3 { font-family: var(--font-brand); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.22; margin: 0; }
.path__body p { font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }
.path__stat { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--fg-subtle); }
.path__stat span { display: inline-flex; align-items: center; gap: 6px; }
.path__stat svg { width: 14px; height: 14px; color: var(--pf-sky-blue); }
@media (max-width: 860px){ .paths { grid-template-columns: 1fr; } }

/* ---------- What's new / release training rail ------------------------- */
.whatsnew { display: grid; gap: 12px; }
.wn-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 18px 22px; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.wn-item__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pf-apricot); white-space: nowrap; }
.wn-item__main h4 { font-family: var(--font-brand); font-weight: 700; font-size: 15.5px; letter-spacing: -0.015em; margin: 0 0 3px; }
.wn-item__main p { font-size: 13px; color: var(--fg-muted); margin: 0; line-height: 1.45; }
.wn-item__cta { font-size: 13px; font-weight: 600; color: var(--pf-sky-blue); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.wn-item__cta svg { width: 14px; height: 14px; }
@media (max-width: 640px){ .wn-item { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Schedule custom training (booking widget) ------------------ */
.booking { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: start; }
.booking__copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.booking__copy li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--fg-muted); }
.booking__copy li svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--pf-grass-green); margin-top: 1px; }
.booking__copy li b { color: var(--fg); font-weight: 600; }
.booking-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.booking-card__head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-bottom: 1px solid var(--border-subtle); }
.booking-card__head .av { width: 42px; height: 42px; border-radius: 50%; background: var(--pf-gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-brand); font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.booking-card__head .ti { font-family: var(--font-brand); font-weight: 700; font-size: 16px; letter-spacing: -0.015em; }
.booking-card__head .su { font-size: 12.5px; color: var(--fg-subtle); margin-top: 2px; display: inline-flex; align-items: center; gap: 6px; }
.booking-card__head .su svg { width: 13px; height: 13px; }
.booking-grid { display: grid; grid-template-columns: 1.25fr 1fr; }
.cal { padding: 22px 24px; border-right: 1px solid var(--border-subtle); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__month { font-family: var(--font-brand); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-subtle); background: #fff; color: var(--fg-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 140ms, color 140ms; }
.cal__nav button:hover { background: var(--bg-subtle); color: var(--fg); }
.cal__nav svg { width: 15px; height: 15px; }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.cal__dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 0; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal__day {
  aspect-ratio: 1; border: none; background: none; border-radius: 9px; cursor: pointer;
  font-family: var(--font-system); font-size: 13.5px; font-weight: 600; color: var(--fg);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: background 140ms var(--ease-out-soft), color 140ms var(--ease-out-soft);
}
.cal__day.is-empty { pointer-events: none; }
.cal__day.is-disabled { color: var(--border-strong); pointer-events: none; }
.cal__day.is-avail { color: var(--pf-sky-blue); }
.cal__day.is-avail::after { content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--pf-sky-blue); }
.cal__day.is-avail:hover { background: var(--pf-sky-blue-tint-10); }
.cal__day.is-selected { background: var(--pf-sky-blue); color: #fff; }
.cal__day.is-selected::after { background: #fff; }
.cal__slots { padding: 22px 22px; display: flex; flex-direction: column; }
.cal__slots-label { font-size: 12px; font-weight: 700; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.cal__slots-day { font-family: var(--font-brand); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; margin-bottom: 16px; color: var(--fg); }
.cal__slots-list { display: grid; gap: 9px; }
.slot {
  width: 100%; padding: 11px 14px; border-radius: 9px; border: 1.5px solid var(--border-default);
  background: #fff; color: var(--pf-sky-blue); font-family: var(--font-system); font-weight: 600; font-size: 14px;
  cursor: pointer; text-align: center; transition: all 140ms var(--ease-out-soft);
}
.slot:hover { border-color: var(--pf-sky-blue); background: var(--pf-sky-blue-tint-10); }
.slot.is-selected { background: var(--pf-sky-blue); border-color: var(--pf-sky-blue); color: #fff; }
.cal__confirm { margin-top: auto; padding-top: 16px; }
.cal__confirm .btn { width: 100%; }
@media (max-width: 880px){ .booking { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px){ .booking-grid { grid-template-columns: 1fr; } .cal { border-right: none; border-bottom: 1px solid var(--border-subtle); } }

/* ---------- Certifications & badges ------------------------------------ */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-card { text-align: center; background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 34px 28px 30px; box-shadow: var(--shadow-sm); }
.cert-medal {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  background: var(--pf-grass-green-tint-10); color: var(--pf-grass-green); position: relative;
}
.cert-medal::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed currentColor; opacity: 0.3; }
.cert-card:nth-child(2) .cert-medal { background: var(--pf-sky-blue-tint-10); color: var(--pf-sky-blue); }
.cert-card:nth-child(3) .cert-medal { background: var(--pf-violet-tint-10); color: var(--pf-violet); }
.cert-medal svg { width: 36px; height: 36px; stroke-width: 1.7; }
.cert-card .lvl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-subtle); margin-bottom: 8px; }
.cert-card h3 { font-family: var(--font-brand); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; }
.cert-card p { font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }
@media (max-width: 820px){ .certs { grid-template-columns: 1fr; } }

/* ---------- Documentation / help center -------------------------------- */
.docsearch { max-width: 640px; margin: 0 auto 36px; position: relative; }
.docsearch svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--fg-subtle); pointer-events: none; }
.docsearch input {
  width: 100%; padding: 16px 20px 16px 52px; border-radius: var(--radius-pill); border: 1.5px solid var(--border-default);
  background: #fff; font-family: var(--font-system); font-size: 15.5px; color: var(--fg); box-shadow: var(--shadow-sm);
  transition: border-color 160ms, box-shadow 160ms;
}
.docsearch input::placeholder { color: var(--fg-subtle); }
.docsearch input:focus { outline: none; border-color: var(--pf-sky-blue); box-shadow: var(--shadow-focus); }
.doc-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc-cat {
  background: var(--bg-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 22px 22px; text-decoration: none; color: inherit; transition: background 160ms, border-color 160ms;
}
.doc-cat:hover { background: var(--pf-sky-blue-tint-10); border-color: var(--pf-sky-blue-tint-20); text-decoration: none; color: inherit; }
.doc-cat__icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--pf-sky-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.doc-cat__icon svg { width: 19px; height: 19px; stroke-width: 1.9; }
.doc-cat h4 { font-family: var(--font-brand); font-weight: 700; font-size: 15.5px; letter-spacing: -0.015em; margin: 0 0 5px; }
.doc-cat p { font-size: 12.5px; color: var(--fg-subtle); margin: 0; line-height: 1.4; }
.doc-cat__n { display: block; font-size: 12px; font-weight: 700; color: var(--pf-sky-blue); margin-top: 12px; }
@media (max-width: 900px){ .doc-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .doc-cats { grid-template-columns: 1fr; } }
.doc-popular { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; max-width: 880px; margin-left: auto; margin-right: auto; }
.doc-pop-link { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-top: 1px solid var(--border-subtle); font-size: 14.5px; color: var(--fg); text-decoration: none; transition: color 140ms; }
.doc-pop-link:hover { color: var(--pf-sky-blue); text-decoration: none; }
.doc-pop-link svg { width: 16px; height: 16px; color: var(--fg-subtle); flex: 0 0 auto; }
.doc-pop-link:hover svg { color: var(--pf-sky-blue); }
@media (max-width: 640px){ .doc-popular { grid-template-columns: 1fr; gap: 0 0; } }

/* ---------- Training-portal callout band ------------------------------- */
.portal-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--bg-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 34px 40px; }
.portal-band__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pf-sky-blue); margin-bottom: 8px; }
.portal-band h3 { font-family: var(--font-brand); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; margin: 0 0 6px; }
.portal-band p { font-size: 15px; color: var(--fg-muted); margin: 0; max-width: 46em; }
.portal-band__actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 760px){ .portal-band { grid-template-columns: 1fr; gap: 20px; } .portal-band__actions { flex-wrap: wrap; } }

/* ---------- Training catalog (new format-based taxonomy) --------------- */
.cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 200ms var(--ease-out-soft), box-shadow 200ms var(--ease-out-soft);
}
a.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; }
.cat-card[hidden] { display: none; }
.cat-card__top { height: 6px; background: var(--pf-gradient-brand); }
.cat-card[data-format="ondemand"] .cat-card__top { background: var(--pf-gradient-violet-sky); }
.cat-card[data-format="guided"] .cat-card__top { background: var(--pf-gradient-hot-pink-apricot); }
.cat-card__body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-card__format { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pf-grass-green); }
.cat-card[data-format="ondemand"] .cat-card__format { color: var(--pf-violet); }
.cat-card[data-format="guided"] .cat-card__format { color: var(--pf-apricot); }
.cat-card h3 { font-family: var(--font-brand); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.cat-card p { font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 0; }
.cat-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.cat-card__more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--pf-sky-blue); display: inline-flex; align-items: center; gap: 6px; }
.cat-card__more svg { width: 15px; height: 15px; }
@media (max-width: 900px){ .cat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .cat { grid-template-columns: 1fr; } }

/* two-column recordings list (Power-Up past sessions) */
.ondemand--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px){ .ondemand--2 { grid-template-columns: 1fr; } }

/* two-column catalog grid (Summer Send-Off sessions) */
.cat--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px){ .cat--2 { grid-template-columns: 1fr; } }
.ssf-slot { margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--fg-subtle); display: inline-flex; align-items: center; gap: 7px; }
.ssf-slot svg { width: 14px; height: 14px; }
.ssf-slot--link { display: flex; color: var(--pf-sky-blue); text-decoration: none; transition: color 140ms var(--ease-out-soft); }
.ssf-slot--link svg { color: var(--pf-sky-blue); }
.ssf-slot--link:hover { text-decoration: underline; color: var(--pf-sky-blue); }
.cat-card__body .ssf-slot--link:first-of-type { margin-top: 16px; }
.cat-card__outcome { font-size: 13px; color: var(--fg); }
.cat-card__outcome b { font-weight: 600; }

/* ---------- Jobready training section ---------------------------------- */
.jr-band {
  background: #fff; border: 1px solid var(--border-subtle); border-top: 4px solid var(--pf-apricot);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 38px 40px;
}
.jr-band__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.jr-solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.jr-sol { border-radius: var(--radius-md); padding: 28px 30px; }
.jr-sol--wbl { background: #fff; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); border-top: 4px solid var(--pf-apricot); }
.jr-sol--cte { background: var(--pf-black); color: #fff; box-shadow: var(--shadow-lg); }
.jr-sol__role { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pf-apricot); margin: 10px 0 12px; }
.jr-sol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jr-sol li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--fg); }
.jr-sol li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; stroke: var(--pf-apricot); }

.jr-spaces { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.jr-spaces--single { grid-template-columns: 1fr; max-width: 560px; }
.jr-spaces--single .jr-space { text-align: left; }
.jr-spaces--single .jr-space > p { margin-bottom: 22px; }
.jr-space { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 30px 32px; }
.jr-space__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pf-apricot); }
.jr-space h3 { font-family: var(--font-brand); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin: 10px 0 8px; }
.jr-space > p { font-size: 14.5px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 18px; }
.jr-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 0; }
.jr-list li {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 0; border-top: 1px solid var(--border-subtle); font-size: 14.5px; color: var(--fg); line-height: 1.4;
}
.jr-list li:first-child { border-top: none; }
.jr-list__tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: #C26F0F; background: var(--pf-apricot-tint-10); border-radius: var(--radius-pill);
  padding: 3px 9px; flex: 0 0 auto;
}
.jr-list li .ssf-slot { margin-top: 0; margin-left: auto; }
.jr-note { font-size: 12.5px; color: var(--fg-subtle); margin: 0; font-style: italic; }
@media (max-width: 820px){ .jr-solutions, .jr-spaces { grid-template-columns: 1fr; } }

/* recommended-programs list inside a role track (no fabricated durations) */
.track__recs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 0; }
.track__recs li {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--border-subtle); font-size: 14.5px; color: var(--fg); line-height: 1.4;
}
.track__recs li:first-child { border-top: none; }
.track__recs li b { font-weight: 600; }
.track__recs.single li { grid-template-columns: 1fr; padding: 0; border-top: none; }
.track__recs li .lbl a { color: var(--pf-sky-blue); font-weight: inherit; }
.track__recs li .lbl em { color: var(--fg-subtle); font-style: italic; }
