.title-head {
	font-weight: 500 !important;
}
.aside-filter ul {
	padding-left: 0;
	list-style: none;
	margin: 0px;
}
.aside-item {
	padding-top: 15px;
}
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: 1rem;
	font-weight: normal;
	line-height: 1.3;
	padding:0px 38px 5px 0px;
}
.aside-content .nav-item > a:hover {
	color: var(--primary-color);
}
.aside-content .dropdown-menu a {
	font-weight: 400;
}
.aside-content .fa {
	cursor: pointer;
	display: inline;
	position: absolute;
	right: 5px;
	top: 1px;
	z-index: 1;
	width: 30px;
	text-align: center;
	font-size: 14px;
}
.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: 14px;
	font-weight: bold;
	line-height: 1.3;
}
@media (max-width: 991px) {
	.sidebar {
		order: 1;
		border-top: 10px solid #f4f4f4;
 }
}
.sidebar {
	border-left: 0px solid #eee;
	padding-bottom: 1.25rem;
	padding-left: 15px;
}
.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: 7px;
}
.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: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 5px;
}
.blogwp .button_custome_35.link {
	display: block;
	margin-top: 10px;
}
@media (min-width: 768px) {
	.sidebar .blogwp.media .image-blog {
		width: 75px;
 }
}
.pagination {
	justify-content: center;
	float: none !important;
}
.article-content {
	min-height: 150px;
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #eee;
	word-break: break-word;
}
.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%);
}
.rte blockquote {
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    padding-left: 20px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 45px;
    margin-inline-end: 45px;
    border-left: 5px solid #ccc;
    min-height: 50px;
    padding-top: 15px;
}

/* ===== Bảng trong nội dung bài viết (KITAWA 2026-10) ===== */
#content .rte table:not(:has(img)){width:100%!important;min-width:0!important;max-width:100%;border-collapse:collapse;border:1px solid #d9dee4!important;margin:16px auto;background:#fff}
#content .rte table:not(:has(img)) td,#content .rte table:not(:has(img)) th{border:1px solid #d9dee4!important;padding:10px 12px;vertical-align:top}
#content .rte table:not(:has(img)) td p,#content .rte table:not(:has(img)) th p{margin:0}
#content .rte table:not(:has(img)) tr:nth-child(even)>td,#content .rte table:not(:has(img)) tr:nth-child(even)>th{background:#f3f5f7}
#content .rte table:not(:has(img)) tr:first-child>td,#content .rte table:not(:has(img)) tr:first-child>th,#content .rte table:not(:has(img)) thead td,#content .rte table:not(:has(img)) thead th{background:#e8eef5;font-weight:700}
@media (max-width:767px){
 #content .rte table:not(:has(img)) td,#content .rte table:not(:has(img)) th{padding:8px;font-size:15px;line-height:1.45;min-width:0!important;width:auto!important;height:auto!important}
 #content .rte table:not(:has(img)) tr>:first-child{min-width:96px!important}
 #content .rte table:not(:has(img)) td *,#content .rte table:not(:has(img)) th *{font-size:15px!important;line-height:1.45!important}
 #content .rte table:not(:has(img)) td:not(:first-child) p{text-align:left!important}
 /* Bảng rộng có ô gộp: cuộn ngang trong khung, cột đầu cố định */
 #content .rte table.kt-scroll{min-width:640px!important}
 #content .rte table.kt-scroll td,#content .rte table.kt-scroll th{min-width:120px!important}
 #content .rte table.kt-scroll td:first-child,#content .rte table.kt-scroll th:first-child{position:sticky;left:0;z-index:1;box-shadow:2px 0 4px rgba(0,0,0,.08)}
 #content .rte table.kt-scroll tr:nth-child(odd)>td:first-child{background:#fff}
 #content .rte table.kt-scroll tr:first-child>td:first-child{background:#e8eef5}
 /* Bảng nhiều cột: mỗi dòng thành 1 thẻ, nhãn cột hiện bên trái */
 #content .rte table.kt-cards,#content .rte table.kt-cards tbody,#content .rte table.kt-cards tr,#content .rte table.kt-cards td{display:block;width:100%!important}
 #content .rte table.kt-cards{border:0!important;background:none}
 #content .rte table.kt-cards tr:first-child{display:none}
 #content .rte table.kt-cards tr{border:1px solid #d9dee4;border-radius:6px;margin-bottom:12px;overflow:hidden;background:#fff}
 #content .rte table.kt-cards td{border:0!important;border-bottom:1px solid #eef1f4!important;display:flex;gap:8px;background:#fff!important;text-align:left}
 #content .rte table.kt-cards td:nth-child(even){background:#f3f5f7!important}
 #content .rte table.kt-cards td:last-child{border-bottom:0!important}
 #content .rte table.kt-cards td:first-child{background:#e8eef5!important;font-weight:700}
 #content .rte table.kt-cards td:first-child::before{display:none!important}
 #content .rte table.kt-cards td[data-label]::before{content:attr(data-label);flex:0 0 38%;font-weight:700;color:#334}
 #content .rte table.kt-cards td>*{flex:1;text-align:left!important}
}
#content .rte img[width][height]{height:auto}