/* FLA deferred page CSS: fla-page-programs.css (from style.css L7745-8069) */
/* Extracted 1.6.58 for conditional enqueue. Soft-match preserved. */
/* ===== Training Programs soft-match (1.6.9) =====
   Soft-match live www post 29987: photo hero, Class Types / location chips,
   Woo product grid, ratings band. Intentional: no Elementor loop-grid,
   no class_location taxonomy. Preserve STG .shepherd-element.fla-stg-step
   and Woo replay CSS above.
*/
.fla-programs-page {
  display: block;
  width: 100%;
  background: #fff;
}

.fla-tp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 48px 20px;
  background-color: #080C33;
  background-image: url("/wp-content/themes/hello-elementor-fla/assets/small-hero-img-min.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: #fff;
}
.fla-tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #080C33;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.fla-tp-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.fla-tp-hero h1 {
  margin: 0;
  color: #fff !important;
  font-family: "Outfit", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: none;
}

.fla-tp-catalog {
  margin: 60px auto 80px;
  padding-left: 20px;
  padding-right: 20px;
}
.fla-tp-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
  margin: 0 0 40px;
}
.fla-tp-filter-block--types {
  flex: 1 1 60%;
  min-width: 260px;
}
.fla-tp-filter-block--locations {
  flex: 1 1 220px;
  max-width: 360px;
}
.fla-tp-filter-heading {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  color: #080C33;
}
.fla-tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fla-tp-chips li {
  margin: 0;
  padding: 0;
}
.fla-tp-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--fla-orange, #EC572C);
  border-radius: 10px;
  color: var(--fla-orange, #EC572C);
  background: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.fla-tp-chip:hover,
.fla-tp-chip:focus {
  background: var(--fla-orange, #EC572C);
  color: #fff;
  border-color: var(--fla-orange, #EC572C);
  text-decoration: none;
}
.fla-tp-chip--location {
  border-color: #165D95;
  color: #165D95;
}
.fla-tp-chip--location:hover,
.fla-tp-chip--location:focus {
  background: var(--fla-orange, #EC572C);
  border-color: var(--fla-orange, #EC572C);
  color: #fff;
}

.fla-tp-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 30px;
  margin: 0 0 28px !important;
  padding: 0 !important;
  list-style: none;
  width: 100%;
}
.fla-tp-products ul.products::before,
.fla-tp-products ul.products::after {
  display: none !important;
  content: none !important;
}
.fla-tp-products ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
.fla-tp-more {
  text-align: center;
  margin: 36px 0 0;
}
.fla-tp-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--fla-orange, #EC572C);
  color: #fff !important;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.fla-tp-more-link:hover {
  background: #DA4920;
  color: #fff !important;
  text-decoration: none;
}
.fla-tp-empty {
  text-align: center;
  color: #3a4654;
  font-size: 16px;
}

/* Ratings band on Training Programs (reuse home 1.6.6 pattern) */
.fla-programs-page .fla-ratings.fla-ratings--live,
.fla-tp-ratings.fla-ratings--live {
  position: relative;
  isolation: isolate;
  padding: 90px 0;
  margin: 40px 0 0;
  background-color: #003C6E;
  background-image: url("/wp-content/themes/hello-elementor-fla/assets/ratings/testimonials-img-min.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
.fla-programs-page .fla-ratings--live::before,
.fla-tp-ratings.fla-ratings--live::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #003C6E;
  opacity: 0.72;
  z-index: 0;
  pointer-events: none;
}
.fla-programs-page .fla-ratings-inner,
.fla-tp-ratings .fla-ratings-inner {
  position: relative;
  z-index: 1;
}
.fla-programs-page .fla-ratings-badges,
.fla-tp-ratings .fla-ratings-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin: 0 0 22px;
}
.fla-programs-page .fla-ratings-badges img,
.fla-tp-ratings .fla-ratings-badges img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.fla-programs-page .fla-ratings-heading-row,
.fla-tp-ratings .fla-ratings-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}
.fla-programs-page .fla-ratings--live h2,
.fla-tp-ratings.fla-ratings--live h2 {
  margin: 0;
  color: #fff !important;
  font-family: "Outfit", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}
.fla-programs-page .fla-ratings-cards,
.fla-tp-ratings .fla-ratings-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}
.fla-programs-page .fla-rating-card,
.fla-tp-ratings .fla-rating-card {
  background: #fff;
  color: #080C33;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.fla-programs-page .fla-rating-card h3,
.fla-tp-ratings .fla-rating-card h3 {
  margin: 0 0 10px;
  color: #080C33;
  font-size: 16px;
  font-weight: 700;
}
.fla-programs-page .fla-rating-card p,
.fla-tp-ratings .fla-rating-card p {
  margin: 0 0 14px;
  color: #3a4654;
  font-size: 14px;
  line-height: 1.5;
}
.fla-programs-page .fla-rating-meta,
.fla-tp-ratings .fla-rating-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fla-programs-page .fla-rating-stars,
.fla-tp-ratings .fla-rating-stars {
  color: #f5a623;
  letter-spacing: 1px;
}
.fla-programs-page .fla-ratings-sa,
.fla-tp-ratings .fla-ratings-sa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.fla-programs-page .fla-ratings-sa-link,
.fla-tp-ratings .fla-ratings-sa-link {
  margin: 0;
  text-align: center;
}
.fla-programs-page .fla-ratings-sa-link a,
.fla-tp-ratings .fla-ratings-sa-link a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

@media (max-width: 1280px) {
  .fla-tp-hero { min-height: 300px; }
  .fla-tp-catalog { margin-top: 40px; margin-bottom: 60px; }
  .fla-tp-filter-heading { font-size: 18px; }
  .fla-tp-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fla-programs-page .fla-ratings-cards,
  .fla-tp-ratings .fla-ratings-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fla-tp-catalog { margin-top: 30px; margin-bottom: 50px; }
  .fla-tp-filters { flex-direction: column; }
  .fla-tp-filter-block--locations { max-width: none; }
  .fla-tp-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .fla-tp-products ul.products { grid-template-columns: 1fr; gap: 24px; }
  .fla-programs-page .fla-ratings.fla-ratings--live,
  .fla-tp-ratings.fla-ratings--live { padding: 50px 0; }
  .fla-programs-page .fla-ratings-cards,
  .fla-tp-ratings .fla-ratings-cards { grid-template-columns: 1fr; }
}

