/* page */
*,
html,
body {
  margin: 0;
  padding: 0;
  max-width: 100vw;

  font-style: normal;
}

*,
body {
  max-width: 100vw;
}

body {
  max-width: 100vw;
  height: auto !important;
}

.tag-list__wrapper {
  max-height: 300px;
  overflow: auto;
}

.detail-wrapper {
  width: 100%;
  max-width: 720px;
}

.body-wrapper {
  display: flex;
  flex-direction: column;
  gap: 128px;
}

.menu-item-selected {
  color: #003bba !important;
  font-weight: 700;
}

.tabs_left {
  top: 96px;
}

.tabs_left li {
  display: flex;
  width: 208px;
  padding: 24px 0px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #dfdfdf;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  /* 140% */
  color: #616161;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.tabs_left li.active {
  color: #003bba;
  border-bottom: 3px solid #003bba;
}

.tabs_right {
  width: 913px;
}

.item-img {
  width: 288px;
  border-radius: 8px;
}

.item-title {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}

.active-item {
  height: auto;
  opacity: 1;
  transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: translateX(0px);
}

.hidden-item {
  height: 0px;
  opacity: 0;
  position: absolute;
  transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: translateY(200px);
  z-index: -1;
}

.item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.select-menu {
  display: none;
}

.side-bar {
  position: fixed;
  top: 88px;
  left: calc(50vw - 612px);
  z-index: 40;
}

.image-container {
  position: relative;
  width: 100%;
}

.propose-form {
  border-radius: 16px;
  background: #f9f9f9;
  width: 100%;
  padding: 0 78px;
}

.submit-button-wrapper {
  display: flex;
  height: 48px;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #003bba;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  /* 133.333% */
}
.content-container {
  min-height: 300px;
  justify-content: space-between;
}

.image-container::before {
  content: '';
  display: block;
  padding-bottom: 75%;
  /* Set the aspect ratio to 16:9 (56.25% = 9 / 16 * 100) */
}

.item_date {
  color: #616161;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 150% */
}
.image-container img {
  position: absolute;
  border-radius: 16px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: scale-down;
  /* This ensures the image fills the container without distortion */
}

.customer-story-wrapper {
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.form-input-sub[type='text'] {
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  background: #fff;
}

.form-input {
  border-radius: 8px !important;
  border: 1px solid #dcdfe6 !important;
}
.form-input-sub[type='email'] {
  border-radius: 8px !important;
  border: 1px solid #dcdfe6 !important;
  background: #fff !important;
  height: 48px;
}

.form-submit-input[type='text'] {
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  background: #fff;
}

.propose-form {
  border-radius: 16px;
  background: #f9f9f9;
  width: 100%;
  padding: 20px 78px;
}

.form-knowledge .submit-email-btn {
  width: 50%;
}

.breadcumps {
  color: #616161;

  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  /* 137.5% */
}

.breadcumps a:hover,
.breadcumps span {
  color: #003bba;
}
.toc-wrapper {
  position: sticky;
  height: fit-content;
  width: 190px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  top: 25%;
}

.author__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.author__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.author__name {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.blog-author {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
}

.author__description {
  font-size: 15px;
  font-weight: 600;
  line-height: 22.5px;
  text-align: left;
}

.item-list-tag {
  height: 28px;
  display: flex;
  padding: 0 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  background: #fff;
  text-transform: none;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tags-wrapper {
  height: fit-content;
  width: 250px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  top: 88px;
}

.item-date {
  color: #616161;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
}

.find-wrapper {
  padding: 16px 20px;
  background: #f9f9f9;
  border-radius: 8px;
}
.tags-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-item {
  display: flex;
  align-items: center;
  padding: 4px 16px;

  border-radius: 100px;
  border: 1px solid #dfdfdf;
  background: #fff;
  color: #616161;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.tags-wrapper-mobile {
  display: none;
}

.item-tag {
  display: flex;
  height: 24px;
  padding: 0px 8px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 4px;
  background: #ecf2ff;
  color: #525252;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  /* 160% */
  text-transform: uppercase;
}

.search-bar {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
  max-width: 288px;
  width: 100%;
  height: 48px;
}

.search-bar input {
  height: 40px;
  border: none;
  outline: none;
  padding: 0;
  width: 100%;
  max-width: 300px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}

.search-bar input:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.toc-mobile {
  display: none;
}

.ProseMirror a[align="center"] {
  margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
  .toc-wrapper {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .mobile_item {
    display: flex !important;
  }

  .search-bar {
    max-width: none;
  }

  .item_wrap {
    width: calc(50% - 8px);
  }

  .body-wrapper {
    gap: 20px;
  }

  a.mobile_item {
    margin-top: 20px;
  }

  .form-knowledge {
    flex-wrap: wrap;
  }

  .form-knowledge .submit-email-btn {
    width: 100%;
  }
  .content-container {
    justify-content: center;
  }

  .tags-wrapper {
    display: none;
  }

  .tags-wrapper-mobile {
    display: flex;
    width: 100%;
    position: static;
  }
}

@media only screen and (max-width: 600px) {
  .mobile_item {
    display: flex !important;
  }

  .body-wrapper {
    gap: 48px;
  }

  .item_wrap {
    width: 100%;
  }

  a.mobile_item {
    margin-top: 0;
  }

  .propose-form-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
  }

  .propose-form {
    padding: 16px;
  }

  .submit-btn {
    justify-content: center;
  }
}
