#grid-personal .elementor-grid {
  grid-template-columns: repeat(3, minmax(0, 250px));
  justify-content: center;
  gap: 65px;
}

#grid-personal .elementor-grid:has(> .personal-trainer:nth-of-type(1):last-of-type),
#grid-personal .elementor-grid:has(> .personal-trainer:nth-of-type(2):last-of-type),
#grid-personal .elementor-grid:has(> .personal-trainer:nth-of-type(4):last-of-type),
#grid-personal .elementor-grid:has(> .personal-trainer:nth-of-type(5):last-of-type) {
  grid-template-columns: repeat(2, minmax(0, 250px)) !important;
  justify-content: center;
}


div#trainers-page:before {
    content: '';
    position: absolute;
    display: block;
    background: url(../images/BG_gradientTop.webp);
    width: 100%;
    min-height: 100%;
    top: -78px;
    z-index: -2;
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: top;
}


div#trainers-page:after {
    content: '';
    position: absolute;
    display: block;
    background: url(../images/BG_gradientBottom.webp);
    width: 100%;
    min-height: 100%;
    bottom: 0px;
    z-index: -2;
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: bottom;
}
