/* ==========================================================================
   VM THOTTAM ASEEL GROUPS - 12 CHAPTERS BY-LAWS ACCORDION
   Strict modular rules: <= 300 lines
   ========================================================================== */

.bylaws-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.bylaws-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 580px;
  overflow-y: auto;
  padding-right: 0.4rem;
}

.bylaws-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.75rem 1.0rem;
  border-radius: var(--radius-md);
  font-family: var(--font-tamil);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--trans-fast);
}

.bylaws-tab-btn .tab-num {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bylaws-tab-btn:hover, .bylaws-tab-btn.active {
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff;
  border-color: var(--accent-gold);
}

.bylaws-tab-btn.active .tab-num {
  background: var(--accent-gold);
  color: #000000;
}

.bylaws-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  min-height: 480px;
}

.bylaws-chapter-title {
  font-family: var(--font-tamil);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1.0rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.bylaws-clauses-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: #e2e2ec;
  font-size: 0.95rem;
  line-height: 1.7;
}

.bylaws-clause-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bylaws-clause-item i {
  color: var(--accent-gold);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .bylaws-container {
    grid-template-columns: 1fr;
  }
  .bylaws-nav-list {
    max-height: 220px;
  }
}
