.box-navigation-typeblog {
  display: flex;
  margin: 2rem 20rem;
  justify-content: space-between;
  border-bottom: 2px solid #f0f0f0;
}
.box-navigation-typeblog #navigation-typeblog {
  padding: 1.5rem 0rem;
  margin-left: 0;
}

.box-navigation-typeblog #navigation-typeblog > li {
  position: relative;
  display: inline-block;
  margin: 0 12px;
}

.box-navigation-typeblog #navigation-typeblog > li > .submenu {
  width: 20rem !important;
  top: 5rem;
  left: -3rem;
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: none;
  z-index: 100;
}

.box-navigation-typeblog #navigation-typeblog > li:hover > .submenu {
  display: block;
}

.box-navigation-typeblog #navigation-typeblog > li > a {
  color: #444;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 1rem 0;
  display: inline-block;
}

.box-navigation-typeblog #navigation-typeblog > li.active > a,
.box-navigation-typeblog #navigation-typeblog > li:hover > a {
  color: var(--Primary);
}

.box-navigation-typeblog #navigation-typeblog > li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--Primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.box-navigation-typeblog #navigation-typeblog > li:hover::after,
.box-navigation-typeblog #navigation-typeblog > li.active::after {
  width: 120%;
}

.box-navigation-typeblog #navigation-typeblog .submenu li a {
  display: block;
  padding: 8px 16px;
  color: #444;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.box-navigation-typeblog #navigation-typeblog .submenu li a:hover {
  background: rgba(255, 132, 0, 0.08);
  color: var(--Primary);
}
.box-navigation-typeblog .sidebar-search {
  width: 30%;
}
.box-latest-blog {
  display: flex;
  gap: 3rem;
  max-width: 1450px;
  margin: 5rem auto 10rem;
}
.box-latest-blog .box-latest-left-column {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bottom-row {
  display: flex;
  gap: 20px;
}

.box-latest-blog .box-latest-right-column {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.box-latest-blog .box-latest-left-column .card-blog {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: white;
  margin-top: 0.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}
.box-latest-blog .box-latest-left-column .card-blog:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.card-blog.main-card {
  width: 100%;
  height: 40rem;
}
.card-blog.sub-card {
  flex: 1;
  height: 22rem;
}
.card-blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}
.card-blog-content {
  position: absolute;
  bottom: 0px;
  padding: 0 2rem 10px 2rem;
  z-index: 1;
  width: 100%;
}
.card-blog-content::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 160%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
.card-blog-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;

  line-height: 1.4;
  height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.card-blog-description {
  font-size: 14px;
  margin-bottom: 5px;
}

.card-blog-date {
  font-size: 12px;
  opacity: 0.8;
}
.card-blog-date i {
  font-size: 1.5rem;
  margin-right: 1rem;
}
.box-latest-right-column .blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.box-latest-right-column .blog-list .blog-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.box-latest-right-column .blog-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}
.box-latest-right-column .blog-item:hover {
  cursor: pointer;
}

.box-latest-right-column .blog-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.box-latest-right-column .blog-date {
  font-size: 12px;
  color: #666;
}
.box-latest-right-column .blog-date i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.sidebar-blog-dashboard {
  position: sticky;
  top: 13rem;
}
.blog-article-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.blog-article-item.show {
  opacity: 1;
  transform: translateY(0);
}
.article-thumb img {
  width: 130rem;
  height: 15rem;
}
.article-content .title {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.4;
  height: 1.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-content .description {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  height: calc(1.4em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.article-content .type {
  font-size: 1.5rem;
  font-weight: 600;
}
#pagination-list-blog {
  opacity: 1;
  transition: opacity 0.4s ease;
}
#pagination-list-blog.hide {
  opacity: 0;
  pointer-events: none;
}
.section-blog-list .wg-pagination {
  display: flex;
  justify-content: center;
}
.section-blog-list .wg-pagination .tf-btn-link {
  width: unset !important;
}
#dashboad-latest-blog {
  transition: all 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

#dashboad-latest-blog.hide-blog {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}
#dashboad-latest-blog.hide-blog ~ #list-dashboard-blog-left {
  transform: translateY(-30px);
}
#box-sidebar-search {
  transition: all 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}
#box-sidebar-search.hide-box {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}
#list-dashboard-blog-left {
  transition: transform 0.5s ease;
}
.blog-article-item.empty-box.show {
  display: flex;
  border-bottom: unset;
  justify-content: center;
}
#suggestions-input-blog {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#suggestions-input-blog.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.suggestion-item.item-input-blog {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.suggestion-item.item-input-blog.show {
  opacity: 1;
  transform: translateX(0);
}
.search-with-keyword {
  display: none;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.search-with-keyword b {
  margin-left: 1rem;
  font-style: italic;
  font-size: 2.5rem;
}
#flat-title-blog {
  margin-bottom: 2.5rem !important;
}