.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.layout-blog {
  padding-bottom: 30px;
}

.title-page {
  margin-bottom: 20px;
  text-align: center;
}

.title-page img {
  display: block;
  margin: auto;
}

.title-page span,
.title-page a {
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--shop-color-main);
}

@media (max-width: 767px) {
  .title-page span,
  .title-page a {
    font-size: 20px;
  }
}

.title-page a:hover {
  color: var(--shop-color-secondary);
}

.list-blogs {
  background: #fff;
  border-radius: 15px;
  padding: 10px;
}

.article-details {
  min-height: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
}

.aside-content-blog {
  margin-bottom: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
}

.aside-content-blog .title-head-col {
  margin-bottom: 0;
  position: relative;
  font-size: 24px;
  font-weight: 700;
  color: var(--shop-color-main);
}

@media (max-width: 1199px) {
  .aside-content-blog .title-head-col {
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
  }
}

.aside-content-blog .title-head-col img {
  height: 25px;
  position: relative;
  top: -5px;
}

@media (max-width: 767px) {
  .aside-content-blog .title-head-col img {
    display: none;
  }
}

.aside-content-blog .nav-category {
  padding: 5px;
  border-radius: 0 0 10px 10px;
}

.aside-content-blog .nav-category ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.aside-content-blog .nav-category ul .nav-item .nav-link {
  display: block;
  font-size: 15px;
  color: #000;
}

.aside-content-blog .nav-category ul .nav-item .nav-link.pr-5 {
  padding-right: 30px;
}

.aside-content-blog .nav-category ul .nav-item.active > .nav-link,
.aside-content-blog .nav-category ul .nav-item:hover > .nav-link {
  color: var(--shop-color-main);
}

.aside-content-blog .nav-category ul .nav-item.active > .down_icon:after,
.aside-content-blog .nav-category ul .nav-item.active > .down_icon:before,
.aside-content-blog .nav-category ul .nav-item:hover > .down_icon:after,
.aside-content-blog .nav-category ul .nav-item:hover > .down_icon:before {
  background-color: var(--shop-color-main);
}

.aside-content-blog .nav-category ul .menu_down {
  padding-left: 10px !important;
}

.aside-content-blog .nav-category ul .down_icon {
  height: 20px !important;
  width: 20px !important;
  position: absolute;
  right: 7.5px;
  top: 21px;
  transform: translate(0, -50%);
  cursor: pointer;
}

.aside-content-blog .nav-category ul .down_icon:after,
.aside-content-blog .nav-category ul .down_icon:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  background-color: #000;
  transition:
    transform 0.4s ease-in-out,
    opacity 0.4s ease-in-out;
}

.aside-content-blog .nav-category ul .down_icon:before {
  width: 11px;
  height: 1px;
  opacity: 1;
}

.aside-content-blog .nav-category ul .down_icon:after {
  width: 1px;
  height: 11px;
}

.aside-content-blog .nav-category ul .down_icon.cls_mn:after,
.aside-content-blog .nav-category ul .down_icon.cls_mn:before {
  background-color: var(--shop-color-main);
  transform: translate(-50%, -50%) rotate(90deg);
}

.aside-content-blog .nav-category ul .down_icon.cls_mn:before {
  opacity: 0;
}

.aside-content-blog {
  max-width: 300px;
  margin-bottom: 20px;
}

/* --- Tiêu đề "Danh mục tin tức" --- */
.aside-content-blog .title-head-col {
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 16px;
}

/* --- Khung chứa danh sách (Fix lỗi dính chữ) --- */
.aside-content-blog .nav-category .nav {
  list-style: none;
  /* Bỏ dấu chấm đầu dòng */
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Ép các thẻ li xếp dọc xuống hàng */
  gap: 10px;
  /* Tạo khoảng cách giữa các mục */
}

