:root {
  --always-white: #ffffff;
  --text-color: #373e45;
  --text-muted: #6b7280;
  --background-color: #ffffff;
  --secondary-background-color: #f8f8f8;
  --accent-color: #475059;
  --cta-color: #e4003a;
  --card-border: #d1d2d4;
  --icon-color: #353e46;
  --hero-bg: #1e252b;
  --bg-dark: #151a21;
  --contrast-bg: #373e45;
  --contrast-text: #ffffff;
  --black-20: rgba(0, 0, 0, 0.2);
  --outline-btn-border: #373e45;
  --outline-btn-text: #373e45;
  --outline-btn-hover-bg: #373e45;
  --outline-btn-hover-text: #ffffff;
  --badge-color: #eeeeef;
}

.dark {
  --text-color: #ffffffd9;
  --background-color: #353e46;
  --secondary-background-color: #2a3237;
  --text-muted: #9ca3af;
  --card-border: rgba(255, 255, 255, 0.15);
  --contrast-bg: #ffffff;
  --contrast-text: #373e45;
  --outline-btn-border: #ffffffd9;
  --outline-btn-text: #ffffffd9;
  --outline-btn-hover-bg: #ffffffd9;
  --outline-btn-hover-text: #353e46;
  --badge-color: #475059;
}

.apply-research-styles {
  --research-text: #353e46;
  --research-text-muted: rgba(53, 62, 70, 0.8);
  --research-link-underline: rgba(53, 62, 70, 0.35);
  --research-bg-subtle: #f8f9fc;
  --research-bg-subtle-2: #f1f3f9;
  --research-border: #eeeeef;
  --research-border-strong: #e5e5ea;
  --research-white: #ffffff;
  --research-max-width: 100%;
  color: var(--research-text);
  font-family: "Interstate", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
}

.dark .apply-research-styles {
  --research-text: #ffffffd9;
  --research-text-muted: rgba(255, 255, 255, 0.8);
  --research-link-underline: rgba(255, 255, 255, 0.35);
  --research-bg-subtle: #2a3237;
  --research-bg-subtle-2: #1e252b;
  --research-border: rgba(255, 255, 255, 0.15);
  --research-border-strong: rgba(255, 255, 255, 0.25);
  --research-white: #353e46;
}

.apply-research-styles,
.apply-research-styles * {
  box-sizing: border-box;
}

.apply-research-styles > * {
  max-width: var(--research-max-width);
}

.apply-research-styles > * + * {
  margin-top: 32px;
}

