/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./public/assets/css/module-css/header.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
/** main-header **/

.main-header {
  position: relative;
  left: 0px;
  top: 0px;
  right: 0px;
  z-index: 999;
  width: 100%;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

.main-header .theme-btn {
  min-width: 180px;
}

.header-lower {
  /* background: color-mix(in srgb, var(--theme-color-light) 30%, transparent); */
}

.sticky-header {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  left: 0px;
  top: 0px;
  width: 100%;
  display: none;
  z-index: 0;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;

}

.fixed-header .sticky-header {
  z-index: 999;
  opacity: 1;
  display: block;
  visibility: visible;
  -op-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -op-animation-duration: 500ms;
  animation-duration: 500ms;
  -op-animation-timing-function: linear;
  animation-timing-function: linear;
  -op-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

/** header-top **/

.header-top {
  position: relative;
  width: 100%;
  background: var(--gradient-theme-color);
  padding: 10px 0px;
}

.header-top .top-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-left: 360px; */
}

.header-top .links-list {
  position: relative;
  display: flex;
  align-items: center;
}

.header-top .links-list li {
  margin-right: 35px;
}

.header-top .links-list li:last-child {
  margin: 0px !important;
}

.header-top .links-list li a {
  position: relative;
  display: inline-block;
  color: #fff;
}

.header-top .links-list li a:hover {
  color: var(--theme-color-light) !important;
}

.header-top .info-list {
  position: relative;
  display: flex;
  align-items: center;
}

.header-top .info-list li {
  position: relative;
  /* margin-right: 40px; */
  padding-left: 32px;
  color: #fff;
}

.header-top .info-list li:last-child {
  margin: 0px !important;
}

.header-top .info-list li i {
  vertical-align: -0.2em;
  top: 3px;
  font-size: 1.33333em;
  color: var(--secondary-color-light) !important;
}


.header-top .info-list select {
  /* position: relative; */
  -webkit-appearance: button !important;
  -moz-appearance: button !important;
  appearance: button !important;
  cursor: pointer;
  color: #fff;
  font-size: 16px;

}

.header-top .info-list select option {
  color: var(--secondary-color);

  cursor: pointer;
}

.header-top .info-list select option:hover {
  background-color: var(--theme-color) !important;
  background: var(--theme-color) !important;
}


.header-top .info-list li a {
  position: relative;
  display: inline-block;
  color: var(--title-color-light);
}

.header-top .info-list li a:hover {
  color: var(--theme-color-light) !important;
}

.main-header .outer-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 80px;
}

.main-header .outer-box .logo-box {
  position: relative;
  /* background: none !important; */
  /* opacity: 0.15; */
  padding: 0px 25px 0px 25px;
  /* margin-top: -60px; */
  margin-left: -60px;
  background: var(--secondary-color-white);
  z-index: 1;
}

.main-header .outer-box .logo-box .shape {
  position: absolute;
  top: 0px;
  right: -23px;
  width: 24px;
  height: 100%;
  background: var(--secondary-color-white);
  -webkit-clip-path: polygon(100% 0%, 0% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
          clip-path: polygon(100% 0%, 0% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
}

.main-header .outer-box .logo-box .shape .bottom {
  bottom: 0px;
  height: 1px;
  width: 100%;
  position: absolute;
  background: white;
  display: block;

}

.main-header .outer-box .logo-box .shape {
  position: absolute;
  top: 0px;
  right: -23px;
  width: 24px;
  height: 100%;
  background: var(--secondary-color-white);
  -webkit-clip-path: polygon(100% 0%, 0% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
          clip-path: polygon(100% 0%, 0% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
}

.main-header .outer-box .logo-box .shape:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--secondary-color-white);
}


.main-header .outer-box .logo-box .shape:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--secondary-color-white);
}