/* --- Định dạng cho từng link --- */
.aside-content-blog .nav-link {
  display: block;
  /* Giúp link phủ kín chiều ngang và rớt dòng */
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: #f8f9fa;
  /* Nền xám nhạt */
  transition: all 0.3s ease;
  /* Hiệu ứng chuyển động mượt */
}

/* --- Hiệu ứng khi rê chuột vào (Hover) --- */
.aside-content-blog .nav-link:hover {
  background-color: #e9ecef;
  color: #0056b3;
  /* Đổi màu chữ */
  padding-left: 18px;
  /* Hiệu ứng trượt nhẹ sang phải */
}

.blog_noibat {
  border-radius: 15px;
  padding: 20px;
  background: #fff;
}

.blog_noibat h2 {
  margin-bottom: 15px;
  position: relative;
  font-size: 24px;
  font-weight: 700;
  color: var(--shop-color-main);
  display: inline-block;
}

.blog_noibat h2 a {
  color: var(--shop-color-main);
}

.blog_noibat h2 a:hover {
  color: var(--shop-color-secondary);
}

.blog_noibat h2 img {
  height: 25px;
  position: absolute;
  left: 100%;
  top: -2px;
}

.blog_noibat .blog_content {
  padding: 5px;
  border-radius: 0 0 10px 10px;
}

.blog_noibat .blog_content .item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog_noibat .blog_content .item .post-thumb {
  width: 90px;
  margin-right: 10px;
}

.blog_noibat .blog_content .item .contentright {
  width: calc(100% - 100px);
}

.blog_noibat .blog_content .item .contentright h3 {
  font-size: 14px;
  margin: 0;
  font-weight: 700;
}

.blog_noibat .blog_content .item .contentright h3 a {
  display: block;
  color: #000;
}

.blog_noibat .blog_content .item .contentright h3 a:hover {
  color: var(--shop-color-main);
}

.blog_noibat .blog_content .item:last-child {
  border: initial;
  margin: 0;
  padding: 0;
}

.layout-article {
  padding-bottom: 30px;
}

.article-main .time-post {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  display: inline-block;
  margin-right: 10px;
}

.article-main .time-post svg {
  width: 15px;
  height: 15px;
  margin-top: -5px;
  margin-right: 2px;
}

.article-main .time-post svg path {
  fill: var(--shop-color-main);
}

.article-main .article-image {
  margin-bottom: 20px;
}

.article-main .article-title {
  margin-top: 0px;
  margin-bottom: 15px;
  font-size: 30px;
  font-weight: 700;
  color: #000;
  line-height: 34px;
}

.article-main .posts {
  font-size: 12px;
  margin-bottom: 10px;
}

.article-main .rte {
  font-size: 14px;
}

@media (max-width: 767px) {
  .article-main .rte iframe {
    width: 100%;
  }
}

.article-main #article_comments {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
}

.article-main #article_comments label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.article-main #article_comments label .required {
  color: #ff0000;
}

.article-main #article_comments input {
  height: 40px;
}

.article-main .form-group input {
  width: 100%;
  margin-bottom: 15px;
  outline: none;
  font-size: 14px;
  border-radius: 5px;
  padding: 5px 20px;
  border: 1px solid #e6e6e6;
  border-bottom: 2px solid var(--shop-color-main);
}

.article-main .form-group input::placeholder {
  color: #7c7c7c;
}

.article-main .form-group input:-ms-input-placeholder {
  color: #7c7c7c;
}

.article-main .form-group input::-ms-input-placeholder {
  color: #7c7c7c;
}

.article-main .form-group textarea {
  width: 100%;
  margin-bottom: 15px;
  outline: none;
  font-size: 14px;
  border-radius: 5px;
  padding: 5px 20px;
  border: 1px solid #e6e6e6;
  border-bottom: 2px solid var(--shop-color-main);
}

.article-main .form-group textarea::placeholder {
  color: #7c7c7c;
  opacity: 1;
}

.article-main .form-group textarea:-ms-input-placeholder {
  color: #7c7c7c;
}

