#thm-app.thm {
  --thm-bg: transparent;
  --thm-card: #ffffff;
  --thm-border: #dde6ef;
  --thm-text: inherit;
  --thm-muted: inherit;
  --thm-primary: #0f3a58;
  --thm-accent: #22c7af;
  --thm-accent-dark: #14937f;
  background: transparent;
  color: inherit;
  padding: 24px 0 30px;
  font-family: inherit !important;
}

#thm-app.thm,
#thm-app.thm * {
  box-sizing: border-box !important;
}

#thm-app .thm-shell {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 18px;
}

#thm-app .thm-header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

#thm-app .thm-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thm-accent-dark);
  margin-bottom: 8px;
}

#thm-app .thm-title {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  color: inherit;
}

#thm-app .thm-subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: inherit;
  max-width: 760px;
}

#thm-app .thm-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--thm-primary);
  box-shadow: 0 12px 30px rgba(15, 58, 88, 0.12);
}

#thm-app .thm-switch {
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px 20px !important;
  cursor: pointer !important;
  transition: transform .2s ease, background-color .2s ease, color .2s ease !important;
  white-space: nowrap;
}

#thm-app .thm-switch.is-active {
  background: var(--thm-accent) !important;
  color: #fff !important;
}

#thm-app .thm-panel {
  display: none;
}

#thm-app .thm-panel.is-active {
  display: block;
}

#thm-app .thm-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#thm-app .thm-track::-webkit-scrollbar {
  display: none;
}

#thm-app .thm-card {
  scroll-snap-align: start;
  background: var(--thm-card);
  border: 1px solid var(--thm-border);
  border-radius: 28px;
  overflow: hidden;
  /*box-shadow: 0 12px 30px rgba(17, 31, 43, 0.07);*/
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#thm-app .thm-card:hover {
  transform: translateY(-2px);
  border-color: #f25855;
  /*box-shadow: 0 18px 40px rgba(17, 31, 43, 0.11);*/
}

#thm-app .thm-hero {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0c3150 0%, #164a78 55%, #2b7ab9 100%);
  overflow: hidden;
}

#thm-app .thm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#thm-app .thm-hero-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#thm-app .thm-hero-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: #223445;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

#thm-app .thm-card-upcoming .thm-hero-badge {
  background: rgba(34, 199, 175, 0.95);
  color: #ffffff;
}

#thm-app .thm-card-past .thm-hero-badge {
  background: #f25855;
  color: #ffffff;
}

#thm-app .thm-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 18px;
}

#thm-app .thm-card-title {
  font-size: 18px;
  line-height: 1.12;
  font-weight: 700;
  color: inherit;
  margin: 0;
  min-height: calc(1.12em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#thm-app .thm-card-excerpt {
  color: inherit;
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.55em * 3);
}

#thm-app .thm-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
}

#thm-app .thm-meta::-webkit-scrollbar {
  display: none;
}

#thm-app .thm-meta-chip,
#thm-app .thm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d4dde7;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f9fbfd;
  color: #314154;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}

#thm-app .thm-meta-chip {
  padding: 8px 12px;
}

#thm-app .thm-meta-icon {
  width: 16px;
  height: 16px;
  color: inherit;
  flex: 0 0 auto;
}

#thm-app .thm-meta-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#thm-app .thm-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#thm-app .thm-section-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.7;
}

#thm-app .thm-speakers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#thm-app .thm-speaker {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  align-items: center;
}

#thm-app .thm-speaker-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfe8f1;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #143856;
}

#thm-app .thm-speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#thm-app .thm-speaker-copy {
  min-width: 0;
}

#thm-app .thm-speaker-name {
  font-weight: 600;
  color: inherit;
  font-size: 15px;
  line-height: 1.2;
}

#thm-app .thm-chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
}

#thm-app .thm-chip-row::-webkit-scrollbar {
  display: none;
}

#thm-app .thm-chip-row.is-swipe .thm-chip {
  flex: 0 0 auto;
}

#thm-app .thm-view-btn {
display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    border-radius: 10px;
    padding: 10px 7px;
    background: #f25855;
    color: #fff !important;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none !important;
    text-align: center;
    margin-top: auto;
    margin-bottom: 2px;
    transition: transform .2s ease, box-shadow .2s ease;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    fill: var(--e-global-color-f6ac193);
}

#thm-app .thm-view-btn:hover {
	    background: white;
    transform: translateY(-1px);
    color: black !important;
    border: 2px solid #f25855 !important;
}

#thm-app .thm-empty {
  display: none;
  padding: 18px 4px 6px;
  color: inherit;
  opacity: 0.75;
  font-size: 15px;
}

#thm-app .thm-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#thm-app .thm-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

#thm-app .thm-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 58, 88, 0.22);
  cursor: pointer;
  padding: 0;
  transition: width .2s ease, background-color .2s ease;
}

#thm-app .thm-dot.is-active {
  width: 28px;
  background: #f25855;
}

#thm-app .thm-card-body {
  flex: 1 1 auto;
}

@media (max-width: 1180px) {
  #thm-app .thm-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  #thm-app .thm-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  #thm-app.thm {
    padding-top: 18px;
  }

  #thm-app .thm-shell {
    padding: 0 14px;
  }

  #thm-app .thm-switcher {
    width: 100%;
    justify-content: space-between;
  }

  #thm-app .thm-switch {
    flex: 1;
    padding: 12px 10px !important;
    font-size: 13px !important;
  }

  #thm-app .thm-track {
    grid-auto-columns: 100%;
  }

  #thm-app .thm-card-title {
    font-size: 19px;
  }

  #thm-app .thm-speakers {
    grid-template-columns: 1fr;
  }
}
