/* Shaman Vertical Tabs block */

.shaman-vtabs .vtabs-intro {
  margin-bottom: 8px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 94vw);
}

/* Two-column tab layout. Breaks out of the constrained content column so the
   tabs + content can use a wider, full-width reading area. */
.shaman-vtabs .vtabs {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 94vw);
  max-width: none;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 32px;
}

/* LEFT — table of contents / vertical tabs */
.shaman-vtabs .vtabs-nav {
  flex: 0 0 300px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}
.shaman-vtabs .vtabs-nav-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #6b7280;
  font-weight: 700;
  margin: 0 0 10px;
}
.shaman-vtabs .vtabs-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #e5e7eb;
}
.shaman-vtabs .vtabs-nav li { margin: 0; }
.shaman-vtabs .vtabs-nav a {
  display: block;
  padding: 10px 16px;
  margin-left: -2px;
  border-left: 3px solid transparent;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.shaman-vtabs .vtabs-nav a:hover { color: #2d6a4f; background: #f6faf7; }
.shaman-vtabs .vtabs-nav a.active {
  color: #2d6a4f;
  border-left-color: #2d6a4f;
  background: #f0fdf4;
}

/* RIGHT — section panels */
.shaman-vtabs .vtabs-panels {
  flex: 1 1 auto;
  min-width: 0;
}
.shaman-vtabs .vtabs-panel { display: none; }
.shaman-vtabs .vtabs-panel.active {
  display: block;
  animation: shamanVtabsFade .25s ease;
}
.shaman-vtabs .vtabs-panel-title { margin-top: 0; }

@keyframes shamanVtabsFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Stack on tablet / mobile: TOC on top, tap a tab to switch section. */
@media (max-width: 980px) {
  .shaman-vtabs .vtabs {
    flex-direction: column;
    width: auto;
    left: auto;
    transform: none;
  }
  .shaman-vtabs .vtabs-nav {
    position: static;
    flex: none;
    width: 100%;
  }
}

/* Editor hint */
.shaman-vtabs-editor__hint {
  font-size: 12px;
  color: #6b7280;
  background: #f0fdf4;
  border: 1px dashed #86c8a3;
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0 0 12px;
}
