/* General styles for postblock-item */
.postblock-item {
  width: 100%;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.05),
              0px 1px 2px 0px rgba(79, 161, 219, 0.05);
}

/* Category position */
.postblock-item-category {
  top: -20px;
}

/* Software article styles */
.software-article .postblock-item-image img {
  height: auto;
  max-height: 447px;
  width: 100%;
  object-fit: cover;
}
.software-article .postblock-item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  padding-top: 35px;
  background: rgba(255, 255, 255);
  height: 230px;
}
@media (max-width: 1230px) {
  .software-article .postblock-item-content {
    height: auto;
  }
}

/* Backstage article styles */
.backstage-article .postblock-item-image img {
  height: auto;
  width: 100%;
  object-fit: cover;
}
.backstage-article .postblock-item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255);
}

/* Projects article styles */
.projects-article .postblock-item-image img,
.projekte-article .postblock-item-image img {
  height: auto;
  width: 100%;
  object-fit: cover;
}
/* .projects-article .postblock-item-title h6,
.projekte-article .postblock-item-title h6 {
  padding-bottom: 3rem;
} */
.projects-article .postblock-item-content,
.projekte-article .postblock-item-content {
  height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255);
}

/* Trends article styles */
.trends-article {
  position: relative;
}
.trends-article .postblock-item-image {
  position: relative;
  height: 596px;
}
.trends-article .postblock-item-image img {
  width: 100%;
  height: 596px;
  object-fit: cover;
}
.trends-article .postblock-item-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 88.31%);
  z-index: 1;
}
.trends-article .postblock-item-content {
  position: absolute;
  bottom: 0;
  padding: 1.5rem;
  z-index: 2;
  color: white;
}

/* Category specific styles */
.category .sort-span {
  @media (max-width: 768px) {
    display: none;
  }
}
.category .postblock-item-category {
  display: none;
}
.category .filters {
  display: flex;
  flex-direction: row;
}

/* Column 1 styles */
.category .col-1 .software-article,
.category .col-1 .projects-article,
.category .col-1 .projekte-article,
.category .col-1 .backstage-article {
  article {
    display: flex;
    flex-direction: row;
    height: 460px;
  }
  .postblock-item-content {
    flex: 1;
    height: 100%;
    padding: 40px;
  }
  .postblock-item-content h6 {
    font-size: 36px;
    line-height: 48px;
  }
  .postblock-item-image {
    flex: 2.5;
    height: 100%;
  }
  .postblock-item-image img {
    height: 100%;
    max-height: unset;
  }
}
@media (max-width: 1024px) {
  .category .col-1 .software-article article,
  .category .col-1 .projects-article article,
  .category .col-1 .projekte-article article,
  .category .col-1 .backstage-article article {
    flex-direction: column;
    height: auto;
  }
}

/* Column 2 styles */
.category .col-2 .software-article .postblock-item-content,
.category .col-2 .projects-article .postblock-item-content,
.category .col-2 .projekte-article .postblock-item-content,
.category .col-2 .backstage-article .postblock-item-content {
  height: 230px;
  padding: 32px;
}
@media (max-width: 1024px) {
  .category .col-2 .software-article .postblock-item-content,
  .category .col-2 .projects-article .postblock-item-content,
  .category .col-2 .backstage-article .postblock-item-content {
    height: 153px;
  }
}
.category .col-2 .software-article .postblock-item-image img,
.category .col-2 .projects-article .postblock-item-image img,
.category .col-2 .projekte-article .postblock-item-image img,
.category .col-2 .backstage-article .postblock-item-image img {
  height: 335px;
  max-height: unset;
}
@media (max-width: 1024px) {
  .category .col-2 .software-article .postblock-item-image img,
  .category .col-2 .projects-article .postblock-item-image img,
  .category .col-2 .projekte-article .postblock-item-image img,
  .category .col-2 .backstage-article .postblock-item-image img {
    height: 197px;
  }
}

/* Column 3 styles */
.category .col-3 .software-article .postblock-item-content,
.category .col-3 .projects-article .postblock-item-content,
.category .col-3 .projekte-article .postblock-item-content,
.category .col-3 .backstage-article .postblock-item-content {
  height: 205px;
  padding: 24px;
}
@media (max-width: 1024px) {
  .category .col-3 .software-article .postblock-item-content,
  .category .col-3 .projects-article .postblock-item-content,
  .category .col-3 .projekte-article .postblock-item-content,
  .category .col-3 .backstage-article .postblock-item-content {
    height: 153px;
  }
}
.category .col-3 .software-article .postblock-item-image img,
.category .col-3 .projects-article .postblock-item-image img,
.category .col-3 .projekte-article .postblock-item-image img,
.category .col-3 .backstage-article .postblock-item-image img {
  height: 219px;
  max-height: unset;
}
@media (max-width: 1024px) {
  .category .col-3 .software-article .postblock-item-image img,
  .category .col-3 .projects-article .postblock-item-image img,
  .category .col-3 .projekte-article .postblock-item-image img,
  .category .col-3 .backstage-article .postblock-item-image img {
    height: 197px;
  }
}
.category .col-3 .trends-article .postblock-item-image {
  height: 390px;
}
.category .col-3 .trends-article .postblock-item-image img {
  height: 390px;
}