:host {
  overflow: hidden;
  text-align: left;
}

.chapter-line {
  display: none;
}

@media (min-width: 768px) {
  :host(.graph) staytuned-chapter {
    border-bottom: 1px solid #fff;
  }
  :host(.graph) .chapter-wrapper {
    display: flex;
  }
  :host(.graph) .chapter-line {
    display: block;
    min-width: 45px;
    position: relative;
  }
  :host(.graph) .chapter-line::before, :host(.graph) .chapter-line::after {
    content: "";
    display: block;
    position: absolute;
  }
  :host(.graph) .chapter-line::before {
    top: 0;
    bottom: 0px;
    left: 8px;
    width: 2px;
    background: var(--staytuned-main-color, #216fd4);
  }
  :host(.graph) .chapter-line::after {
    top: 26px;
    left: 0;
    width: 14px;
    height: 14px;
    border: 2px solid var(--staytuned-main-color, #216fd4);
    border-radius: 100%;
    background: white;
    z-index: 1;
  }
  :host(.graph) .chapter-line--first::before {
    top: 26px;
  }
  :host(.graph) .chapter-line--last::before {
    bottom: none;
    height: 26px;
  }
  :host(.graph) .chapter-line--filled::after {
    background: var(--staytuned-main-color, #216fd4);
  }

  :host(.dark-theme) .chapter-line::before {
    background: #fff;
  }
  :host(.dark-theme) .chapter-line::after {
    background: var(--staytuned-main-color, #216fd4);
    border-color: #fff;
  }
  :host(.dark-theme) .chapter-line--filled::after {
    background: #555;
  }
}