.article-main .form-group textarea::-ms-input-placeholder {
  color: #7c7c7c;
}

.article-main .button_45 {
  height: 40px;
  line-height: 38px;
  padding: 0 25px;
  background: var(--shop-color-main);
  font-size: 14px;
  color: #fff;
  border: solid 1px var(--shop-color-main);
  font-weight: 400;
  margin-top: 10px;
  border-radius: 5px;
}

.article-main .button_45:hover {
  background: #fff;
  border-color: var(--shop-color-secondary);
  color: var(--shop-color-secondary);
}

.article-main .title-form-coment {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 5px;
  padding-bottom: 15px;
  color: #000;
  font-weight: 500;
}

#article-comments .article-comment {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dotted #c9c8c5;
}

#article-comments .article-comment:last-child {
  padding-bottom: 30px;
}

#article-comments .article-comment-user-image {
  margin: 0;
  float: left;
  width: 80px;
  margin-right: 12px;
  height: 80px;
  border-radius: 0;
  display: block;
}

#article-comments .article-comment-user-comment {
  display: block;
  float: left;
  width: calc(100% - 95px);
  -webkit-width: calc(100% - 95px);
  -moz-width: calc(100% - 95px);
  -o-width: calc(100% - 95px);
  -os-width: calc(100% - 95px);
  padding-left: 10px;
  word-break: break-word;
  font-size: em(14px);
}

#article-comments .user-name-comment {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

#article-comments .user-name-comment strong {
  font-weight: 700;
}

#article-comments .article-comment-date-bull {
  padding: 5px 0;
  display: block;
  color: #b0b0b0;
  font-size: 12px;
}

#article-comments .cm {
  font-size: 14px;
  color: #000;
}

.social-sharing {
  border-top: solid 1px #e4e4e4;
  padding: 20px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
}

.social-sharing span {
  margin-right: 10px;
}

.social-sharing .addthis_inline_share_toolbox {
  margin-top: 3px;
}

.blog_lienquan h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-size: 18px;
  text-transform: uppercase;
  color: #231f20;
}

.blog_lienquan .item-blog {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-radius: 5px;
}

.blog_lienquan .item-blog .block-thumb {
  width: 375px;
  margin-right: 30px;
}

.blog_lienquan .item-blog .block-thumb .thumb {
  padding-bottom: 66%;
  display: block;
  height: 0;
  position: relative;
}

.blog_lienquan .item-blog .block-thumb .thumb img {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  height: auto !important;
  position: absolute;
}

.blog_lienquan .item-blog .block-content h3 {
  padding: 0px;
  margin: 0px 0 15px;
  line-height: 24px;
  font-size: 18px;
  color: #000;
}

.blog_lienquan .item-blog .block-content .time-post {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  display: inline-block;
  margin-right: 10px;
}

.blog_lienquan .item-blog .block-content .time-post svg {
  width: 15px;
  height: 15px;
  margin-top: -5px;
  margin-right: 2px;
}

.blog_lienquan .item-blog .block-content p.justify {
  font-size: 14px;
  color: #000;
  margin: 15px 0;
  font-weight: 400;
}

.blog_lienquan .item-blog .block-content .viewmore {
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #363636;
  color: #000;
  font-size: 14px;
  padding: 0 30px;
}

.blog_lienquan .item-blog .block-content .viewmore:hover {
  background: var(--shop-color-secondary);
}

@media (max-width: 991px) {
  .aside-content-blog {
    margin-top: 30px;
  }
}

.social-sharing {
  border-top: solid 1px #e4e4e4;
  padding: 20px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
}

.social-sharing .addthis_toolbox a {
  margin-bottom: 0;
}

.social-sharing span {
  margin-right: 10px;
}

.social-sharing .addthis_inline_share_toolbox {
  margin-top: 3px;
}

.right-content .row {
  margin-left: -12px;
  margin-right: -12px;
}

