:root {
  --bg-color: #f1f1f1;
  --active-bg-color: #ccc;
  --hover-bg-color: #ddd;
  --border-color: #ddd;
  --grayish-black: #6c6c6c;
}

* {
  box-sizing: border-box;
}

#learnworlds-tab-container.tab-container {
  display: flex;
  gap: 15%;
  width: 100%;
  overflow: visible;
}

#learnworlds-tab-container .tab-buttons {
  flex-basis: 45%;
  display: flex;
  flex-direction: column;
}

#learnworlds-tab-container .tab-contents {
  flex-basis: 50%;
}

#learnworlds-tab-container .tab-buttons .tab-link {
  background-color: transparent;
  color: var(--black, #09100f);
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 16px;
  transition: 0.3s;
  display: flex;
  padding: 16px 0px 16px 32px;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--dark-grey, #aeaeae);
  position: relative;
}

#learnworlds-tab-container .tab-buttons .tab-link:first-child {
  border: none;
}

#learnworlds-tab-container .tab-buttons .tab-link .section-duration {
  font-size: 14px;
  color: var(--grayish-black);
}

#learnworlds-tab-container .tab-buttons .tab-link .section-title {
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  color: var(--black, #09100f);
  max-width: 80%;
}
#learnworlds-tab-container .tab-buttons .tab-link:hover .section-title,
#learnworlds-tab-container .tab-buttons .tab-link.active .section-title {
  color: var(--coral, #ff5c4d);
}

#learnworlds-tab-container .tab-buttons .tab-link .tab-content {
  flex-basis: 70%;
  padding: 20px;
  display: none;
}

#learnworlds-tab-container .tab-buttons .tab-link .tab-link-arrow {
  position: absolute;
  right: 10px;
  top: 20px;
  transition: all ease-in-out 0.5s;
}

#learnworlds-tab-container .tab-buttons .tab-link .tab-link-arrow {
  color: var(--black, #09100f);
}

#learnworlds-tab-container .tab-buttons .tab-link:hover .tab-link-arrow,
#learnworlds-tab-container .tab-buttons .tab-link.active .tab-link-arrow {
  color: var(--coral, #ff5c4d);
  right: 0px;
}

#learnworlds-tab-container .tab-content {
  display: none;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  position: -webkit-sticky;
  top: 90px;
}

#learnworlds-tab-container .tab-content.active {
  display: flex;
}

#learnworlds-tab-container .learning-unit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#learnworlds-tab-container .learning-unit-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

#learnworlds-tab-container .learning-unit-icon {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--dark-grey, #aeaeae);
  align-items: center;
  justify-content: center;
  padding: 8px;
}

#learnworlds-tab-container .learning-unit-content h6 {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 16px;
}
#learnworlds-tab-container .show-more-tabs {
    border: 1px solid var(--black, #09100f);
    background-color: transparent;
    color: var(--black, #09100f);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 5px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: all 0.1s;
    align-self: flex-start;
}

#learnworlds-tab-container .show-more-tabs {
    margin-left: 32px;
    margin-top: 32px;
}

#learnworlds-tab-container .show-more-units {
    padding: 12px 18px;
    border: none;
    background: transparent;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    margin-top: 16px;
    cursor: pointer;
}

#learnworlds-tab-container .chapters-heading {
  font-size: 24px;
  font-weight: 500;
  font-family: Poppins, sans-serif;
}

#learnworlds-tab-container .learnworlds-accordion-header {
  background-color: transparent;
  color: var(--black, #09100f);
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 16px;
  transition: 0.3s;
  display: flex;
  padding: 16px 0px;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--dark-grey, #aeaeae);
  position: relative;
}

#learnworlds-tab-container .learnworlds-accordion-header:first-child {
  border: none;
}

#learnworlds-tab-container .learnworlds-accordion-header .section-duration {
  font-size: 14px;
  color: var(--grayish-black);
}

#learnworlds-tab-container .learnworlds-accordion-header .section-title {
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  color: var(--black, #09100f);
  max-width: 80%;
}
#learnworlds-tab-container .learnworlds-accordion-header:hover .section-title,
#learnworlds-tab-container .learnworlds-accordion-header.active .section-title {
  color: var(--coral, #ff5c4d);
}

#learnworlds-tab-container .learnworlds-accordion-header .tab-content {
  flex-basis: 70%;
  padding: 20px;
  display: none;
}

#learnworlds-tab-container .learnworlds-accordion-header .tab-link-arrow {
  position: absolute;
  right: 10px;
  top: 20px;
  transition: all ease-in-out 0.5s;
}

#learnworlds-tab-container .learnworlds-accordion-header .tab-link-arrow {
  color: var(--black, #09100f);
}

#learnworlds-tab-container .learnworlds-accordion-header:hover .tab-link-arrow,
#learnworlds-tab-container .learnworlds-accordion-header.active .tab-link-arrow {
  color: var(--coral, #ff5c4d);
  right: 0px;
}

#learnworlds-tab-container .learnworlds-accordion-content {
  display: none;
  padding-bottom: 24px;
}
#learnworlds-tab-container .learnworlds-accordion-content.active {
  display: block;
}


@media (max-width: 767px) {
  #learnworlds-tab-container .tab-buttons, .tab-contents {
    display: none;
  }
  #learnworlds-tab-container .learnworlds-accordion {
    display: block;
  }
}
@media (min-width: 768px) {
  #learnworlds-tab-container .learnworlds-accordion {
    display: none;
  }
}