.apply-research-styles h1,
.apply-research-styles .h1 {
  margin: 0 0 32px;
  color: var(--research-text);
  font-family: "Interstate", Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.apply-research-styles h2,
.apply-research-styles .h2 {
  margin: 56px 0 24px;
  color: var(--research-text);
  font-family: "Interstate", Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

.apply-research-styles h3,
.apply-research-styles .h3 {
  margin: 40px 0 20px;
  color: var(--research-text);
  font-family: "Interstate", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

.apply-research-styles h4,
.apply-research-styles h5,
.apply-research-styles h6 {
  margin: 32px 0 16px;
  color: var(--research-text);
  font-family: "Interstate", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.apply-research-styles p,
.apply-research-styles li,
.apply-research-styles dd,
.apply-research-styles figcaption,
.apply-research-styles blockquote,
.apply-research-styles td,
.apply-research-styles th {
  color: var(--research-text);
  font-family: "Interstate", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0;
}

.apply-research-styles p {
  margin: 0 0 24px;
}

.apply-research-styles p:last-child {
  margin-bottom: 0;
}

.apply-research-styles strong,
.apply-research-styles b {
  font-weight: 400;
}

.apply-research-styles em,
.apply-research-styles i {
  font-style: italic;
}

.apply-research-styles small,
.apply-research-styles .text-muted,
.apply-research-styles .meta,
.apply-research-styles .caption {
  color: var(--research-text-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.apply-research-styles a {
  color: var(--research-text);
  text-decoration: underline;
  text-decoration-color: var(--research-link-underline);
  text-underline-offset: 3px;
  transition:
    text-decoration-color 0.2s ease,
    color 0.2s ease;
}

.apply-research-styles a:hover,
.apply-research-styles a:focus-visible {
  color: var(--research-text);
  text-decoration-color: var(--research-text);
}

.apply-research-styles ul,
.apply-research-styles ol {
  margin: 0 0 24px;
  padding: 0 0 0 16px;
}

.apply-research-styles li + li {
  margin-top: 8px;
}

.apply-research-styles ul ul,
.apply-research-styles ul ol,
.apply-research-styles ol ul,
.apply-research-styles ol ol {
  margin-top: 16px;
  margin-bottom: 0;
}

.apply-research-styles hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--research-border-strong);
}

.apply-research-styles blockquote {
  margin: 32px 0;
  padding: 24px 24px 24px 32px;
  background: var(--research-bg-subtle);
  border-left: 4px solid var(--research-text);
}

.apply-research-styles figure {
  margin: 40px 0;
}

.apply-research-styles img,
.apply-research-styles svg,
.apply-research-styles video,
.apply-research-styles iframe {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.apply-research-styles iframe {
  height: 100% !important;
}

.apply-research-styles figcaption {
  margin-top: 12px;
  color: var(--research-text-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.apply-research-styles table {
  display: table;
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 100%;
  border-spacing: 0;
  background: var(--research-white);
  border: 1px solid var(--research-border);
}

.apply-research-styles thead th {
  background: var(--research-bg-subtle);
  font-weight: 400;
}

.apply-research-styles th,
.apply-research-styles td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--research-border);
}

.apply-research-styles code,
.apply-research-styles kbd,
.apply-research-styles samp {
  font-family: inherit;
  font-size: 0.9375em;
  font-weight: 400;
}

.apply-research-styles pre {
  margin: 32px 0;
  padding: 24px;
  overflow-x: auto;
  background: var(--research-bg-subtle);
  border: 1px solid var(--research-border);
  color: var(--research-text);
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
}

.apply-research-styles pre code {
  background: transparent;
  padding: 0;
}

.apply-research-styles .summary-card,
.apply-research-styles .insight-card,
.apply-research-styles .callout,
.apply-research-styles .highlight-box {
  margin: 32px 0;
  padding: 32px;
  background: var(--research-bg-subtle);
  border: 1px solid var(--research-border);
}

.apply-research-styles .summary-card h3,
.apply-research-styles .insight-card h3,
.apply-research-styles .callout h3,
.apply-research-styles .highlight-box h3 {
  margin-top: 0;
}

.apply-research-styles .cta-box,
.apply-research-styles .membership-box,
.apply-research-styles .signup-box {
  margin: 40px 0;
  padding: 32px;
  background: var(--research-text);
  color: var(--research-white);
}

.apply-research-styles .cta-box h2,
.apply-research-styles .cta-box h3,
.apply-research-styles .cta-box p,
.apply-research-styles .membership-box h2,
.apply-research-styles .membership-box h3,
.apply-research-styles .membership-box p,
.apply-research-styles .signup-box h2,
.apply-research-styles .signup-box h3,
.apply-research-styles .signup-box p {
  color: var(--research-white);
}

.apply-research-styles .cta-box a,
.apply-research-styles .membership-box a,
.apply-research-styles .signup-box a {
  color: var(--research-white);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.apply-research-styles .toc,
.apply-research-styles .table-of-contents {
  margin: 40px 0;
  padding: 24px;
  background: var(--research-bg-subtle);
  border: 1px solid var(--research-border);
}

.apply-research-styles .toc-title,
.apply-research-styles .table-of-contents > h2,
.apply-research-styles .table-of-contents > h3 {
  margin: 0 0 16px;
  color: var(--research-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

.apply-research-styles .toc ul,
.apply-research-styles .table-of-contents ul,
.apply-research-styles .toc ol,
.apply-research-styles .table-of-contents ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apply-research-styles .toc li,
.apply-research-styles .table-of-contents li {
  margin: 0;
  padding: 9px 0 9px 8px;
  border-top: 1px solid var(--research-border);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.apply-research-styles .toc li:first-child,
.apply-research-styles .table-of-contents li:first-child {
  border-top: 0;
}

.apply-research-styles .toc a,
.apply-research-styles .table-of-contents a {
  display: block;
  text-decoration: none;
}

.apply-research-styles .toc a:hover,
.apply-research-styles .table-of-contents a:hover {
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .apply-research-styles > * {
    max-width: 100%;
  }

  .apply-research-styles h1,
  .apply-research-styles .h1 {
    font-size: 32px;
    line-height: 1.375;
  }

  .apply-research-styles h2,
  .apply-research-styles .h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .apply-research-styles h3,
  .apply-research-styles .h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  .apply-research-styles .summary-card,
  .apply-research-styles .insight-card,
  .apply-research-styles .callout,
  .apply-research-styles .highlight-box,
  .apply-research-styles .cta-box,
  .apply-research-styles .membership-box,
  .apply-research-styles .signup-box,
  .apply-research-styles .toc,
  .apply-research-styles .table-of-contents,
  .apply-research-styles pre {
    padding: 24px;
  }

  .apply-research-styles th,
  .apply-research-styles td {
    padding: 12px;
  }
}

.research-container {
  gap: 24px;
}
@media (min-width: 1024px) {
  .research-container {
    gap: 0;
  }
}
.going-back-container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.going-back-container a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  border-bottom: 2px solid var(--text-color);
  padding-bottom: 2px;
  padding-right: 6px;
}
.going-back-container p {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
}
.divider {
  width: 2px;
  height: 14px;
  background-color: var(--card-border);
}
.time-actions-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kc-header-actions-row {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .kc-header-actions-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .time-actions-container {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
    gap: 12px;
  }
}

.date-published {
  font-size: 14px;
}
.title-size {
  font-size: 32px;
}
.author-image {
  width: 28px;
  height: 28px;
  border-radius: 100%;
  object-fit: cover;
}
.author-size {
  font-size: 14px;
}
@media (min-width: 1024px) {
  .author-image {
    width: 56px;
    height: 56px;
  }
  .title-size {
    font-size: 40px;
  }
}
.uppercased {
  text-transform: uppercase;
}
.type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  background-color: var(--badge-color);
  color: var(--text-color);
}
.related-content-title {
  font-size: 14px;
}
.gap-2 {
  gap: 8px;
}

.kc-article-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.kc-article-main {
  width: 100%;
}
.kc-article-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1440px) {
  .kc-article-layout {
    display: grid;
    gap: 80px;
    align-items: start;
  }
  .kc-article-sidebar {
    position: static !important;
  }
}
@media (min-width: 1440px) {
  .kc-article-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}

@media (max-width: 768px) {
  div[data-tab-list] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  div[data-tab-list] > div:first-child,
  div[data-tab-list-content-area] {
    display: contents !important;
  }

  div[data-tab-target] {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
  }
  div[data-tab-page] {
    width: 100% !important;
    margin: 0 !important;
  }

  div[data-tab-target]:nth-child(1) {
    order: 1 !important;
  }
  div[data-tab-page]:nth-child(1) {
    order: 2 !important;
  }
  div[data-tab-target]:nth-child(2) {
    order: 3 !important;
  }
  div[data-tab-page]:nth-child(2) {
    order: 4 !important;
  }
  div[data-tab-target]:nth-child(3) {
    order: 5 !important;
  }
  div[data-tab-page]:nth-child(3) {
    order: 6 !important;
  }
  div[data-tab-target]:nth-child(4) {
    order: 7 !important;
  }
  div[data-tab-page]:nth-child(4) {
    order: 8 !important;
  }
  div[data-tab-target]:nth-child(5) {
    order: 9 !important;
  }
  div[data-tab-page]:nth-child(5) {
    order: 10 !important;
  }
  div[data-tab-target]:nth-child(6) {
    order: 11 !important;
  }
  div[data-tab-page]:nth-child(6) {
    order: 12 !important;
  }
  div[data-tab-target]:nth-child(7) {
    order: 13 !important;
  }
  div[data-tab-page]:nth-child(7) {
    order: 14 !important;
  }
  div[data-tab-target]:nth-child(8) {
    order: 15 !important;
  }
  div[data-tab-page]:nth-child(8) {
    order: 16 !important;
  }
}

.kc-sidebar-header {
  font-size: 16px;
  font-weight: regular;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-bottom: 16px;
}

.kc-toc-container {
  display: none;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1440px) {
  .kc-toc-container {
    display: flex;
  }
}

.kc-author-container {
  display: none;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1440px) {
  .kc-author-container {
    display: flex;
  }
  .kc-author-inline {
    display: none !important;
  }
}

.kc-author-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kc-author-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  text-decoration: none;
}

.kc-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.kc-author-text {
  min-width: 0;
}

.kc-author-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kc-author-position,
.kc-author-company {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kc-author-badge {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background-color: teal;
  padding: 2px 8px;
  margin-top: 4px;
}

.kc-toc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
}

.kc-toc-item:hover {
  color: var(--cta-color);
}
.kc-toc-subitem {
  display: flex;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.kc-toc-subitem:hover {
  color: var(--cta-color);
}
.kc-toc-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 12px;
}

.kc-toc-divider {
  width: 100%;
  height: 1px;
  background-color: var(--card-border);
  margin: 20px 0 16px 0;
}

#TOCMobileButton {
  display: flex;
}
@media (min-width: 1024px) {
  #TOCMobileButton {
    display: none !important;
  }
}

.kc-toc-container.floating-toc,
.floating-toc {
  position: static !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
  box-shadow: none !important;
  background: transparent !important;
}

.strengths,
.strengths td,
.strengths th,
.challenges,
.challenges td,
.challenges th {
  border: none !important;
}

table,
table td,
table tr,
th,
td {
  border: none !important;
}

.plyr--video {
  --plyr-color-main: var(--cta-color);
}

/* Chapter markers on the progress bar - Plyr has no native chapter-marker UI (the
   kind="chapters" track is only used for the browser's own TextTrack parsing), so this
   is a small custom overlay built in JS (see watch.tpl / event_webinar.tpl) and styled
   here so both pages share the same look. */
.plyr__progress .chapter-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plyr__progress .chapter-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  z-index: 3;
}

.plyr__progress .chapter-marker:hover {
  background: var(--cta-color);
}

/* Custom tooltip for chapter markers - the native title attribute is small and shows
   only after the browser's own (slow, non-configurable) hover delay, which user testing
   showed people simply missed. This appears instantly and is sized to actually be read. */
.chapter-marker-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  white-space: normal;
  width: max-content;
  max-width: 220px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.08s ease;
  z-index: 4;
}

.chapter-marker-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #fff;
}

