/* Teacher Types Section */
.teacher-types-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--container-gap);
}

.teacher-types-section .title {
  font-size: var(--h1-font-size-mobile);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height-mobile);
  text-align: left;
}

.teacher-types-section .types-panel {
  display: flex;
  flex-direction: row;
  gap: var(--content-gap);
  overflow-y: hidden;
  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.teacher-types-section .types-panel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.teacher-types-section .type-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #bfc0c5;
}

.teacher-types-section .type-card .content {
  width: 272px;
  height: 434px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--container-gap);
  padding: 20px 16px 40px;
}

.teacher-types-section .type-card .summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teacher-types-section .type-card .summary h3 {
  font-family: Ubuntu;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
}

.teacher-types-section .type-card .summary p {
  font-family: Ubuntu;
  font-size: 16px;
  font-weight: 300;
  line-height: 20.8px;
  text-align: left;
}

.teacher-types-section .type-card .cta {
  display: flex;
  flex-direction: column;
  gap: var(--container-gap);
}

.teacher-types-section .price {
  font-family: Ubuntu;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
}

.teacher-types-section .type-card button {
  height: var(--btn-height-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-radius: var(--border-radius);
  border: 1px solid #df0611;
  background-color: transparent;
  color: #df0611;
}

.teacher-types-section .type-card button svg path {
  stroke: #DF0611;
}

.teacher-types-section .type-card button:hover {
  border: 1px solid #df0611;
  background-color: #df0611;
  color: #FFFFFF;
}

.teacher-types-section .type-card button:hover svg path {
  stroke: #FFFFFF;
}

.teacher-types-section .type-card button span {
  font-family: Ubuntu;
  font-size: var(--font-size-mobile);
  font-weight: 400;
  line-height: var(--line-height-mobile);
  text-align: left;
}

@media (min-width: 1280px) {
  .teacher-types-section .container {
    width: 1200px;
    gap: 60px;
  }

  .teacher-types-section .types-panel {
    max-width: 1200px;
    gap: 36px;
  }

  .teacher-types-section .type-card {
    max-width: 376px;
  }

  .teacher-types-section .type-card .content {
    width: 376px;
    height: 415px;
    padding: 20px 20px 40px;
  }

  .teacher-types-section .type-card .summary {
    gap: 16px;
  }

  .teacher-types-section .type-card .summary h3 {
    width: 95%;
    font-family: Ubuntu;
    font-size: 24px;
    font-weight: 400;
    line-height: 31.2px;
    text-align: left;
  }

  .teacher-types-section .type-card .summary p {
    letter-spacing: 0.16px;
  }

  .teacher-types-section .type-card button span {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    text-align: left;
  }

  .teacher-types-section .type-card .cta {
    width: 260px;
  }

  .teacher-types-section .price {
    font-family: Ubuntu;
    font-size: 24px;
    font-weight: 400;
    line-height: 31.2px;
    text-align: left;
  }
}
