.hos-tabs {
  padding: 64px 0;
}

.hos-tabs__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 48px;
}

.hos-tabs__header-text {
  max-width: 768px;
}

.hos-tabs__header h2 {
  margin: 0 0 12px;
}

.hos-tabs__header .subheader,
.hos-tabs__header .hos-knowledge__label {
  display: inline-block;
  color: #0f1115;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding: 8px 15px;
  margin-bottom: 10px;
}

.hos-tabs__header p {
  color: #697289;
  font-size: 16px;
  margin: 0 0 16px;
  max-width: 584px;
}

.hos-tabs__header p:last-child {
  margin-bottom: 0;
}

.hos-tabs__head-cta .btn,
.hos-tabs__head-cta .rd-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
}

.hos-tabs__tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hos-tabs__tab {
  background-color: #ffffff;
  font-weight: 600;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 23px;
  border-radius: 360px;
  transition: 0.3s;
  font-size: 16px;
  border: 1px solid #b8b8b8;
  cursor: pointer;
}

.hos-tabs__tab:hover {
  background-color: #f1f1f1;
  border-color: #f1f1f1;
}

.hos-tabs__tab.is-active {
  background-color: #111111;
  border-color: #111111;
  color: #ffffff;
}

.hos-tabs__items {
  margin-top: 32px;
}

.hos-tabs__item {
  border: 1px solid #b8b8b8;
  border-radius: 24px;
  background-color: #ffffff;
  padding: 32px;
  color: #666d80;
  font-size: 16px;
  line-height: 1.6;
}

.hos-tabs__item[hidden] {
  display: none;
}

.hos-tabs__item p {
  margin: 0 0 12px;
}

.hos-tabs__item p:last-child {
  margin-bottom: 0;
}

.hos-tabs__item ul {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hos-tabs__item ul li {
  color: #666d80;
  font-size: 16px;
}

@media (max-width: 768px) {
  .hos-tabs {
    padding: 48px 0;
  }

  .hos-tabs__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .hos-tabs__header p {
    font-size: 15px;
  }

  .hos-tabs__tab {
    font-size: 15px;
    padding: 10px 18px;
  }

  .hos-tabs__items {
    margin-top: 20px;
  }

  .hos-tabs__item {
    padding: 20px;
    border-radius: 18px;
  }

  .hos-tabs__item ul {
    padding-left: 20px;
    gap: 10px;
  }

  .hos-tabs__item ul li {
    font-size: 15px;
  }
}
