.kerstendal-activiteiten-wrapper {
  width: 100%;
}

.kerstendal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pgafu-post-grid {
  overflow: hidden;
  border-radius: 25px;
  background: #f1f1f1;
  border: 1px solid #e1e8ed;
}

.pgafu-post-grid-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 250px;
  border-radius: 25px;
  background: #f1f1f1;
  text-decoration: none;
  color: inherit;
  padding: 18px 18px 0;
  box-sizing: border-box;
}

.pgafu-post-image-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 118px;
  padding: 8px 6px 20px;
  box-sizing: border-box;
}

.pgafu-post-image-bg img {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.kerstendal-no-image {
  font-size: 14px;
  color: #6b7280;
}

.kerstendal-card-title {
  width: calc(100% + 36px);
  margin: auto -18px 0;
  padding: 18px 16px 4px;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--theme-text-color, #1f2933);
  background: #fafafa;
  border-top: 1px solid #e6e6e6;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  font-weight: 700;
  box-sizing: border-box;
}

.pgafu-filter {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
}

.pgafu-filter li {
  flex: 1;
  list-style: none;
  text-align: center;
  min-width: 110px;
}

.pgafu-filter li a {
  display: block;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: var(--theme-button-background-initial-color, #0077b6) !important;
  color: var(--theme-button-text-initial-color, #ffffff) !important;
  border: var(--theme-button-border, none);
  box-shadow: var(--theme-button-box-shadow, none);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400 !important;
  line-height: 1.3;
  font-family: inherit;
}

.pgafu-active-filtr a,
.pgafu-filter li a:hover {
  background-color: var(--theme-button-background-hover-color, #012622) !important;
  color: var(--theme-button-text-hover-color, #ffffff) !important;
}

.pgafu-post-grid.is-hidden {
  display: none;
}

@media (max-width: 1280px) {
  .kerstendal-activiteiten-wrapper {
    padding-left: 14px;
    padding-right: 14px;
    box-sizing: border-box;
  }
}

@media (max-width: 1024px) {
  .kerstendal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .kerstendal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pgafu-post-grid-content {
    min-height: 220px;
  }

  .pgafu-filter li {
    flex: 0 0 calc(33.333% - 6px);
    min-width: 0;
  }

  .pgafu-filter li a {
    text-align: center;
    font-size: 15px;
    font-weight: 400 !important;
    padding: 8px 6px;
  }

  .kerstendal-card-title {
    font-size: 1.3rem;
    padding: 18px 16px 4px;
  }
}
