header {
  height: 480px;
  text-align: center;
  color: #fff;
  background: url(http://www.chipright.com/wp-content/uploads/2020/12/cr_banner_homepage.jpg) no-repeat center;
  background-size: cover;
  margin-bottom: 96px;
}
header > * {
  position: absolute;
  left: 0;
  right: 0;
}
header .mid-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: url(../img/cr_bg_titleheader.svg) no-repeat center;
  background-size: cover;
  padding: 24px;
  font-family: 'futura-pt';
  text-transform: uppercase;
}
header .mid-content i {
  color: #FFCA68;
  font-size: 36px;
}
header .mid-content i.fa-microchip {
  margin-left: 44px;
}
header .mid-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-top: 16px;
  line-height: 1;
}
header .mid-content h1:after {
  display: block;
  content: '';
  width: 47px;
  height: 3px;
  background: #1ABBEE;
  margin: 8px auto;
}
header .buttons {
  bottom: 105px;
}
header .btn {
  min-width: 270px;
}

.page-content {
  margin-bottom: 96px;
  padding: 0;
  font-size: 20px;
  line-height: 1.4;
}

.category {
  margin-bottom: 96px;
  padding: 0 24px;
}

.category h2 {
  position: relative;
  font: 700 36px/1 'futura-pt';
  color: #017BA1;
  text-transform: uppercase;
  letter-spacing: 3.6px;
  margin-bottom: 24px;
  padding: 12px 8px;
}
.category h2:after {
  position: absolute;
  top: 0;
  width: 15px;
  height: 100%;
  background: #FFCA68;
  left: -15px;
  content: '';
}

.category .community-photos {
  display: flex;
  flex-wrap: wrap;
}

.category .community-photos .photo {
  position: relative;
  display: block;
  width: 33.333333%;
  padding: 8px;
}

.category .community-photos .photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.category .community-photos .photo .photo-content {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  font-size: 18px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 12px;
  text-align: center;
}

.community-overlay .pop {
  max-width: 90%;
  width: auto;
  padding: 0;
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}

.community-overlay .pop .close {
  position: relative;
  text-align: right;
  z-index: 2;
}

.community-overlay .pop .close-btn {
  font-size: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  right: 16px;
  top: 16px;
}

.community-overlay .pop .content .photo img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: cover;
}

.community-overlay .pop .content .photo .photo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 24px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 24px;
  text-align: center;
}

@media all and (max-width: 1024px) {
  .category .community-photos .photo {
    width: 50%;
  }
  .community-overlay .pop .content .photo .photo-content {
    font-size: 18px;
  }
}

@media all and (max-width: 480px) {
  .category .community-photos .photo {
    width: 100%;
  }
}