/* =========================
   GRID
========================= */

.posts-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ========================= FILTER PILLS ========================= */
.listing-description{
  margin-top:20px;
  max-width:860px;
}
.listing-description-down{
  margin-top:40px;
}
.listing-description-down p{
  font-family: var(--font-secondary);
}
.listing-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1.5px solid #eef2f1;

  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;

  color: var(--color-dark);
  background: #eef2f1;

  text-decoration: none;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

.filter-pill.is-active {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

/* =========================
   CARD
========================= */
.post-header-style-h2 h2{
  font-size:20px;
}
@media(min-width:1024px){
.post-header-style-h2 h2{
  font-size:30px;
}
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  /* transform: translateY(-4px); */
  box-shadow: 0 14px 34px rgba(18, 28, 45, 0.08);
  border-color: #e5e7eb;
}

.post-card__thumb {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  background: #dfe7ee;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.03);
}

.post-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 24px 20px;
}

/* TAG */

.post-card__terms {
  margin-bottom: 14px;
  display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.post-term {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef2f1;
  color: #1f3550;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
  font-family:var(--font-secondary);
}

/* .post-term:hover {
  background: #dfe9e7;
  color: var(--color-secondary);
} */

/* TITLE */

.post-card__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.post-card__title a {
  color: #0f2240;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-card__title a:hover {
  color: var(--color-secondary);
}

/* EXCERPT */

.post-card__excerpt {
  color: #64748b;
  /* font-size: 17px; */
  line-height: 1.55;
  margin-bottom: 18px;
}

/* FOOTER */

.post-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

.post-card__meta-sep {
  font-size: 13px;
  opacity: 0.9;
}

.post-card__arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.post-card__arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.75;
}

.post-card:hover .post-card__arrow {
  transform: translateX(2px);
}

.post-card:hover .post-card__arrow img {
  opacity: 1;
}

.posts-section--featured .posts-section__intro {
  margin-bottom: 24px;
}
.text-block__content{margin:0 !important;}
.featured-posts {
  width: 100%;
  margin-top:20px;
}

/* more-tags */


.is-hidden-tag {
    display: none;
}

.listing-filters.is-expanded .is-hidden-tag {
    display: inline-flex;
}

.filters-toggle-btn {
    margin-top: 10px;
    cursor: pointer;
  background:#cfdfff;
}
.filters-toggle-btn:hover{
  background:#cfdfff90;
  border:1px solid #cfdfff90;
  color:var(--color-dark);
}

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

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

  .post-card__content {
    padding: 16px 18px 18px;
  }

  .post-card__title {
    font-size: 23px;
  }

  .post-card__excerpt {
    font-size: 16px;
  }
}