.right-content .row .col-md-6 {
  padding-left: 12px;
  padding-right: 12px;
}

.right-content .row .col-md-6 .item-blog .block-content .time-post {
  margin-bottom: 10px;
}

.right-content .row .col-md-6 .item-blog .block-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-search-form {
  overflow: hidden;
  position: relative;
  margin-bottom: 0px;
  max-width: 500px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--shop-color-main);
}

.blog-search-form input {
  width: 100%;
  height: 36px;
  padding-right: 80px;
  padding-left: 10px;
  border: 0;
}

.blog-search-form button {
  position: absolute;
  right: 1px;
  width: 60px;
  height: 34px;
  background: var(--shop-color-secondary);
  border: 0;
  border-radius: 5px;
  top: 1px;
}

.blog-search-form button:hover {
  opacity: 0.7;
}

.blog-search-form button path {
  fill: #fff;
}

.blog-lienquan {
  margin-top: 50px;
}

.art-pro {
  margin-top: 15px;
  margin-bottom: 15px;
}

.search-blog {
  border-radius: 15px;
  padding: 20px;
  background: #fff;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .search-blog {
    margin-top: 30px;
  }
}

.search-blog .title-head {
  margin-bottom: 15px;
  position: relative;
  font-size: 24px;
  font-weight: 700;
  color: var(--shop-color-main);
  display: inline-block;
}

.search-blog .title-head a {
  color: #fff;
}

.search-blog .title-head a:hover {
  opacity: 0.7;
}

.search-blog .thump-searh {
  padding: 10px 0px;
}

.thump-comment {
  background: #fff;
  border-radius: 5px;
  padding: 10px;
  margin-top: 20px;
}

.hidescroll {
  display: none;
}

.auto {
  display: block;
}

.fixMenu {
  margin: 0;
  padding: 0;
  position: fixed;
  top: 30px;
  right: 0;
  width: auto;
  min-width: 373px;
  border: 1px solid rgba(224, 224, 224, 0.95);
  background: #f9f9f9;
  overflow: auto;
  z-index: 999;
}

.fixMenu .closeftoc {
  padding: 12px 5px;
  position: relative;
  margin-bottom: 10px;
  background: rgba(237, 237, 237, 0.95);
  font-weight: 400;
  font-size: 20px;
}