.main-header .outer-box .logo-box:after {
  position: absolute;
  content: '';
  top: 0;
  right: -31px;
  width: 32px;
  height: 100%;
  background: var(--secondary-color-white);
  -webkit-clip-path: polygon(100% 0%, 25% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
          clip-path: polygon(100% 0%, 25% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
  opacity: 0.15;
}

.main-header .outer-box .logo-box:before {
  position: absolute;
  content: '';
  background: var(--secondary-color-white);
  width: 5000px;
  height: 100%;
  top: 0px;
  right: 0px;
  z-index: -1;
}


.main-header .theme-btn:hover {
  color: var(--theme-color-light);
  border: 1px solid var(--secondary-color-white);
}

.main-header .theme-btn:hover:before {
  border-radius: 0;
  transform: scale(1) rotate(-180deg);
}

.main-header .theme-btn:hover:after {
  border-radius: 0;
  transform: scale(1) rotate(180deg);
  color: var(--secondary-color-light);
  border: 1px solid var(--secondary-color-white);
  background: var(--secondary-color-white);
}

.main-header.fixed-header .theme-btn:hover {
  color: var(--theme-color-light);
  border: 1px solid var(--theme-color-dark);
}

.main-header.fixed-header .theme-btn:hover:before {
  border-radius: 0;
  transform: scale(1) rotate(-180deg);
}

.main-header.fixed-header .theme-btn:hover:after {
  border-radius: 0;
  transform: scale(1) rotate(180deg);
  color: var(--secondary-color-light);
  border: 1px solid var(--theme-color-dark);
  background: var(--theme-color-dark);
}




.main-header .menu-right-content {
  position: relative;
  display: flex;
  align-items: center;
}



.main-header .menu-area {
  position: relative;
  display: flex;
  align-items: center;
}


/** main-menu **/

.main-menu {
  float: left;
}

.main-menu .navbar-collapse {
  padding: 0px;
  display: block !important;
}

.main-menu .navigation {
  margin: 0px;
}

.main-menu .navigation>li {
  position: inherit;
  float: left;
  z-index: 2;
  margin: 0px 20px;
  transition: all 300ms ease;
}

.main-menu .navigation>li:last-child {
  margin-right: 0px !important;
}

.main-menu .navigation>li:first-child {
  margin-left: 0px !important;
}

.main-menu .navigation>li>a {
  position: relative;
  display: block;
  text-align: center;
  font-size: 18px;
  line-height: 26px;
  padding-top: 37px;
  padding-bottom: 37px;
  font-weight: 600;
  font-family: var(--title-font);
  opacity: 1;
  color: var(--title-color);
  z-index: 1;
  transition: all 300ms ease;
}

.main-menu .navigation>li.dropdown>a {
  padding-right: 17px;
}

.main-menu .navigation>li.dropdown>a:hover {
  color: var(--theme-color-light);
}

.main-menu .navigation>li.current>a,
.main-menu .navigation>li:hover>a {}

.main-menu .navigation>li.dropdown>a:before {
  position: absolute;
  content: "\f107";
  font-family: 'Font Awesome 5 Pro';
  /* top: 27px; */
  right: 0px;
  font-weight: 500;
  transition: all 300ms ease;
  color: var(--theme-color-light);
}

/* .main-menu .navigation>li>ul {

  visibility: hidden; 

} */

.submenu {
  position: absolute;
  left: inherit;
  top: 100%;
  width: 260px;
  margin-top: 15px;
  z-index: 100;
  /* display: none; */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  background: var(--secondary-color-white);
  /* opacity: 0; */
  border-radius: 8px;
  border-top: 5px solid var(--theme-color-light);
  animation: menuFadeIn 300ms ease forwards;
}

.submenu.fadeOut {
  animation: menuFadeOut 300ms ease forwards;
  pointer-events: none !important;
}


.main-menu .navigation>li>ul.from-right {
  left: auto;
  right: 0px;
}

.main-menu .navigation>li>ul>li {
  position: relative;
  width: 100%;
  padding: 0px 10px;
}

.main-menu .navigation>li>ul>li>a,
.main-menu .navigation>li>.megamenu li>a {
  position: relative;
  display: block;
  padding: 10px 25px;
  line-height: 24px;
  font-weight: 400;
  font-size: 16px;
  text-transform: capitalize;
  font-family: var(--text-font);
  color: var(--title-color);
  border-bottom: 1px solid #dbe5e2;

  text-align: left;
  /* transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease; */
}

/* 
.main-menu .navigation>li>ul>li>a {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
} */

.main-menu .navigation>li>.megamenu li>a {
  padding-left: 0px;
}

.main-menu .navigation>li>.megamenu h4 {
  display: block;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
}

.main-menu .navigation>li>ul>li>a:hover,
.main-menu .navigation>li>.megamenu li>a:hover {
  padding-left: 35px;
}

.main-menu .navigation>li>ul>li:last-child>a,
.main-menu .navigation>li>.megamenu li:last-child>a {
  border-bottom: none;
}

.main-menu .navigation>li>ul>li.dropdown>a:after {
  font-family: 'Font Awesome 5 Pro';
  content: "\f105";
  position: absolute;
  right: 20px;
  top: 10px;
  display: block;
  line-height: 24px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  z-index: 5;
}

.main-menu .navigation>li>ul>li>ul {
  position: absolute;
  left: 100%;
  top: 0%;
  margin-top: 15px;
  margin-left: 10px;
  width: 260px;
  z-index: 100;
  /* display: none; */
  border-radius: 8px;
  padding: 10px 0px;
  border-top: 5px solid var(--theme-color-light);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  background: #fff;
  /* transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease; */
}

.main-menu .navigation>li>ul>li>ul.from-right {
  left: auto;
  right: 0px;
}

.main-menu .navigation>li>ul>li>ul>li {
  position: relative;
  width: 100%;
  padding: 0px 10px;
}

/* .main-menu .navigation>li>ul>li>ul>li>a {
 border-top: 1px solid rgba(0, 0, 0, 0.1);
} */

.main-menu .navigation>li>ul>li>ul>li:last-child {
  border-bottom: none;
}

.main-menu .navigation>li>ul>li>ul>li>a {
  position: relative;
  display: block;
  padding: 10px 25px;
  line-height: 24px;
  /* font-weight: 600; */
  font-size: 16px;
  text-transform: capitalize;
  font-family: var(--title-font);
  border-bottom: 1px solid #dbe5e2;
  color: var(--title-color);
  text-align: left;
  /* transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease; */
}

.main-menu .navigation>li>ul>li>ul>li:last-child>a {
  border-bottom: none;
}

.main-menu .navigation>li>ul>li>ul>li>a:hover {
  padding-left: 35px;
}

.main-menu .navigation>li>ul>li>ul>li.dropdown>a:after {
  font-family: 'Font Awesome 5 Pro';
  content: "\f105";
  position: absolute;
  right: 20px;
  top: 12px;
  display: block;
  line-height: 24px;
  font-size: 16px;
  font-weight: 900;
  z-index: 5;
}

.main-menu .navigation>li.dropdown:hover>ul,
.main-menu .navigation>li.dropdown:hover>.megamenu {
  visibility: visible;
  opacity: 1;
  margin-top: 0px;
  top: 100%;
}

.main-menu .navigation li>ul>li.dropdown:hover>ul {
  visibility: visible;
  opacity: 1;
  top: 0%;
  margin-top: 0px;
}

/* Animations cho submenu */
/* @keyframes submenuFadeIn {
  from {
    opacity: 0;
    margin-top: 15px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

@keyframes submenuFadeOut {
  from {
    opacity: 1;
    margin-top: 0;
  }
  to {
    opacity: 0;
    margin-top: 15px;
    visibility: hidden;
  }
} */

/* Class cho submenu đang fadeout */

/* .main-menu .navigation .dropdown .menusub.fadeOut {
  animation: menuFadeOut 300ms ease forwards;
  pointer-events: none !important;
} */

.main-menu .navigation li.dropdown .dropdown-btn {
  position: absolute;
  right: -32px;
  top: 66px;
  width: 34px;
  height: 30px;
  text-align: center;
  font-size: 18px;
  line-height: 26px;
  color: #3b3b3b;
  cursor: pointer;
  display: none;
  z-index: 5;
  transition: all 300ms ease;
}

.main-menu .navigation li.current.dropdown .dropdown-btn,
.main-menu .navigation li:hover .dropdown-btn {}

.main-menu .navigation li.dropdown ul li.dropdown .dropdown-btn {
  display: none;
}

.menu-area .mobile-nav-toggler {
  position: relative;
  float: right;
  font-size: 40px;
  line-height: 50px;
  cursor: pointer;
  background: var(--theme-color);
  display: none;
}

.mobile-menu .nav-logo img {
  max-width: 160px;
}

.logo img {
  width: 280px;
  padding: 10px 5px 10px 5px;
}

.menu-area .mobile-nav-toggler .icon-bar {
  position: relative;
  height: 2px;
  width: 30px;
  display: block;
  margin-bottom: 5px;
  background-color: #fff;
  transition: all 300ms ease;
}

.menu-area .mobile-nav-toggler .icon-bar:last-child {
  margin-bottom: 0px;
}

/** Mega Menu Styles **/

/* Animations cho mega menu */
@keyframes menuFadeIn {
  from {
    opacity: 0;
    margin-top: 15px;
  }

  to {
    opacity: 1;
    margin-top: 0;
  }
}

@keyframes menuFadeOut {
  from {
    opacity: 1;
    margin-top: 0;
  }

  to {
    opacity: 0;
    margin-top: 15px;
    visibility: hidden;
  }
}

.mega-menu-container {
  width: auto;
  position: absolute;
  background: var(--secondary-color-white);
  border-top: 5px solid var(--theme-color-light);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 20px 30px;
  z-index: 100;
  animation: menuFadeIn 300ms ease forwards;
}

.mega-menu-container.fadeOut {
  animation: menuFadeOut 300ms ease forwards;
  pointer-events: none;
}

.mega-menu-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.mega-menu-column {
  min-width: 230px;
  width: auto;
  margin-right: 30px;
  margin-bottom: 15px;
}

.mega-menu-column h4 {
  border-bottom: 1px solid #dbe5e2;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
}

.mega-menu-column h4 a {
  color: var(--title-color);
  transition: all 300ms ease;
}

.mega-menu-column h4 a:hover {
  color: var(--theme-color-light);
}

.mega-menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-column ul li {
  padding: 0;
  border-bottom: 1px solid #dbe5e2;
  margin: 0;
}

.mega-menu-column ul li:last-child {
  border-bottom: none;
}

.mega-menu-column ul li a {
  position: relative;
  display: block;
  padding: 10px 25px 10px 0;
  line-height: 24px;
  font-weight: 400;
  font-size: 16px;
  text-transform: capitalize;
  font-family: var(--text-font);
  color: var(--title-color);
  text-align: left;
  transition: all 300ms ease;
}

.mega-menu-column ul li a:hover {
  color: var(--theme-color-light);
  padding-left: 10px;
  padding-right: 15px;
}

/* Điều chỉnh cho menu đa cấp mới */
.main-menu .navigation>li.dropdown {
  position: static;
}

.main-menu .navigation>li.dropdown.current>a {
  color: var(--theme-color-light);
}

/* Style khi hover vào dropdown */
.main-menu .navigation>li.dropdown:hover .mega-menu-container,
.main-menu .navigation>li.dropdown:hover ul {
  visibility: visible;
  opacity: 1;
}

/* Hiệu ứng hover cho submenu cũ */
.main-menu .navigation>li>ul>li>a:hover,
.main-menu .navigation>li>.megamenu li>a:hover {
  padding-left: 35px;
}

.main-menu .navigation>li>ul>li>ul>li>a:hover {
  padding-left: 35px;
}

/* Style cho dropdown khi hover */
.main-menu .navigation>li.dropdown:hover>a {
  color: var(--theme-color-light);
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./public/assets/css/module-css/blog.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
/* Blog Categories Section Styles - Updated for Horizontal Scroll */
.blog-categories-section {
  position: relative;
  display: block;
  padding: 50px 0 20px;
  background-color: #f8f8f8;
}

.blog-categories-section .categories-heading {
  position: relative;
  display: block;
  margin-bottom: 30px;
  text-align: center;
}

.blog-categories-section .categories-heading h2 {
  position: relative;
  display: inline-block;
  font-size: 36px;
  line-height: 46px;
  font-weight: 700;
  color: #1e1d1d;
  margin-bottom: 0;
}

.blog-categories-section .categories-heading h2:after {
  position: absolute;
  content: '';
  width: 70px;
  height: 2px;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  background: var(--theme-color, #4582ff);
}

/* Horizontal Categories Container */
.categories-horizontal-container {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* Scroll Arrows */
.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.scroll-arrow:hover:not(.disabled) {
  background: var(--theme-color, #4582ff);
  color: white;
  border-color: var(--theme-color, #4582ff);
  transform: scale(1.05);
}

.scroll-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Categories Scroll Container */
.categories-scroll-container {
  flex: 1 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Horizontal Categories List */
.blog-categories-list-horizontal {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  margin: 0;
  list-style: none;
  min-width: max-content;
}

.blog-categories-list-horizontal li {
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.category-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 25px;
  padding: 10px 20px;
  min-width: 120px;
  transition: all 400ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  white-space: nowrap;
}

.category-item:hover {
  /* background: var(--theme-color-light, #4582ff); */
  background: var(--theme-color-light);

  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(69, 130, 255, 0.3);
  text-decoration: none;
}


.category-name {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #1e1d1d;
  transition: all 400ms ease;
}

.category-count {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--theme-color-light, #4582ff);
  margin-left: 10px;
  transition: all 400ms ease;
}

.category-item:hover .category-name,
.category-item.active .category-name {
  color: #ffffff;
}

.category-item:hover .category-count,
.category-item.active .category-count {
  background: #ffffff;
  color: var(--theme-color, #4582ff);
}

.category-item.active {
  background: var(--theme-color, #4582ff);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(69, 130, 255, 0.3);
}

/* Responsive styles */
@media only screen and (max-width: 1199px) {
  .blog-categories-section {
    padding: 40px 0 10px;
  }

  .blog-categories-section .categories-heading h2 {
    font-size: 32px;
    line-height: 42px;
  }
}

@media only screen and (max-width: 991px) {
  .scroll-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .category-item {
    min-width: 100px;
    padding: 10px 16px;
  }

  .category-name {
    font-size: 14px;
  }

  .category-count {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-categories-section {
    padding: 30px 0 10px;
  }

  .blog-categories-section .categories-heading h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .categories-horizontal-container {
    gap: 10px;
  }

  .scroll-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .blog-categories-section .categories-heading h2 {
    font-size: 24px;
    line-height: 34px;
  }

  .category-item {
    min-width: 90px;
    padding: 8px 12px;
  }

  .category-name {
    font-size: 13px;
  }
}

/* CSS cho thanh tìm kiếm và các phần khác giữ nguyên */
.blog-header-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.blog-search-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.blog-search-wrapper {
  position: relative;
  width: 300px;
  z-index: 1;
}

.blog-search-wrapper input {
  position: relative;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  padding: 10px 20px;
  padding-right: 60px;
  font-size: 16px;
  color: #777777;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 400ms ease;
}

.blog-search-wrapper input:focus {
  border-color: var(--theme-color);
  outline: none;
}

.blog-search-wrapper button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: none;
  background: var(--theme-color-light);
  color: #ffffff;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 400ms ease;
  z-index: 2;
}

.blog-search-wrapper button:hover {
  background: #333333;
}

@media only screen and (max-width: 991px) {
  .blog-search-wrapper {
    width: 250px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-search-wrapper {
    width: 100%;
  }
}

/* Phần trên đây thêm để cải thiện tính năng category cuộn ngang như của youtube*/

/* Blog Categories Section Styles */
.blog-categories-section {
  position: relative;
  display: block;
  padding: 50px 0 20px;
  background-color: #f8f8f8;
}

.blog-categories-section .categories-heading {
  position: relative;
  display: block;
  margin-bottom: 30px;
  text-align: center;
}

.blog-categories-section .categories-heading h2 {
  position: relative;
  display: inline-block;
  font-size: 36px;
  line-height: 46px;
  font-weight: 700;
  color: #1e1d1d;
  margin-bottom: 0;
}

.blog-categories-section .categories-heading h2:after {
  position: absolute;
  content: '';
  width: 70px;
  height: 2px;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  background: var(--theme-color, #4582ff);
}

.blog-categories-section .categories-container {
  position: relative;
  display: block;
}

.blog-categories-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -10px;
  padding: 0;
  list-style: none;
}

.blog-categories-list li {
  position: relative;
  padding: 0 10px;
  margin-bottom: 20px;
}

.category-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 5px;
  min-width: 150px;
  transition: all 400ms ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-direction: column;
}

.category-item:hover {
  background: var(--theme-color, #4582ff);
  transform: translateY(-5px);
}

.category-name {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #1e1d1d;
  transition: all 400ms ease;
  align-items: center;
  flex: auto;
}

.category-count {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--theme-color-light);
  margin-left: 10px;
  transition: all 400ms ease;
}

.category-item:hover .category-name {
  color: #ffffff;
}

.category-item:hover .category-count {
  background: #ffffff;
  color: var(--theme-color, #4582ff);
}

/* Responsive styles */
@media only screen and (max-width: 1199px) {
  .blog-categories-section {
    padding: 40px 0 10px;
  }

  .blog-categories-section .categories-heading h2 {
    font-size: 32px;
    line-height: 42px;
  }
}

@media only screen and (max-width: 991px) {
  .category-item {
    min-width: 160px;
    padding: 12px 20px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-categories-section {
    padding: 30px 0 10px;
  }

  .blog-categories-section .categories-heading h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .blog-categories-list {
    margin: 0 -5px;
  }

  .blog-categories-list li {
    padding: 0 5px;
    margin-bottom: 15px;
  }

  .category-item {
    min-width: 140px;
    padding: 10px 15px;
  }

  .category-name {
    font-size: 15px;
  }

  .category-count {
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .blog-categories-section .categories-heading h2 {
    font-size: 24px;
    line-height: 34px;
  }
}


/* CSS mới chỉ cho thanh tìm kiếm và danh mục "Tất cả" */

/* Blog Header Section with Search */
/* CSS mới chỉ cho thanh tìm kiếm và danh mục "Tất cả" */

/* Blog Header Section with Search */
.blog-header-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.blog-search-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.blog-search-wrapper {
  position: relative;
  width: 300px;
  z-index: 1;
}

.blog-search-wrapper input {
  position: relative;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  padding: 10px 20px;
  padding-right: 60px;
  font-size: 16px;
  color: #777777;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 400ms ease;
}

.blog-search-wrapper input:focus {
  border-color: var(--theme-color);
  outline: none;
}

.blog-search-wrapper button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: none;
  background: var(--theme-color-light);
  color: #ffffff;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 400ms ease;
  z-index: 2;
}

.blog-search-wrapper button:hover {
  background: #333333;
}

/* CSS cho danh mục "Tất cả" */
.category-item.active {
  background: var(--theme-color-light);
}

.category-item.active .category-name {
  color: #ffffff;
}

.category-item.active .category-count {
  background: #ffffff;
  color: var(--theme-color, #4582ff);
}

/* Media Queries chỉ cho thanh tìm kiếm */
@media only screen and (max-width: 991px) {
  .blog-search-wrapper {
    width: 250px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-search-wrapper {
    width: 100%;
  }
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./public/assets/css/pages/markets-insight/blog-list.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
/* Blog Posts Modern Styles */
.blog-posts-container {
    padding: 2rem 0;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.blog-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
}

.blog-category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

/* Content Section */
.blog-content {
    padding: 1.5rem;
    flex: 1 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    color: #64748b;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0px 15px 0px 15px;
}

.blog-meta i {
    color: #3b82f6;
    font-size: 0.75rem;
}

.blog-category {
    text-transform: uppercase;
    font-weight: 600;
    background: #eee;
    border-radius: 15px;
    border: 1px solid;

}

.blog-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    /* color: #3b82f6; */
    color: var(--theme-color-light);
}

.blog-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1 1;
}

/* Footer Section */
.blog-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #2563eb;
    gap: 0.75rem;
}

.read-more-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(2px);
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .blog-card {
        background: #1e293b;
        border: 1px solid #334155;
    }

    .blog-title {
        color: #f1f5f9;
    }

    .blog-excerpt {
        color: #94a3b8;
    }

    .blog-footer {
        border-top-color: #334155;
    }

    .blog-category-badge {
        background: rgba(30, 41, 59, 0.95);
        color: #f1f5f9;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-posts-container {
        padding: 1rem 0;
    }

    .blog-image-wrapper {
        /* height: 200px; */
        height: auto;
        /*Mobile nên để chiều cao tự động*/
    }

    .blog-content {
        padding: 1.25rem;
    }

    .blog-title {
        font-size: 1.125rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .blog-image-wrapper {
        /* height: 180px;     */
        height: auto;
        /*Mobile nên để chiều cao tự động*/

    }

    .blog-overlay {
        padding: 1rem;
    }

    .blog-category-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}
