
/* =========================================================
   ONE MAN CQB / CFC STYLE - WHY TRAIN WITH BZ ACADEMY
   Self-contained Raw HTML version
   ========================================================= */

.cfc-why,
.cfc-why * {
  box-sizing: border-box;
}

.cfc-why {
  width: 100%;
  padding: 76px 0 82px;
  background: #f4f4f4;
  overflow: hidden;
}

.cfc-why__inner {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Heading */

.cfc-section-heading--why {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 38px;
  text-align: center;
}

.cfc-section-heading--why .cfc-section-heading__line {
  flex: 0 0 115px;
  height: 1px;
  background: rgba(225, 38, 28, 0.45);
}

.cfc-section-heading--why h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #111111;
}

.cfc-section-heading--why h2 span {
  color: #e1261c;
}

/* Grid */

.cfc-why__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

/* Card */

.cfc-why-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.13);
  min-height: 282px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cfc-why-card__image {
  width: 100%;
  height: 132px;
  overflow: hidden;
  background: #111111;
}

.cfc-why-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none;
  opacity: 1;
}

.cfc-why-card__body {
  position: relative;
  padding: 20px 18px 22px;
  text-align: center;
  flex: 1;
}

/* Red small line between image and text */

.cfc-why-card__body::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #e1261c;
  margin: -22px auto 16px;
  position: relative;
  z-index: 2;
}

.cfc-why-card__body h3 {
  margin: 0 0 12px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #111111;
}

.cfc-why-card__body p {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(0,0,0,0.68);
}

/* Tablet */

@media (max-width: 1199px) {
  .cfc-why__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cfc-why-card {
    min-height: 300px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .cfc-why {
    padding: 56px 0 62px;
  }

  .cfc-section-heading--why {
    gap: 12px;
    margin-bottom: 30px;
  }

  .cfc-section-heading--why .cfc-section-heading__line {
    flex-basis: 42px;
  }

  .cfc-section-heading--why h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .cfc-why__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cfc-why-card {
    min-height: auto;
  }

  .cfc-why-card__image {
    height: 190px;
  }
}
