/* ===== Segmented Tabs (color-coded style) ===== */
.hs-webinar-tabs.style--segmented .hs-webinar-tabs__header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: thin;
}
.hs-webinar-tabs.style--segmented .hs-webinar-tabs__header::-webkit-scrollbar {
  height: 6px;
}

.hs-webinar-tabs__tab {
  --bg: #f1f5f9;
  --bg-hover: #e2e8f0;
  --bg-active: #003b68;
  --border: #cbd5e1;
  --text: #0f172a;
  --text-active: #fff;

  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease,
    transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.hs-webinar-tabs__tab:hover {
  background: var(--bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hs-webinar-tabs__tab[aria-selected="true"] {
  background: var(--bg-active);
  border-color: var(--bg-active);
  color: var(--text-active);
  box-shadow: 0 6px 18px rgba(0, 59, 104, 0.28);
}

.hs-webinar-tabs__tab:focus {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}

.hs-webinar-tabs__badge {
  display: inline-block;
  min-width: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.6);
  color: inherit;
}

/* ---- Color themes ---- */
.hs-webinar-tabs__tab[data-color="gray"] {
  --bg: #e5e7eb;
  --bg-hover: #d1d5db;
  --bg-active: #6b7280;
  --border: #d1d5db;
  --text: #111827;
}
.hs-webinar-tabs__tab[data-color="orange"] {
  --bg: #fde4c7;
  --bg-hover: #fcd9b2;
  --bg-active: #f59e0b;
  --border: #f8c58a;
  --text: #7c2d12;
}
.hs-webinar-tabs__tab[data-color="mint"] {
  --bg: #d9f5ea;
  --bg-hover: #c8efe1;
  --bg-active: #34d399;
  --border: #b7e7d6;
  --text: #064e3b;
}
.hs-webinar-tabs__tab[data-color="yellow"] {
  --bg: #fef3c7;
  --bg-hover: #fde68a;
  --bg-active: #fbbf24;
  --border: #fde68a;
  --text: #78350f;
}
.hs-webinar-tabs__tab[data-color="lime"] {
  --bg: #ebf7c2;
  --bg-hover: #e2f29f;
  --bg-active: #84cc16;
  --border: #d9ef8a;
  --text: #365314;
}

/* Panels */
.hs-webinar-tabs__panels {
  padding: 16px;
}
.hs-webinar-tabs__panel[hidden] {
  display: none;
}

/* Webinar list: vertical cards */
.hs-webinar-list--vertical {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hs-webinar-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hs-webinar-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.hs-webinar-item__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
}
.hs-webinar-item__desc {
  color: #334155;
}
.hs-webinar-item__cta {
  margin-top: 12px;
}
.hs-webinar-item__link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: #F27200;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
}
.hs-webinar-item__link:hover {
  opacity : 0.8;
  text-decoration: none;
}

/* Empty */
.hs-webinar-empty {
  color: #64748b;
  font-style: italic;
}