.tabgroup {
  display: flex;
  gap: 16px;
  margin-top: 1rem;
  align-items: flex-start;
}

/* Left column: vertical tab buttons */
.tabgroup .tablist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
  border-right: 1px solid blanchedalmond;
  padding-right: 8px;
}

/* Individual tab buttons */
.tabgroup .tab {
  padding: 0.5em 1em;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #f7f7f7;
  border-radius: 6px;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover state */
.tabgroup .tab:hover {
  background-color: #d82600;
  color: #ffffff;
}

/* Active tab button */
.tabgroup .tab.active {
  background-color: #000000;
  color: #fbf0d9;
}

/* ========== TAB PANELS ========== */

/* Right column wrapper */
.tabgroup .contentlist {
  flex: 1;
}

/* All panels hidden by default */
.tabgroup .content {
  display: none;
  background-color: wheat;
  padding: 1em;
  border-radius: 6px;
  text-align: left;
}

/* Visible panel */
.tabgroup .content.active {
  display: block;
}


/* Details (lion text) area */
.details-section {
  max-width: 700px;
  margin: 1.5rem auto 0;
  text-align: center;
}

/* Divider line between sections */
.section-divider {
  margin: 2.5rem auto;
  max-width: 720px;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

/* Wrapper + title for the museum info tabs */
.museum-info {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.museum-info-title {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 0.75rem;
}

/* Make the whole tabgroup feel like a card */
.museum-info .tabgroup {
  background-color: #fffdf8;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
}