.structural-racking-products {
  width: 100%;
  padding: 45px 0;
  background: #ffffff;
}

/* =========================================
   Heading
========================================= */

.structural-racking-products .structural-racking-title {
  margin: 0 0 35px;
  text-align: center;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  color: #050505;
}

.structural-racking-products .structural-racking-title span {
  color: #0aa4e8;
}

/* =========================================
   Grid
========================================= */

.structural-racking-products .structural-racking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 65px;
  row-gap: 45px;
}

/* =========================================
   Card
========================================= */

.structural-racking-products .structural-racking-card {
  width: 100%;
  display: flex;
  justify-content: center;
}

.structural-racking-products .structural-racking-image-wrap {
  position: relative;
  width: 100%;
  max-width: 265px;
  height: 235px;
  /* overflow: hidden; */
  clip-path: polygon(
    8% 7%,
    50% 0%,
    92% 7%,
    100% 50%,
    92% 93%,
    50% 100%,
    8% 93%,
    0% 50%
  );
  background: #eeeeee;
  transition: all 0.3s;
}

.structural-racking-products
  .structural-racking-card:hover
  .structural-racking-image-wrap {
  transform: scale(1.1);
}

.structural-racking-products .structural-racking-image-wrap img {
  object-fit: fill;
  width: 100%;
  height: 100%;
}

/* =========================================
   Black Label
========================================= */

.structural-racking-products .structural-racking-card-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-height: 72px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 15px;

  background: #000000;
  color: #ffffff;

  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;

  /* clip-path: polygon(3% 0,
            97% 0,
            100% 8%,
            100% 92%,
            97% 100%,
            3% 100%,
            0 92%,
            0 8%); */

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* =========================================
   Hover
========================================= */

.structural-racking-products
  .structural-racking-image-wrap:hover
  .structural-racking-card-title {
  /* background: #0aa4e8; */
}

/* =========================================
   Laptop
========================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .structural-racking-products .structural-racking-title {
    font-size: 32px;
  }

  .structural-racking-products .structural-racking-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
    row-gap: 35px;
  }

  .structural-racking-products .structural-racking-image-wrap {
    max-width: 220px;
    height: 205px;
  }

  .structural-racking-products .structural-racking-card-title {
    min-height: 65px;
    font-size: 13px;
  }
}

/* =========================================
   Tablet
========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {
  .structural-racking-products {
    padding-bottom: 40px;
  }

  .structural-racking-products .structural-racking-products .container {
    padding: 0 25px;
  }

  .structural-racking-products .structural-racking-title {
    font-size: 29px;
    margin-bottom: 30px;
  }

  .structural-racking-products .structural-racking-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 35px;
    row-gap: 35px;
  }

  .structural-racking-products .structural-racking-image-wrap {
    max-width: 300px;
    height: 230px;
  }

  .structural-racking-products .structural-racking-card-title {
    min-height: 68px;
  }
}

/* =========================================
   Mobile
========================================= */

@media (min-width: 576px) and (max-width: 767.98px) {
  .structural-racking-products {
    padding-bottom: 35px;
  }

  .structural-racking-products .structural-racking-products .container {
    padding: 0 18px;
  }

  .structural-racking-products .structural-racking-title {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 25px;
  }

  .structural-racking-products .structural-racking-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }

  .structural-racking-products .structural-racking-image-wrap {
    width: 100%;
    max-width: 360px;
    height: 250px;
  }

  .structural-racking-products .structural-racking-card-title {
    min-height: 65px;
    font-size: 14px;
  }
}

/* =========================================
   Small Mobile
========================================= */

@media (min-width: 0px) and (max-width: 575.98px) {
  .structural-racking-products .structural-racking-title {
    font-size: 22px;
  }

  .structural-racking-products .structural-racking-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 15px;
  }

  .structural-racking-products .structural-racking-image-wrap {
    max-width: 320px;
    height: 200px;
  }

  .structural-racking-products .structural-racking-card-title {
    min-height: 50px;
    padding: 10px 15px;
  }
}
