/**
 * BHK Homepage — about-counter section polish (image + diet grid)
 * Scoped to .bhk-about-counter on index.html
 */
.bhk-about-counter .bhk-about-photo {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bhk-brand-soft, #eef8e8) 0%, #fff 100%);
  border: 2px solid rgba(127, 184, 45, 0.35);
  box-shadow:
    0 28px 56px rgba(27, 67, 50, 0.18),
    0 0 0 6px rgba(127, 184, 45, 0.06);
  position: relative;
}

.bhk-about-counter .bhk-about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 31, 28, 0.04) 100%);
  pointer-events: none;
  z-index: 1;
}

.bhk-about-counter .pq-about-counter-img {
  margin: 0;
  padding: 0;
  text-align: center;
}

.bhk-about-counter .bhk-about-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 460px;
  object-fit: cover;
  object-position: center center;
}

.bhk-about-counter .about-counter-heading-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bhk-about-counter .bhk-diet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: start;
}

/* 7th item — center the last row so no empty gap */
.bhk-about-counter .bhk-diet-grid .bhk-diet-card:nth-child(7) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.275rem);
  justify-self: center;
  width: 100%;
}

.bhk-about-counter .bhk-diet-card {
  border-radius: 12px;
  border: 1px solid var(--bhk-border, #dfe8d8);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bhk-about-counter .bhk-diet-card .bhk-diet-toggle {
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  color: var(--bhk-ink, #1a1f1c);
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.bhk-about-counter .bhk-diet-card.is-open .bhk-diet-toggle {
  color: var(--bhk-brand-dark, #5a9a1a);
  background: var(--bhk-brand-soft, #eef8e8);
  border-radius: 12px 12px 0 0;
}

.bhk-about-counter .bhk-diet-card .bhk-diet-toggle:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(127, 184, 45, 0.35);
}

.bhk-about-counter .bhk-diet-card .bhk-diet-toggle > i:first-child {
  flex-shrink: 0;
  color: var(--bhk-brand, #7fb82d);
  font-size: 0.85em;
}

.bhk-about-counter .bhk-diet-card .bhk-diet-toggle > span {
  flex: 1;
}

.bhk-about-counter .bhk-diet-chevron {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--bhk-brand, #7fb82d);
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.bhk-about-counter .bhk-diet-card.is-open .bhk-diet-chevron {
  transform: rotate(180deg);
}

.bhk-about-counter .bhk-diet-panel {
  display: none;
}

.bhk-about-counter .bhk-diet-body {
  padding: 0 0.8rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--bhk-muted, #5c6b62);
  background: var(--bhk-brand-soft, #eef8e8);
  border-radius: 0 0 12px 12px;
}

.bhk-about-counter .bhk-diet-body p {
  margin: 0;
}

.bhk-about-counter .bhk-diet-card:hover {
  border-color: rgba(127, 184, 45, 0.45);
  box-shadow: 0 8px 20px rgba(90, 154, 26, 0.12);
}

.bhk-about-counter .pq-about-main-btn {
  margin-top: 1.15rem;
}

@media (max-width: 575px) {
  .bhk-about-counter .bhk-diet-grid {
    grid-template-columns: 1fr;
  }

  .bhk-about-counter .bhk-diet-grid .bhk-diet-card:nth-child(7) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .bhk-about-counter .bhk-about-photo img {
    min-height: 260px;
    max-height: 340px;
  }
}