.fixMenu .closeftoc img {
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.fixMenu .closeftoc span {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 18px;
  font-size: 20px;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  border: 2px solid #333;
  line-height: 19px;
  text-align: center;
  font-weight: 400;
}

.fixMenu .dola-toc-bottom > ol {
  padding-left: 0px;
  list-style: decimal;
  list-style-type: none;
  list-style-position: inherit;
  padding-left: 0px;
}

.fixMenu .dola-toc-bottom > ol li > a {
  padding: 5px 10px;
  display: inline-block;
  width: 100%;
}

.fixMenu .dola-toc-bottom > ol li > a:hover {
  background: var(--shop-color-main);
  color: #fff;
}

.fixMenu .dola-toc-bottom > ol li .is-collapsible {
  list-style: decimal;
  list-style-type: circle;
  list-style-position: inherit;
  padding-left: 0px;
}

.fixMenu .dola-toc-bottom > ol li .is-collapsible li {
  padding-left: 0px;
  display: inline-block;
  width: 100%;
}

.fixMenu .dola-toc-bottom > ol li .is-collapsible li a {
  padding-left: 30px;
  font-style: italic;
  position: relative;
  width: 100%;
}

.fixMenu .dola-toc-bottom > ol li .is-collapsible li a:before {
  content: "";
  top: 13px;
  left: 15px;
  position: absolute;
  width: 9px;
  height: 9px;
  border: solid 2px #d7d7d7;
  border-radius: 50%;
}

.fixMenu .dola-toc-bottom > ol li .is-collapsible li.is-active-li > a {
  background: var(--shop-color-main);
  color: #fff;
}

.fixMenu .dola-toc-bottom > ol li.is-active-li > a {
  background: var(--shop-color-main);
  color: #fff;
}

.tabClick {
  position: fixed;
  top: 30% !important;
  right: 0;
  z-index: 99;
  padding: 10px;
  border-radius: 5px 0 0 5px;
  background: var(--shop-color-main);
}

.tabClick img {
  width: 30px;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
}

.ftoc-head {
  background: var(--shop-color-surface);
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.ftoc-head .title-goto-wrapper {
  margin-bottom: 15px;
  position: relative;
  font-size: 24px;
  font-weight: 700;
  color: var(--shop-color-main);
  display: inline-block;
}

.ftoc-head .title-goto-wrapper img {
  height: 25px;
  position: absolute;
  left: 100%;
  top: -2px;
}

.ftoc-head .dola-toc .toc-list {
  list-style: decimal;
  list-style-type: disc;
  list-style-position: inherit;
  padding-left: 20px;
}

.ftoc-head .dola-toc .toc-list .toc-list-item {
  color: #000;
  margin-bottom: 10px;
  font-size: 16px;
}

.ftoc-head .dola-toc .toc-list .toc-list-item a {
  color: #000;
  font-size: 16px;
}

.ftoc-head .dola-toc .toc-list .toc-list-item .is-collapsible {
  list-style: decimal;
  list-style-type: circle;
  list-style-position: inherit;
  padding-left: 20px;
}
/* ===== COMMENT SECTION - HiSolar Theme ===== */

.comment-content {
  margin-top: 8px;
}

.comments-wrapper {
  background: #f0fff6;
  border-left: 4px solid #1a6b1a;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 14px;
  color: #1a6b1a;
  margin-bottom: 24px;
}

#add-comment-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a6b1a !important;
  padding-bottom: 12px;
  border-bottom: 2px solid #eaf2fb;
  display: flex;
  align-items: center;
  gap: 10px;
}

#add-comment-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: #f5a623;
  border-radius: 2px;
  flex-shrink: 0;
}

#form-comment .form-control {
  width: 100%;
  border: 1.5px solid #f0fff6;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: #2d3748;
  background: #f0fff6;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#form-comment .form-control:focus {
  border-color: #0b7a3b;
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
  background: #fff;
  outline: none;
}

#form-comment .form-control::placeholder {
  color: #9fb8d5;
}

#form-comment textarea.form-control {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

#button-comment {
  background: #0b7a3b !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 26px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  gap: 8px;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

#button-comment:hover {
  background: #f5a623 !important;
  transform: translateY(-1px);
}

#button-comment:active {
  transform: translateY(0);
}

.border-top.pt-3 {
  border-color: #eaf2fb !important;
}

/* --- Khung bao ngoài của danh mục --- */
.aside-content-blog {
  max-width: 300px;
  margin-bottom: 20px;
}

/* --- Tiêu đề "Danh mục tin tức" --- */
.aside-content-blog .title-head-col {
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 16px;
}

/* --- Khung chứa danh sách (Fix lỗi dính chữ) --- */
.aside-content-blog .nav-category .nav {
  list-style: none;
  /* Bỏ dấu chấm đầu dòng */
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Ép các thẻ li xếp dọc xuống hàng */
  gap: 10px;
  /* Tạo khoảng cách giữa các mục */
}

/* --- Định dạng cho từng link --- */
.aside-content-blog .nav-link {
  display: block;
  /* Giúp link phủ kín chiều ngang và rớt dòng */
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: #f8f9fa;
  /* Nền xám nhạt */
  transition: all 0.3s ease;
  /* Hiệu ứng chuyển động mượt */
}

/* --- Hiệu ứng khi rê chuột vào (Hover) --- */
.aside-content-blog .nav-link:hover {
  background-color: #e9ecef;
  color: #0056b3;
  /* Đổi màu chữ */
  padding-left: 18px;
  /* Hiệu ứng trượt nhẹ sang phải */
}
