/*
Theme Name: Topics Tabs Prototype
Version: 0.1
*/

:root {
  --topics_bg: #ffffff;
  --topics_text: #111111;
  --topics_muted: #6b7280;
  --topics_border: #e5e7eb;
  --topics_accent: #111111;
  --topics_slider: #f3f4f6;
}





#topics {
  margin: 48px auto;
  padding: 0 16px;
  gap: 16px;
  position: relative;
  z-index: 10000;
}

#topics .wrap_heading {
  padding: 0 2px;
}

#topics .heading {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.02em;
}

#topics .tab {
  overflow: auto;
}

#topics .tab_area_topics {
  position: relative;
  z-index: 10001;
  gap: 8px;
  list-style: none;
  padding: 6px;
  margin: 0;
  border: 1px solid var(--topics_border);
  border-radius: 999px;
  min-height: 44px;
}

#topics .tab_slider_bg_topics {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 0;
  border-radius: 999px;
  background: var(--topics_slider);
  transition: all 0.35s ease;
  pointer-events: none;
}

#topics .each_tab_series_topics {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  font-size: 14px;
  color: var(--topics_muted);
}

#topics .each_tab_series_topics.active {
  color: var(--topics_text);
}

#topics .each_series_topics {
  display: none;
  position: relative;
  padding: 18px;
  border: 1px solid var(--topics_border);
  border-radius: 16px;
}

#topics .each_series_topics.active {
  display: flex;
}

#topics .panel_title {
  margin: 0 0 10px;
  font-size: 18px;
}

#topics .panel_text {
  margin: 0;
  line-height: 1.8;
  color: var(--topics_text);
}
