.title-head {
text-align: left !important ; /* canh chữ về bên trái */
  font-size: 24px !important ;
	font-weight: bold ;
  margin-left: 10px ; 
}
.aside-filter ul {
	padding-left: 0;
	list-style: none;
	margin: 0px;
}
.aside-item {
	
}
aside.aside-item + .aside-item {
	margin-top: 15px;
}
.aside-title a:hover {
	color: var(--primary-color);
}
.aside-content {
	position: relative;
	clear: left;
	font-size: 14px;
	padding: 0;
}
.aside-content:last-child {
	border-bottom: none;
}
.aside-content .nav-item {
	position: relative;
}
.aside-content .nav-item > a {
	font-size: 16px;
	font-weight: bold;

	
}
.aside-content .nav-item > a:hover {
	color: var(--primary-color);
}
.aside-content .dropdown-menu a {
	font-weight: 400;
}


.aside-content .fa {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: flex-end; /* đẩy text/icon sang phải */
	align-items: center;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
	z-index: 1;
}

.aside-content .active > .dropdown-menu {
	display: block;
}
.aside-content .dropdown-menu {
	width: 100%;
	border: 0;
	padding: 0px;
	padding-left: 15px;
	box-shadow: none;
	margin-top: 0px;
	position: static;
	background: none;
}
.aside-content:hover > a {
	color: #333;
	background-color: transparent;
}
.aside-content ul > li:before {
	top: 17px;
	left: 15px;
}
.blogwp h3, .blogwp h3 a.link {
  font-size: 16px;
 font-weight: 500;
  line-height: 1.7;
  margin-bottom: 3px !important;
  margin-top: 0px !important;

  display: -webkit-box;           /* bắt buộc để dùng line-clamp */
  -webkit-line-clamp: 2;          /* giới hạn tối đa 2 dòng */
  -webkit-box-orient: vertical;   /* hướng dọc */
  overflow: hidden;               /* ẩn phần chữ thừa */
  text-overflow: ellipsis;        /* thêm dấu ... */
}





.sidebar {
    background-color: #fff; /* Nền trắng */
    padding: 10px;
 position: relative;       /* để z-index có hiệu lực */
    z-index: 10;             /* đảm bảo không bị che */
border-bottom:  1px solid rgba(0, 0, 0, 0.1) !important;

      max-width: 75% !important ;
    margin: 0 auto !important ; /* Căn giữa ngang */
}


/* Cho mobile: full chiều ngang */
@media (max-width: 991px) {
  .sidebar {
    width: 100% !important;
    max-width: 100% !important;
  
  }
}








}
.content-blog .blogwp + .blogwp {
	border-top: 1px solid #eee !important;
}
.content-blog .blogwp .card-body {
	padding-right: 0px;
	padding-left: 0px;
	font-size: 14px;
	margin-bottom: -20px;
  margin-top: -5px ; 
}
.content-blog .blogwp .card-body p {
	color: var(--text-secondary-color)
}
a.button_custome_35.link {
	color: var(--primary-color);
}
.blogwp .media .media-body {
  display: none !important ;
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 5px;
}
.blogwp .button_custome_35.link {
   font-size: 12px !important; 
	display: block;
	margin-top: 15px;
color: var(--primary-color) !important ; 
  
}

	display: block;
	margin-top: 15px;
}

	.sidebar .blogwp.media .image-blog {
		height:  200px !important ;
		padding-top: 75% !important ; /* 3 / 4 = 0.75 = 75% */
		position: relative;
		overflow: hidden;
	}
	.sidebar .blogwp.media .image-blog img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important ;
		height: 100% !important ;
		object-fit: cover;
	}


.pagination {
	justify-content: center;
	float: none !important;
}
.article-content {
 width: 100% !important; /* Chiếm 80% chiều ngang */
  margin: 0 auto !important ; /* Căn giữa ngang */
  min-height: 150px !important ;
  margin-top: 15px !important ;
  padding-top: 10px !important  ;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  word-break: break-word;
}

/* Cho mobile: full chiều ngang */
@media (max-width: 991px) {
  .article-content {
    width: 100% !important;
    max-width: 100% !important;
  
  }
}




.blogwp .article-content {
    background-color: #ffffff !important;
}


.article-content img {
	max-width: 100% !important;
	height: auto !important;
}
figure.article-comment-user-image {
	width: 50px;
}
.article-comment + .media {
	border-top: 1px solid #eee;
}
.toc-title {
	cursor: pointer;
    font-size: 18px;
	display :none;
}
.toc-title.active{
		display :flex;
		gap: 10px;
	align-items: center
}
.toc-title svg{
 	transition: transform .3s ease-out;
}
.toc-title.open svg{
	transform: rotate(90deg);
}
li.toc-list-item + li.toc-list-item{
	margin-top: 8px
}

