.bqh-home {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  color: #173830;
}

.bqh-hero {
  background: linear-gradient(135deg, #edf9f3 0%, #f9fcfb 55%, #e3f6ef 100%);
  border: 1px solid #d9eee5;
  border-radius: 24px;
  padding: 56px 32px;
  margin-bottom: 56px;
}

.bqh-kicker {
  margin: 0 0 12px;
  color: #178a6b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.bqh-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.15;
  margin: 0;
  color: #123c31;
}

.bqh-lead {
  max-width: 760px;
  line-height: 1.9;
  color: #546963;
  margin-top: 18px;
  margin-bottom: 24px;
}

.bqh-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bqh-search input[type="search"] {
  flex: 1 1 320px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #bddccf;
  background: #fff;
}

.bqh-search button {
  padding: 14px 20px;
  border: 0;
  border-radius: 12px;
  background: #157d61;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.bqh-section {
  margin: 56px 0;
}

.bqh-section-title span {
  font-size: 12px;
  font-weight: 700;
  color: #178a6b;
  letter-spacing: .16em;
}

.bqh-section-title h2 {
  margin: 8px 0 22px;
  font-size: 30px;
  color: #173830;
}

.bqh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bqh-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #deebe6;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(17, 69, 56, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bqh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 69, 56, 0.09);
  border-color: #abd3c4;
}

.bqh-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bqh-card-body {
  padding: 18px 18px 20px;
}

.bqh-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #173830;
}

.bqh-card p {
  margin: 0;
  color: #647772;
  line-height: 1.8;
  min-height: 84px;
}

.bqh-card-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.bqh-card-footer span {
  color: #6a7d77;
}

.bqh-card-footer strong {
  color: #157d61;
}

.bqh-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bqh-pill {
  padding: 11px 16px;
  border-radius: 999px;
  background: #f0f7f4;
  border: 1px solid #dbe8e3;
  font-weight: 700;
}

.bqh-question-list {
  display: grid;
  gap: 16px;
}

.bqh-question-item {
  display: block;
  background: #fff;
  border: 1px solid #dde9e4;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.bqh-question-item h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  color: #173830;
}

.bqh-question-item p {
  margin: 0 0 10px;
  color: #6a7d77;
  line-height: 1.8;
}

.bqh-question-item strong {
  color: #157d61;
}

.bqh-question-top,
.bqh-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.bqh-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f5f0;
  color: #187e63;
}

.bqh-chip a {
  color: inherit;
  text-decoration: none;
}

.bqh-chip-muted {
  background: #f3f7f5;
  color: #6c7d77;
}

.bqh-single-question {
  max-width: 920px;
  margin: 0 auto;
}

.bqh-question-body {
  background: #fff;
  border: 1px solid #deebe6;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 22px rgba(17, 69, 56, 0.04);
}

.bqh-answer-box {
  margin-top: 18px;
  background: #f7fbf9;
  border: 1px solid #dbece5;
  border-radius: 16px;
  padding: 16px 18px;
}

.bqh-answer-box summary {
  cursor: pointer;
  font-weight: 700;
  color: #156f58;
  list-style: none;
}

.bqh-answer-box summary::-webkit-details-marker {
  display: none;
}

.bqh-answer-box summary::before {
  content: "＋";
  margin-right: 8px;
  font-weight: 700;
}

.bqh-answer-box[open] summary::before {
  content: "－";
}

.bqh-answer-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #dbece5;
}

.bqh-answer-section h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.bqh-empty {
  padding: 18px 20px;
  border-radius: 14px;
  background: #f7fbf9;
  border: 1px solid #dde9e4;
}

.post-type-archive-bqh_question .entry-title,
.tax-bqh_subject .entry-title,
.search .entry-title {
  line-height: 1.35;
}

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

@media (max-width: 680px) {
  .bqh-home {
    padding: 12px 10px 48px;
  }

  .bqh-hero {
    padding: 34px 18px;
    border-radius: 18px;
  }

  .bqh-grid {
    grid-template-columns: 1fr;
  }

  .bqh-card p {
    min-height: 0;
  }

  .bqh-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .bqh-question-body {
    padding: 18px;
  }
}
