/* ===========================
   Basis layout kaart + grid
   =========================== */

.trx-paf-filter-wrap .sc_portfolio_items {
  display: grid;
  gap: 32px;
}

/* Kaart zelf */
.trx-paf-filter-wrap .sc_portfolio_item {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  align-items: stretch;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* Links de afbeelding */
.trx-paf-filter-wrap .sc_portfolio_item .post_featured {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

.trx-paf-filter-wrap .sc_portfolio_item .post_featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rechts de content */
.trx-paf-filter-wrap .sc_portfolio_item .post_content_wrap {
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===========================
   Typografie / details
   =========================== */

.trx-paf-filter-wrap .post_meta {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b7280;
}

.trx-paf-filter-wrap .post_title {
  margin: 0 0 18px 0;
  font-size: 28px;
  line-height: 1.25;
  color: #0f172a;
}

.trx-paf-filter-wrap .post_title a {
  color: inherit;
  text-decoration: none;
}

/* Tekstblokken (Uitdaging / Oplossing / Resultaten) */
.trx-paf-filter-wrap .post_description_content {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

/* CTA-knop onderaan */
.trx-paf-filter-wrap .theme_button {
  align-self: flex-start;
  margin-top: 24px;
  background-color: #16a34a !important;
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trx-paf-filter-wrap .theme_button:hover {
  background-color: #156C2A !important;
}


.trx-paf-filter-wrap .theme_button .hover-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ===========================
   Resultaten-grid in de kaart
   =========================== */

.trx-paf-filter-wrap .results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  margin: 16px 0 20px 0;
}

.trx-paf-filter-wrap .result-item {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
}

.trx-paf-filter-wrap .result-item .icon {
  margin-right: 8px;
  font-size: 14px;
  color: #16a34a;
}

/* ===========================
   Quote-block in de kaart
   =========================== */

.trx-paf-filter-wrap .quote-box {
  margin-top: 12px;
  padding: 20px 24px;
  background: #f7f8fa;
  border-radius: 16px;
  border-left: 4px solid #2b5c85;
}

.trx-paf-filter-wrap .quote-icon {
  font-size: 20px;
  color: #2b5c85;
  margin-bottom: 8px;
}

.trx-paf-filter-wrap .quote-text {
  margin: 0 0 12px 0;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
}

.trx-paf-filter-wrap .quote-author {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* ===========================
   Filters (buttons bovenaan)
   =========================== */

.trx-paf-filters {
  margin-bottom: 24px;
}

.trx-paf-filters .trx-paf-filter {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 16px;
  cursor: pointer;
}

.trx-paf-filters .trx-paf-filter.active {
  background: #28a745;
  color: #ffffff;
  border-color: #28a745;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px) {
  .trx-paf-filter-wrap .sc_portfolio_item {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .trx-paf-filter-wrap .post_content_wrap {
    padding-left: 0;
    padding-top: 20px;
  }
}

@media (max-width: 768px){

  .post_content_wrap{
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .trx-paf-filter-wrap .quote-box{
    margin-top: 0px !important;
  }

}