.blog-tag-list .link {
    padding: 5px 8px;
    color: #666;
}
.blog-tag-list .link:hover {
    color: var(--link-color);
}
.toc-link::before{
	content: none!important 
}
a.toc-link{
	color: var(--link-color)!important;
	font-weight: normal!important
}
ol.toc-list  {
  counter-reset: section;                
  list-style-type: none;
}

.toc-list  li::before {
  counter-increment: section;           
  content: counters(section, ".") " "; 
}

.fixed-toc{
    position: fixed;
    left: 0;
    top: 50%!important;
    transform: translateY(-50%);
	z-index: 1000;
}

.fixed-toc button.btn.toc-toggle-btn {
	color: var(--primary-color);
    border: 1px solid;
    padding: 5px;
    width: 32px;
    height: 32px;
    line-height: 1;
    margin-left: 10px;
	background: white;
	opacity: 0.6
}
.fixed-toc button.btn.toc-toggle-btn:hover{
	opacity: 1

}
.fixed-toc .fixed-toc-content{
	width: 300px;
    background: #ffff;
    position: absolute;
    top: 0!important;
    z-index: 9999;
    padding: 15px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 14px;
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(-50%) translateX(-100%);
	transition: transform .3s ease-out;
}
.fixed-toc.open .fixed-toc-content {
	    transform: translateY(-50%);
}


<!-- Thêm đoạn CSS sau -->
/* Sidebar Blog */
.blog-aside-container {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 20px 8px 20px 20px; /* gộp padding */
    background-color: #fff;
    margin: 8px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.1); /* viền phải */
}
.blog-aside-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Sidebar items */
.blog-aside-container .blog-sidebar,
.blog-aside-container .blog-sidebar > * {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.blog-aside-container .blog-sidebar {
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.blog-aside-container .blog-sidebar > *:last-child,
.nav-item:last-child {
    border-bottom: none;
}

/* Nav items */
.nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 5px 10px 5px 0;
}
.nav-link {
    margin: 0px 5px 5px 0;
    text-decoration: none;
}


/* Dropdown menu luôn bung ra */
.aside-content .dropdown-menu {

    margin: 5px 0 0 15px;
    padding-left: 0 !important;
  
}
.aside-content .dropdown-menu .dropdown-menu {
    margin-left: 15px;
}
.aside-content .nav-item.active > a {
    color: var(--primary-color);
}

/* Nút "Đọc tiếp" */
/* Nút "Đọc tiếp" dạng link gạch chân đơn giản */
.button_custome_35.link {


  margin-top: 0px !important  ; 
    display: inline-block;
    padding: 0; /* bỏ padding */
    background: none; /* không có nền */
    color: #000 !important ;  /* giữ màu thương hiệu */
    font-weight: normal;
    border: none;
    border-radius: 0;
    text-decoration: underline; /* thêm gạch chân */
    text-transform: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.button_custome_35.link:hover {
    color: var(--primary-color)!important  ; /* màu chữ đậm hơn khi hover */
    text-decoration: underline;
}


/* Bố cục bài viết */
.content-blog-wrapper .row {
    display: flex;
    flex-wrap: wrap;
}
.content-blog-wrapper .blog-article {
    display: flex;
}
.blogwp.clearfix {
    padding: 10px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 calc(33.333% - 10px) !important;
    height: 100%;
    margin: 0 -10px 20px !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.blogwp.clearfix:hover {
   box-shadow: 0 0 2px rgba(0, 0, 0, 0.4)!important ;
    z-index: 100;
}

.blogwp.clearfix:hover h3,
.blogwp.clearfix:hover h3 a.link {
    color: var(--primary-color) !important;
}


/* Responsive */
@media (max-width: 991px) {
  .blogwp.clearfix { flex: 1 1 calc(50% - 10px) !important; }
}
@media (max-width: 767.98px) {
  .col-12.col-md-6.col-lg-3.mb-3.d-flex { flex: 0 0 50% !important; max-width: 50% !important; }
}
@media (max-width: 575px) {
  .col-12.col-md-6.col-lg-3.mb-3.d-flex { flex: 0 0 100% !important; max-width: 100% !important; }
}
@media (min-width: 768px) {
  .col-md-6.mb-3.d-flex { flex: 0 0 33.33% !important; max-width: 33.33% !important; }
}
@media (min-width: 1200px) {
  .col-md-6.mb-3.d-flex { flex: 0 0 50% !important; max-width: 50% !important; }
}




