.drhq-dir { position: relative; }

.drhq-dir.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.drhq-filters {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 16px;
  border-radius: 12px;
  margin: 0 0 16px 0;
  background: #fff;
}

.drhq-filter-title {
  font-weight: 700;
  margin: 0 0 10px 0;
}

.drhq-filter-group {
  margin: 12px 0;
}

.drhq-filter-group-title {
  font-weight: 600;
  margin: 0 0 8px 0;
}

.drhq-filter-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.25;
}

.drhq-filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.drhq-dir-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 14px 0;
}

.drhq-dir-count {
  font-size: 1.25rem;
  font-weight: 500;
}

/* ===========================================
   CARDS GRID - 2 cols desktop/tablet, 1 mobile
   =========================================== */

.drhq-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .drhq-cards {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   CARD - Flexbox for button alignment
   =========================================== */

.drhq-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.drhq-card-head {
  flex-shrink: 0;
}

.drhq-card-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  line-height: 1.2;
}

.drhq-card-title a {
  text-decoration: none;
}

.drhq-card-sub {
  opacity: 0.8;
  font-size: 13px;
  margin-bottom: 10px;
}

.drhq-card-desc {
  flex: 1;
  margin: 0 0 12px 0;
  font-size: 14px;
  opacity: 0.9;
}

.drhq-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===========================================
   BUTTONS
   =========================================== */

.drhq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  padding: 10px 16px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
}

.drhq-btn-primary {
  background: #004066 !important;
  color: #fff !important;
}

.drhq-btn-primary:hover {
  background: #93ba33 !important;
  color: #fff !important;
}

.drhq-btn-ghost {
  background: transparent;
  border-color: rgba(0,0,0,0.15);
  color: inherit;
}

.drhq-btn-ghost:hover {
  background: rgba(0,0,0,0.05);
}

/* ===========================================
   PAGINATION
   =========================================== */

.drhq-pager {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0 0;
}

.drhq-page-status {
  font-size: 14px;
  opacity: 0.85;
}

.drhq-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  padding: 8px 16px;
  background: #004066 !important;
  color: #fff !important;
  border: none !important;
  font-size: 14px;
  cursor: pointer;
}

.drhq-page-btn:hover:not([disabled]) {
  background: #93ba33 !important;
}

.drhq-page-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  background: #ccc;
}

/* ===========================================
   EMPTY STATE
   =========================================== */

.drhq-empty {
  padding: 18px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
  text-align: center;
}

/* ===========================================
   GRID (categories, cities)
   =========================================== */

.drhq-grid {
  display: grid;
  gap: 14px;
}

.drhq-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .drhq-grid-2 {
    grid-template-columns: 1fr;
  }
}

.drhq-grid-item {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
}

.drhq-grid-item:hover {
  background: #f7f7f7;
}

.drhq-count {
  display: block;
  font-size: 13px;
  opacity: .75;
  margin-top: 4px;
}

/* ===========================================
   REVIEW STARS
   =========================================== */

.drhq-review-stars {
  color: #f5a623;
  font-size: 1.2em;
  letter-spacing: 2px;
}
