@charset "UTF-8";
.header-text-category .category {
  margin-top: 6px;
  margin-bottom: 40px;
  color: #212121;
  font-size: 2rem;
  font-weight: 500;
  line-height: 150%; /* 48px */
}

.breadcrumb {
  display: none !important;
}

.blog-page {
  overflow-x: hidden;
  background: #EAF2FF;
}

.main-title-blog {
  font-family: Fahkwang !important;
  color: #204269;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .main-title-blog {
    font-size: 1.5rem;
    font-weight: 700;
  }
}

.blog-list-page {
  margin-top: 60px;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .blog-list-page {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

.blog-details-date {
  color: #707070;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 150%;
  display: flex;
  align-items: center;
}

.hr-blog {
  border-top: 1px solid #A0D0E4;
  margin: 16px 0px;
}

.blog-content-row {
  margin-top: 46px;
}
@media screen and (max-width: 992px) {
  .blog-content-row {
    margin-top: 28px;
  }
}

.searchbtn-form {
  position: relative;
}
.searchbtn-form .icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
.searchbtn-form #blogsearch {
  padding: 10px 24px 10px 40px;
}

.content .box-widget-all .box-search {
  display: none;
  position: relative;
}
.content .box-widget-all .box-search .box-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
}
.content .box-widget-all .box-search .blogsearch {
  width: 299px;
  height: 42px;
  border-radius: 20px;
  border: 1px solid #E1E1E1;
  background: #FFF;
  margin-right: 40px;
  padding-left: 40px;
}
@media screen and (max-width: 992px) {
  .content .box-widget-all .box-search .blogsearch {
    width: 100%;
    margin-bottom: 14px;
  }
}
.content .box-widget-all .widget-blogcatagory {
  display: flex;
  overflow: auto;
}
@media screen and (max-width: 992px) {
  .content .box-widget-all .widget-blogcatagory {
    display: block;
  }
}
.content .box-widget-all .widget-blogSearch {
  display: none;
}
.content .box-widget-all.blogcategory {
  position: relative;
  width: 100vw;
  background-color: #F6F6F6;
  transform: translateX(-50%);
  left: 50%;
  padding: 24px 0px;
}
@media screen and (max-width: 992px) {
  .content .box-widget-all.blogcategory {
    padding: 16px 0px;
  }
}
.content .box-widget-all ul {
  list-style: none;
}
.content .box-widget-all .tree-catagory {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 32px;
  padding-left: 0px !important;
  margin-bottom: 0;
}
.content .box-widget-all .tree-catagory::-webkit-scrollbar {
  height: 0px;
}
.content .box-widget-all .tree-catagory a.link-blog-cat {
  width: -moz-max-content;
  width: max-content;
  display: inline-block;
  padding: 8px 0px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%; /* 24px */
  text-transform: uppercase;
}
.content .box-widget-all .tree-catagory a.link-blog-cat.active, .content .box-widget-all .tree-catagory a.link-blog-cat:hover {
  position: relative;
  background: none;
  font-weight: 500;
  color: #383D40;
}
.content .box-widget-all .tree-catagory a.link-blog-cat.active::after, .content .box-widget-all .tree-catagory a.link-blog-cat:hover::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #272262 0%, #00A69C 100%);
}

.box-blog:not(.slick-initialized) {
  overflow-x: auto;
  display: flex;
  flex-wrap: nowrap;
}
@media screen and (max-width: 922px) {
  .box-blog:not(.slick-initialized) {
    display: block;
    flex-wrap: unset;
  }
}

.blogrelated-section:has(.blog-items, .product-img-slider) {
  margin-top: 60px;
}
@media screen and (max-width: 922px) {
  .blogrelated-section {
    margin-top: 32px;
  }
}
@media screen and (min-width: 922px) {
  .blogrelated-section .item-box, .blogrelated-section .blog-column {
    margin: 12px 0;
    max-width: 340px;
  }
}
@media screen and (max-width: 922px) {
  .blogrelated-section .item-box, .blogrelated-section .blog-column {
    margin-bottom: 24px;
  }
  .blogrelated-section .item-box:last-child, .blogrelated-section .blog-column:last-child {
    margin-bottom: 0px;
  }
}
.blogrelated-section .sub-title {
  font-family: Fahkwang !important;
  margin-bottom: 32px;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 150%; /* 39px */
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-top: 32px;
}
.blogrelated-section .sub-title:first-child {
  margin-top: 0px;
}
@media screen and (max-width: 922px) {
  .blogrelated-section .sub-title {
    margin-bottom: 24px;
    margin-top: 32px;
  }
}

.bg-blog {
  overflow: hidden;
  position: relative;
  height: 350px;
  display: none !important;
}
@media screen and (max-width: 768px) {
  .bg-blog {
    height: 95px;
  }
}
.bg-blog .img-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  z-index: -1;
}
@media screen and (max-width: 992px) {
  .bg-blog .img-header {
    -o-object-fit: cover;
       object-fit: cover;
    height: 100%;
  }
}
.bg-blog .text-banner-main {
  color: #383D40;
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 100%; /* 75px */
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .bg-blog .text-banner-main {
    letter-spacing: 2.6px;
    margin-bottom: 4px;
    font-size: 1.625rem;
  }
}
.bg-blog .text-sub {
  color: #383D40;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 150%; /* 27px */
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .bg-blog .text-sub {
    font-size: 0.5625rem;
  }
}

