@charset "UTF-8";
.breadcrumb {
  display: none;
}

.blog-page {
  overflow-x: hidden;
}

.main-title-blog {
  color: #383D40;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .main-title-blog {
    font-size: 1.625rem;
  }
}

.blog-page .content-wrap {
  background: url(/images/blog-bg.svg?7862846299644e5fb06b85fe33c37254) center top no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 60px;
  padding-bottom: 68px;
}

.blog-heading {
  margin-bottom: 40px;
  line-height: 1.5;
}
.blog-heading h3 {
  font-weight: 400;
  color: #707070;
  line-height: 1.5;
  margin-bottom: 0px;
}
.blog-heading h1 {
  color: #AB0921;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 0px;
  line-height: 1.5;
}

.blog-list-page .blog-row.row {
  margin-left: -12px;
  margin-right: -12px;
}
.blog-list-page .blog-row.row [class*=col-] {
  padding-left: 12px;
  padding-right: 12px;
}

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

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

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

.widget-blogcatagory .box-search {
  display: none;
}

.blog-thumb {
  background: #fff;
  margin-bottom: 24px;
  height: calc(100% - 24px);
}
.blog-thumb:hover {
  background: #AB0921;
  color: #fff;
}
.blog-thumb:hover a, .blog-thumb:hover .blog-short-description {
  color: #fff !important;
}
.blog-thumb .blog-image-container {
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
.blog-thumb .blog-content {
  padding: 16px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.blog-thumb .post-title {
  margin-bottom: 0px;
}
.blog-thumb .link-blog-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  height: 48px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #AB0921;
  font-weight: 700;
}
.blog-thumb .post-short-description, .blog-thumb .blog-short-description {
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 63px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 0px;
  white-space: normal;
  color: #909090;
}
.blog-thumb .readmore {
  color: #AB0921;
}
.blog-thumb .tag-blog {
  display: none;
}

.blogcatagory-widget {
  padding: 24px 32px;
  background: #fff;
  border-bottom: none;
  margin-bottom: 40px;
}

.category-dropdown .btn-outline-primary {
  border-radius: 4px;
  font-weight: 700;
  border-color: #E1E1E1;
  color: #212121;
  padding: 10px 40px 10px 16px;
  text-align: left;
  width: 100%;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.category-dropdown .btn-outline-primary:hover, .category-dropdown .btn-outline-primary:focus, .category-dropdown .btn-outline-primary.active {
  color: #212121;
}
.category-dropdown .btn-outline-primary .caret {
  margin-left: auto;
  position: absolute;
  right: 14px;
  font-size: 19px;
  line-height: 1.5;
}
.category-dropdown .dropdown-menu {
  width: 100%;
}
.category-dropdown .dropdown-menu a {
  padding: 9px 16px;
  display: block;
}

.blogcatagory-widget .tree-catagory {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0px;
  margin-bottom: 0px;
}
.blogcatagory-widget .tree-catagory li:not(:last-child) {
  margin-right: 32px;
}
.blogcatagory-widget .tree-catagory li a {
  padding: 8px 0;
  border: none;
  border-bottom: 3px solid transparent !important;
  font-size: 16px;
  color: #383D40;
  transition: all 0.3s ease 0s;
}
.blogcatagory-widget .tree-catagory li a:hover, .blogcatagory-widget .tree-catagory li a.active {
  border-color: #AB0921 !important;
  font-weight: 700;
}

.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 {
  margin-bottom: 32px;
  font-size: 1.625rem;
  font-style: normal;
  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: 385px;
}
@media screen and (max-width: 768px) {
  .bg-blog {
    height: 104px;
  }
}
.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 {
  width: 160px;
  margin-top: 16px;
}
.loading-blog span, .loading-blog svg, .loading-blog label, .loading-blog i {
  position: relative;
  z-index: 1;
}

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

@media all and (min-width: 767px) {
  .desk-hide {
    display: none !important;
  }
}
@media all and (max-width: 767px) {
  .mob-hide {
    display: none !important;
  }
  .blog-page .content-wrap {
    padding-top: 24px;
    padding-bottom: 32px;
  }
  .blogcatagory-widget {
    padding: 24px;
    margin-bottom: 32px;
  }
  .blog-thumb {
    margin-bottom: 32px;
  }
  .blog-thumb .blog-content {
    gap: 8px;
  }
  .blog-thumb .link-blog-name {
    color: #212121;
  }
  .blog-thumb .blog-short-description {
    height: auto;
    max-height: 63px;
  }
  .loading-blog {
    margin-top: 0px;
  }
}
