
.post-grid.grid-alternate {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 1.375rem;
    padding: 7.3125rem 3rem;
    background-color: var(--light-secondary);
}

.post-grid.grid-alternate .post-card {
    width: 100%; 
}

.post-grid.grid-alternate .post-card:nth-child(5n+1),
.post-grid.grid-alternate .post-card:nth-child(5n+2) {
    grid-column: span 3;
}

.post-grid.grid-alternate .post-card:nth-child(5n+3),
.post-grid.grid-alternate .post-card:nth-child(5n+4),
.post-grid.grid-alternate .post-card:nth-child(5n+5) {
    grid-column: span 2;
}

.post-block .post-container .post-card {
  display: flex;
  flex-direction: column;
	text-decoration: none;
	color: var(--brand-text);
}

.post-block .post-container .post-thumbnail {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 25.5rem;
}

.post-block .post-container .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-block .post-container .post-card:hover img {
  transform: scale(1.05);
}

.post-block .post-container .card-overlay-top {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  gap:0.5rem;
  align-items: center;
}

.post-block .post-container .status-badge {
  background: var(--light-secondary);
  padding: 0.75rem 1.6875rem;
  border-radius: 3.125rem;
  font-size: 1.25rem;
  font-weight: 300;
  text-transform: uppercase;
}

.post-block .post-container .specs-pill {
  display: flex;
  align-items: center;
  gap: 1.3125rem; 
  background: var(--light-secondary);
  border-radius: 3.125rem;
}

.post-block .post-container .spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; 
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--dark);
}

.post-block .post-container .spec-item svg {
  display: block;
  stroke: var(--dark);
}

.post-block .post-container .post-name {
  font-size: 2.25rem;
  padding: 1.5rem 0 2.5rem 0;
  font-family: "Mingolia Display";
  font-weight: 400;
}

.post-block .post-container .post-category {
  font-size: 1rem;
  padding: 2.5rem 0 0rem 0;
  color: var(--dark-secondary);
  font-weight: 500;
}

.post-block .post-container .post-description {
  font-size: 1.25rem;
  font-weight: 400;
  padding-bottom: 2.0625rem;
}

.post-block .post-container .post-thumbnail {
    position: relative;
}


.post-block .post-container .card-overlay-top {
  z-index: 2;
}

.post-block .post-container .load-more-wrapper {
    display: none;
    justify-content: center;
    padding: 7.4375rem 1.375rem 4.375rem 1.375rem;
    background-color: var(--light-secondary);
}
.post-block .post-container .load-more-wrapper .button-load-more{
  width: 100%;
  text-transform: none;
}

.post-block .post-container .post-category-filter{
    display: flex;
    align-items: center;
    gap: 3.125rem;
    padding: 4rem 3.3125rem 4rem 3.3125rem;
}

.post-block .post-container .post-category-filter p {
    white-space: nowrap;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--dark-secondary);
}

.post-block .post-container .category-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    width: 100%;
}

.post-block .post-container .category-scroll-wrapper::-webkit-scrollbar {
    display: none; 
}

.post-block .post-container .category-list {
    display: flex;
    gap: 2rem;
}

.post-block .post-container .category-pill {
  white-space: nowrap;
  padding: 0.75rem 1.6875rem;
  border-radius: 3.125rem;
  border: 1px solid var(--dark);
  background-color: var(--light-secondary);
  font-size: 1.25rem;
  font-weight: 300;
  cursor: pointer;
  transition:.3s;
}

.post-block .post-container .category-pill:hover {
  background-color: var(--dark);
  color: #fff;
}

.post-block .post-container .category-pill.active {
  background-color: var(--dark);
  color: #fff;
}

@media (max-width: 767px) {
  .post-block .post-container .post-container{
    padding-top: 0;
  }

  .post-block .post-container .post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.375rem;
    padding: 5.3125rem 1.375rem 5.3125rem 1.375rem;
  }

  .post-grid.grid-alternate .post-card:nth-child(n) {
    grid-column: span 1;
  }

  .post-block .post-container .status-badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
    
  .post-block .post-container .spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dark);
  }
  .post-block .post-container .post-thumbnail {
    height: 25.4375rem;
    width: 21.9375rem;
  }
  .post-block .post-container .post-name {
    font-size: 2.125rem;
    padding: 2.625rem 0 1.875rem 0;
  }
  
  .post-block .post-container .post-category-filter {
    flex-direction: column;
    align-items: flex-start;
    gap:1.25rem;
    padding: 5.5rem 0rem 2.125rem 1.25rem;
  }

  .post-block .post-container .load-more-wrapper {
      display: flex;
  }

  .post-block .post-container .post-grid.grid-alternate .post-card:nth-child(n+3) {
    display: none;
  }

  .post-block .post-container .post-grid.show-all .post-card {
    display: flex !important;
  }
    
  .post-block .post-container .load-more-wrapper.is-hidden {
    display: none;
  }

}

