.tda-bib-wrap {
  width: 100%;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  color: #222;
  line-height: 1.2;
}

.filter-btn:hover {
  background: #f2f2f2;
}

.filter-btn.active {
  background: #222;
  color: #fff;
  border-color: #222;
}

.filter-select {
  display: none;
}

@media (max-width: 768px) {
  .filter-bar {
    display: none;
  }
  .filter-select {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 24px;
  }
}

.tda-bib-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tda-bib-post {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.tda-bib-post-content {
  flex: 1 1 auto;
}

.tda-bib-post-content p {
  margin: 0;
}

.tda-bib-post-download {
  flex: 0 0 auto;
}

.tda-bib-post-download img {
  display: block;
}