.loading-blog {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%; /* 24px */
  text-transform: uppercase;
  border-radius: 20px;
  width: 199px;
  position: relative;
  display: inline-block;
  height: 42px;
  padding: 10px 24px 10px 20px;
  font-size: 1rem;
  line-height: 100%;
  color: #4F7B8E;
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 1px solid #4F7B8E; /* Transparent border initially */
  border-radius: 30px;
  cursor: pointer;
  transition: color 0.5s ease-in-out, border-color 0.5s ease-in-out, background-position 0.5s ease-in-out;
}
@media screen and (max-width: 992px) {
  .loading-blog {
    margin-top: 16px;
  }
}

.pagination .num-load {
  border-radius: 30px;
  border: 1px solid #C2C2C2;
  width: 40px;
  height: 40px;
  position: relative;
  background: transparent; /* No background */
  border: 1px solid transparent; /* Transparent border initially */
  transition: color 0.5s ease-in-out, border-color 0.5s ease-in-out, background-position 0.5s ease-in-out;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #C2C2C2 0%, #C2C2C2 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.pagination .num-load:hover {
  border: 2px solid transparent;
  background-size: 125%;
  background-position: 50%;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #272262 0%, #00A69C 100%);
}
.pagination .num-load.active {
  border-radius: 30px;
  border: 1px solid #C2C2C2;
  background: #E1E1E1;
  cursor: a;
}
.pagination .line-num {
  width: 10px;
  height: 1px;
  background: #C2C2C2;
}
.pagination .prev {
  border: 0;
  background: transparent;
}
.pagination .prev:after {
  content: "";
  display: block;
  background-image: url("/default_image/prev.svg");
  background-size: contain;
  width: 25px;
  height: 25px !important;
  filter: brightness(0) saturate(100%) invert(22%) sepia(6%) saturate(574%) hue-rotate(158deg) brightness(96%) contrast(92%);
}
.pagination .next {
  border: 0;
  background: transparent;
}
.pagination .next:after {
  content: "";
  display: block;
  background-image: url("/default_image/next.svg");
  background-size: contain;
  width: 25px;
  height: 25px !important;
  filter: brightness(0) saturate(100%) invert(22%) sepia(6%) saturate(574%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

.scroll-container {
  cursor: grab;
  cursor: -webkit-grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none; /* ป้องกันการเลือกข้อความขณะลาก */
}
.scroll-container::-webkit-scrollbar {
  display: none;
}
.scroll-container.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.blog-center-text {
  margin-top: 40px;
  margin-bottom: 40px;
}
@media screen and (max-width: 922px) {
  .blog-center-text {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}

.img-gap-one {
  padding-right: 40px;
}
@media screen and (max-width: 922px) {
  .img-gap-one {
    padding-right: 0px;
    padding-bottom: 24px;
  }
}

.img-gap-two {
  padding-left: 40px;
}
@media screen and (max-width: 922px) {
  .img-gap-two {
    padding-left: 0px;
    padding-top: 24px;
  }
}

@media screen and (max-width: 922px) {
  p {
    margin-bottom: 24px;
  }
}

.recentpost .container {
  all: unset !important;
}
.recentpost .blog-item {
  margin-bottom: 24px;
  padding: 0 12px;
}
@media screen and (max-width: 922px) {
  .recentpost .blog-item {
    padding: 0 16px;
  }
}
.recentpost .sub-title {
  margin-top: 60px !important;
}
@media screen and (max-width: 922px) {
  .recentpost .sub-title {
    margin-bottom: 24px;
    margin-top: 32px !important;
  }
}

.blog-detail-all-page .row-blog {
  row-gap: 40px;
}
@media screen and (max-width: 992px) {
  .blog-detail-all-page .row-blog {
    row-gap: 24px;
  }
}
.blog-detail-all-page .text-detail {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; /* 24px */
  margin-bottom: 24px;
}
.blog-detail-all-page .text-detail:last-child {
  margin-bottom: 0px;
}
.blog-detail-all-page .blog-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.blog-detail-all-page .blog-img {
  display: flex;
  align-items: center;
}
@media screen and (min-width: 992px) {
  .blog-detail-all-page .blog-right .blog-text {
    padding-left: 18px;
  }
}
@media screen and (min-width: 992px) {
  .blog-detail-all-page .blog-right.blog-img img {
    padding-left: 6px;
  }
}
@media screen and (min-width: 992px) {
  .blog-detail-all-page .blog-left .blog-text {
    padding-right: 18px;
  }
}
@media screen and (min-width: 992px) {
  .blog-detail-all-page .blog-left.blog-img img {
    padding-right: 6px;
  }
}
