.cfp-filters {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .cfp-filter-btn {
    background-color: #213D57;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #213D57;
    border-radius: 5px 5px 5px 5px;
    padding: 15px 30px 15px 30px;
  }
  
  .cfp-filter-btn:hover {
    background: #C6D1D8;
    color: #333333
  }
  
  .cfp-post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .cfp-post {
    box-shadow: 0px 16px 32px 0px rgba(194, 194, 194, 0.18);
    padding: 15px;
    transition: all 0.3s linear;
    margin-bottom: 50px;
    transition: all 0.8s cubic-bezier(0.39, 0.01, 0.36, 0.9);
    transform: translateY(-0px);
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
    background-color: #fff;
  }

  .cfp-post h4{
    font-family: Didact Gothic;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
  }

  .cfp-post p{
    font-family: Didact Gothic;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
  }

  .cfp-cat-link-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  background-color: #213D57;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cfp-cat-link-btn:hover {
  background-color: #C6D1D8;
  color: #213D57;
}

  /* Mobile: κουμπιά με 100% πλάτος */
@media (max-width: 767px) {
  .cfp-filter-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Tablet και άνω: κουμπιά με αυτόματο πλάτος και σε μία σειρά αν χωράνε */
@media (min-width: 768px) and (max-width: 1024px) {
  .cfp-filter-btn {
    flex: 1 1 calc(50% - 10px);
  }
}