.chapter-marker-tooltip--align-left {
  left: 0;
  transform: none;
}

.chapter-marker-tooltip--align-left::after {
  left: 10px;
  transform: none;
}

.chapter-marker-tooltip--align-right {
  left: auto;
  right: 0;
  transform: none;
}

.chapter-marker-tooltip--align-right::after {
  left: auto;
  right: 10px;
  transform: none;
}

.chapter-marker:hover .chapter-marker-tooltip,
.chapter-marker:focus-visible .chapter-marker-tooltip {
  opacity: 1;
}

/* Plyr's own seek-time tooltip tracks the mouse across the whole progress bar, so it
   pops up at the same time as a chapter marker's tooltip whenever the cursor is near
   one - toggled via JS (see watch.tpl / event_webinar.tpl) rather than pure CSS :hover,
   since it needs to react to hovering the marker specifically, not just the bar. */
.plyr__progress.chapter-hover .plyr__tooltip {
  display: none !important;
}

/* Plyr's time display has no fixed width, so as the digit count changes (e.g. -8:55 to
   -11:11) the whole controls row reflows and the progress bar - and the chapter markers
   positioned as a % of its width - visibly shift left/right by a few px. Reserve enough
   width for the longest realistic timestamp on this site (over an hour) and use tabular
   digits so same-length strings don't jitter either. */
.plyr__time {
  font-variant-numeric: tabular-nums;
}

/* Only the current-time element's digit count changes during playback (the source of
   the progress-bar jitter this reserved width fixes) - the duration element is static
   once set, so giving it the same fixed width just adds a large, pointless gap next to
   the "/" separator between the two. */
.plyr__time--current {
  min-width: 8ch;
  text-align: center;
}
