/* TAB NAV */
.dbs-tabs-nav {
  display: flex;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.dbs-tabs-nav li {
  margin-right: .5rem;
}
.dbs-tabs-nav a {
  display: inline-block;
  padding: .5em 1em;
  background: #eee;
  color: #333;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.dbs-tabs-nav a.active,
.dbs-tabs-nav a:hover {
  background: #0073aa;
  color: #fff;
}

/* TAB CONTENT PANES: always present in DOM, JS will show/hide */
.dbs-tab-content {
  margin-bottom: 2rem;
}

/* GRID: use CSS var --dbs-cols */
.dbs-grid {
  display: grid;
  grid-template-columns: repeat(var(--dbs-cols,1),1fr);
  gap: 1rem;
  grid-auto-rows: 1fr;
}

/* SINGLE POST CENTERING */
.dbs-grid.dbs-single {
  grid-template-columns: 1fr !important;
  justify-items: center;
}
.dbs-grid.dbs-single .dbs-post {
  max-width: 400px;
  width: 100%;
}

/* POST CARD */
.dbs-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  box-sizing: border-box;
  justify-self: center;
  max-width: 400px;
  width: 100%;
}
.dbs-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.dbs-post h2 {
  margin: .8rem 0;
  font-size: 1.2rem;
}
.dbs-excerpt {
  flex-grow: 1;
  margin-top: .5rem;
  color: #333;
}
/* remove default list bullets and spacing */
.dbs-tabs-nav {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* ensure each LI doesn’t pull in bullets */
.dbs-tabs-nav li {
  list-style: none;
}
