/* Training page: original content and proportions, without Wix animation hooks. */
@font-face {
  font-family: "Nadhifu Heading Fallback";
  src: local("Segoe UI Bold"), local("Arial Bold"), local("Liberation Sans Bold");
  font-weight: 400;
  font-display: swap;
}
body.training-page #PAGES_CONTAINER :is(#comp-mm03oihd, #comp-mm03vut2) {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  left: 0;
  box-sizing: border-box;
}
.training-hero {
  isolation: isolate;
  min-height: 452px;
  padding: 145px 24px 100px;
  background: #171923;
  color: #fff;
  text-align: center;
}
.training-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.training-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(60deg, rgb(10 10 10 / 80%) 30%, rgb(0 0 0 / 65%) 100%);
}
.training-hero h1 {
  max-width: 680px;
  margin: 0 auto 22px;
  font: 400 60px/1 wf_2bcde8366d284b43838b5d9c5, "Nadhifu Heading Fallback", "Segoe UI", Arial, sans-serif;
}
.training-hero h1 span { display: block; }
.training-hero-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0;
  font: 400 16px/1.4 wf_056b0e780fbb4e609d5cfb920, Arial, sans-serif;
  letter-spacing: .2em;
}
.training-hero-caption::before { content: ""; width: 55px; height: 1px; background: currentColor; }
.training-programs { padding: 71px 24px 90px; background: #fff; color: #0a0a0a; }
.training-intro {
  max-width: 980px;
  margin: 0 auto 69px;
  text-align: center;
  font: 400 16px/1.4 wf_056b0e780fbb4e609d5cfb920, "Segoe UI", Arial, sans-serif;
}
.training-intro p { margin: 0; }
.training-intro p + p { margin-top: 1.4em; }
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1064px;
  margin: 0 auto;
}
.training-card { display: flex; flex-direction: column; min-width: 0; }
.training-card-image {
  display: block;
  width: 100%;
  height: 261px;
  margin-bottom: 31px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}
.training-card h2 {
  max-width: 269px;
  min-height: 60px;
  margin: 0 0 23px;
  font: 400 20px/1 wf_2bcde8366d284b43838b5d9c5, "Nadhifu Heading Fallback", "Segoe UI", Arial, sans-serif;
}
.training-card p {
  flex: 1;
  max-width: 333px;
  margin: 0 0 19px;
  font: 400 16px/1.4 wf_056b0e780fbb4e609d5cfb920, "Segoe UI", Arial, sans-serif;
}
.training-card-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.training-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 286px;
  max-width: 100%;
  min-height: 51px;
  padding: 12px 18px;
  box-sizing: border-box;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font: 400 16px/1.4 wf_056b0e780fbb4e609d5cfb920, Arial, sans-serif;
  letter-spacing: .1em;
  transition: background-color .2s ease;
}
.training-download { background: #006600; }
.training-book { background: #fc0505; }
.training-download:hover { background: #fc0505; }
.training-book:hover { background: #006600; }
.training-button svg { display: block; flex-shrink: 0; width: 18px; height: 18px; fill: currentColor; }
.training-book svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .training-hero { min-height: 370px; padding: 110px 24px 90px; }
  .training-hero h1 { font-size: clamp(36px, 6vw, 54px); }
  .training-card-image { height: auto; aspect-ratio: 340 / 261; }
  .training-grid { gap: 24px; }
  .training-card h2 { line-height: 1.2; min-height: 72px; }
  .training-button { font-size: 14px; padding: 12px; letter-spacing: .05em; }
}
@media (max-width: 740px) {
  .training-hero { min-height: 300px; padding: 86px 20px; }
  .training-hero h1 { font-size: clamp(28px, 6.5vw, 44px); line-height: 1.1; }
  .training-hero-caption { font-size: 13px; }
  .training-programs { padding: 48px 24px 64px; }
  .training-intro { margin-bottom: 40px; line-height: 1.6; }
  .training-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; gap: 48px; }
  .training-card-image { margin-bottom: 24px; }
  .training-card h2 { max-width: none; min-height: 0; margin-bottom: 18px; font-size: 23px; }
  .training-card p { max-width: none; line-height: 1.6; margin-bottom: 24px; }
  .training-button { width: 100%; font-size: 16px; }
  .training-card-actions { gap: 14px; }
}
