/* Dynamic Blog Display - minimal, Divi-friendly styles */
.dbd-wrap { width: 100%; }

.dbd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  align-items: center;
}

.dbd-filter-btn {
  appearance: none;
  border: 1px solid #d1d5db;
  color:#4B5563;
  background: transparent;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  font-size: 16px;
  font-weight:500;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}

.dbd-filter-btn:hover { transform: translateY(0px); }

.dbd-filter-btn.is-active {
    color: #ffffff;
  border-color: #917f2a;
  background: #917f2a;
}

.dbd-count { opacity: 0.75; }

.dbd-results { position: relative; }
.dbd-loading { opacity: 0.55; pointer-events: none; }

.dbd-featured { margin-bottom: 18px; }

/* Grid */
.dbd-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .dbd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Desktop: 3 columns (Divi breakpoint often 981px) */
@media (min-width: 1200px) {
  .dbd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Card */
.dbd-card {
  border: 0px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
  padding:0px 0px;
}

.dbd-card:hover {
  box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
  transform: translateY(-1.5px);
}

.dbd-image-link { display:block; text-decoration:none; }

.dbd-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.dbd-thumb--placeholder { background: rgba(0,0,0,0.06); }

.dbd-card-body {
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dbd-meta {
  font-size: 0.90em;
  opacity: 0.8;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.dbd-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.dbd-title:hover {
  color:#917f2a;
  text-decoration:underline;
}
.dbd-card.dbd-card--featured .dbd-title{
    font-size: 1.875rem;
        line-height: 2.25rem;
}

.dbd-card:hover .dbd-title{
    color:#917f2a;
}
.dbd-title a { text-decoration: none; }

.dbd-excerpt { margin:0; opacity:0.9; }

.dbd-actions { margin-top: 6px; }

/*.dbd-readmore {*/
/*  display: inline-block;*/
/*  padding: 8px 14px;*/
/*  border-radius: 8px;*/
/*  border: 1px solid rgba(0,0,0,0.14);*/
/*  text-decoration: none;*/
/*  font: inherit;*/
/*  transition: transform .08s ease, background .15s ease, border-color .15s ease;*/
/*}*/

.dbd-readmore{
    appearance: none;
  border: 1px solid #917f2a;
  color:#917f2a;
  background: transparent;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  font-weight:500;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.dbd-readmore:hover {
  transform: translateY(0px);
  /*border-color: rgba(0,0,0,0.30);*/
  /*background: rgba(0,0,0,0.03);*/
  color: #ffffff;
  border-color: #917f2a;
  background: #917f2a;
}

.dbd-empty {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 12px;
  opacity: 0.85;
}
