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

  font-style: normal;
}

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

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

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

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


.tr_first {
  width: 100%;
}


.item_wrap {
  width: 100%;
}

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

.image-container img {
  border-radius: 16px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  /* This ensures the image fills the container without distortion */
}



.item-title {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  /* 133.333% */
  /* 140% */
}

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

}

.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: column;
  align-items: flex-start;
}

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

.web-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 8px
}

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

.search-bar input {
  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;

}

.pagination {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}

.pagination div {
  color: #848484;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 114.286% */


  display: flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #F6F6F6;

}

.pagination div.active {
  color: #FFF;
  background: #828282
}

.pagination-numbers {
  overflow: auto;
}

.pagination-numbers li {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #F6F6F6;
  cursor: pointer;
}

.pagination-numbers button {
  cursor: pointer;
}

.pagination-numbers li.active {
  color: #FFF;
  background: #828282;
}

.blog-list {
  gap: 72px;

}


.item_wrap {
  width: calc(33.333333333% - 48px);
}


.select-menu {
  width: 100%;
  display: flex;
  position: relative;
}

.select-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border: 1px solid #DFDFDF;
  padding: 8px 16px;
  position: relative;
  border-radius: 8px;
  max-width: 288px;
  width: 100%;
}


.select-menu .options {
  z-index: 50;
  position: absolute;
  flex-direction: column;
  left: 0;
  top: 50px;
  backdrop-filter: blur(6px);
  justify-content: center;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  display: block;
  background: #FFF;
  display: none;
  width: 100%;
  max-width: 288px;
}

.select-menu.active .options {
  display: flex;

  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: translateX(0);

}

.option.active {
  color: #003BBA;
  background: #F2F2F2 !important;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}

.options .option {
  width: 100%;
  padding: 20px;
  align-items: center;
  gap: 10px;
  background: #FFF;

}

.options .option:hover {
  background: #F2F2F2;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}

.option i {
  font-size: 25px;
  margin-right: 12px;
}

.option .option-text {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  /* 140% */
}



.active-item {
  width: 100%;

}


.tabs_left {
  top: 96px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 4px 6px;
  border-radius: 10px;

}


.tabs_left li {
  color: #616161;
  /* Button text M18 */
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  /* 133.333% */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background: #FFF;
  border-radius: 8px;
}

.tabs_left li.active {
  color: #003BBA;
  font-weight: 700;
  background: #003BBA;
  color: #FFF;
}

.tabs_right {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}



.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;
}



.select-menu {
  display: none;
}

.description {
  overflow-y: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  box-orient: vertical;
  -webkit-line-clamp: 5;
  -moz-line-clamp: 5;
  -ms-line-clamp: 5;
  line-clamp: 5;
  color: #616161;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.top-blog-wrapper {
  padding: 24px;
  width: 100%;
  border-radius: 16px;
  background: #F9F9F9;
  margin-bottom: 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.top-blog-image {
  width: 50%;
  border-radius: 16px;
}

.top-blog-content {
  width: calc(50% - 20px);
}

.tabs_wrap {
  flex-direction: row;
}

.categories-item {
  width: max-content;
}

.category-wrapper {
  border: 1px solid #DFDFDF;
  background: #FFF;
  width: max-content;
  border-radius: 8px;
}

@media only screen and (max-width: 1024px) {
  .top-blog-wrapper {
    flex-direction: column;
    gap: 20px
  }

  .top-blog-image {
    width: 100%;
    border-radius: 16px;
  }

  .top-blog-content {
    width: 100%;
  }

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

  .pagination-numbers {
    gap: 8px !important;
  }

  .blog-list {
    row-gap: 48px;
    column-gap: 20px;
  }

  .search-bar {
    max-width: none;
    width: 100%;
    height: 48px;

  }

  .select-btn {
    max-width: none;
    width: 100%;

  }

  .select-menu .options {
    max-width: none;
    width: calc(50% - 4px);
  }

  .tabs_wrap {
    flex-wrap: wrap;
    gap: 4px !important;
  }

  .content-container {
    margin-top: 96px !important;
  }

  .tabs_right {
    width: 100%;
    min-height: none;
  }


  .select-menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .select-btn {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #DFDFDF;
    margin-bottom: 12px;

  }

  .select-menu .options {
    position: fixed;
    z-index: 1000;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgba(39, 41, 46, 0.50);
    backdrop-filter: blur(6px);
    justify-content: center;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transform: translateX(-100%);
    display: block;
  }

  .select-menu.active .options {
    display: flex;
    flex-direction: column;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transform: translateX(0);

  }

  .option.active {
    color: #003BBA;
  }

  .options .option {
    max-width: 268px;
    width: 100%;
    padding: 20px;
    align-items: center;
    gap: 10px;
    border-radius: 0px 100px 100px 0px;
    background: #FFF;
    margin-bottom: 12px;

  }

  .options .option:hover {
    background: #F2F2F2;
  }

  .option i {
    font-size: 25px;
    margin-right: 12px;
  }

  .option .option-text {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    /* 140% */
  }

  .tab-web {
    display: none !important;
  }
}

@media only screen and (max-width: 600px) {
  .top-blog-wrapper {
    display: none;
  }

  .tabs_wrap {
    top: 54px;
    flex-direction: column;
    gap: 4px !important;
  }

  .categories-item {
    width: max-content;
    min-width: max-content;
  }

  .category-wrapper {
    width: 100%;
    overflow-x: auto;
  }

  .select-menu.tabs_wrap {
    flex-wrap: wrap;
  }

  .pagination-numbers {
    gap: 4px !important;
  }

  .select-btn {
    margin-bottom: 0;
  }

  .select-menu {
    gap: 8px;
  }

  .tabs_wrap {
    margin-bottom: 24px;
  }

  .tabs_right {
    width: 100%;
    min-height: none;

  }

  .image-container {
    max-width: none;
  }


  .item {
    flex-direction: column;
  }

  .item-img {
    width: 100%;
    height: 81%;
  }



  .item_wrap {
    width: 100%;
  }

  .form-input {
    gap: 16px;
    padding: 16px 28px;
    background: #F9F9F9;
    position: sticky;
    top: 70px;
  }

  .select-menu .options {
    max-width: none;
    width: 100%;
  }
}