@charset "UTF-8";
.blog-page {
  overflow-x: hidden; }

.main-title {
  padding: 24px 0 48px 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 150%;
  /* 39px */
  text-transform: uppercase;
  text-align: center; }

.blog-page .content-wrap {
  background: url("../../../../images/blog-bg.svg") center top no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-attachment: fixed;
  padding-top: 0px;
  padding-bottom: 69px; }

.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: #00732E;
    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: px-to-rem(14px);
  font-weight: 400;
  line-height: 150%; }

.hr-blog {
  border-top: 1px solid #00732E;
  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);
  /*&:hover {
      background: $primary; color: $white;
      a, .blog-short-description {
          color: $white !important;
      }
  }*/
  /*.blog-content {
      padding: 16px 24px 24px 24px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
  }*/
  /*.post-title {
      margin-bottom: 0px;
  }
  .link-blog-name {
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: $font-normal;
      height: 48px;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      color: $primary;
      font-weight: 700;
  }
  .post-short-description, .blog-short-description {
      font-size: $font-normal*.875;
      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: $color-desc;
  }
  .readmore {
      color: $primary;
  }*/ }
  .blog-thumb .blog-image-container {
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out; }
  .blog-thumb .blog-content {
    padding-top: 16px; }
  .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: px-to-rem(26px);
  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 {
        object-fit: cover;
        height: 100%; } }
  .bg-blog .text-banner-main {
    color: #383D40;
    font-size: px-to-rem(60px);
    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: px-to-rem(26px); } }
  .bg-blog .text-sub {
    color: #383D40;
    font-size: px-to-rem(18px);
    font-weight: 500;
    line-height: 150%;
    /* 27px */
    text-transform: uppercase; }
    @media screen and (max-width: 768px) {
      .bg-blog .text-sub {
        font-size: px-to-rem(9px); } }

.loading-blog {
  min-width: 200px;
  margin-top: 36px;
  text-transform: uppercase; }
  .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;
  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  */
.blog-details {
  color: #333;
  font-size: 26px;
  font-weight: 600;
  line-height: 150%;
  /* 39px */
  text-transform: uppercase;
  margin-bottom: 0px; }

.blog-social {
  color: #707070; }

@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 {
    background: url("../../../../images/blog-mobile-bg.svg") center top no-repeat;
    padding-top: 0px;
    padding-bottom: 32px;
    background-size: 100% auto;
    background-position: center top; }

  .main-title {
    padding-top: 32px;
    padding-bottom: 32px;
    font-size: 40px;
    color: #333333;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); }

  .blogcatagory-widget {
    padding: 24px;
    margin-bottom: 32px; }

  .blog-thumb {
    margin-bottom: 32px; }
    .blog-thumb .blog-content {
      gap: 8px; }

  .loading-blog {
    margin-top: 16px; } }
