.post__details-toc {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fafafa;
  border-radius: 6px;
}

.post__details-toc .toc__title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

.post__details-toc .toc__main {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post__details-toc .toc__heading {
  margin: 5px 0;
}

.post__details-toc .toc__heading a {
  text-decoration: none;
  font-size: 15px;
  color: #007bff;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

.post__details-toc .toc__heading a:hover{
    color: #0056b3; 
}

/* thụt vào cho h3 */
.post__details-toc .toc__heading a.h3 {
  margin-left: 20px;
  font-size: 15px;
  font-weight: 400;
}

.post__details-toc .toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.post__details-toc .toc__header .toc__toggle {
  background: none;
  border: none;
  color: #0073aa;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600 !important;
  transition: color 0.2s ease;
}

.post__details-toc.collapsed ul {
  display: none;
}

.post-content .post-meta-top {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #000;
	font-size: 14px;
	margin-bottom: 10px;
	flex-wrap: wrap; /* Cho phép xuống dòng */
}

.post-content .post-meta-top .post-author-avatar img {
	border-radius: 50%;
	width: 40px;
	height: 40px;
}

.post-content .post-meta-top .post-author {
	font-weight: 600;
}
.post-content .post-meta-top .post-author a {
	color: #000000;
	font-weight: 600;
}

.post-excerpt p,
.post-excerpt li {
    line-height: 2;
    text-align: justify;
}


@media (max-width: 767px) {
    .post-content .post-meta-top {
        display: grid;
        grid-template-columns: 50px auto; /* 1 cột cho avatar, 1 cột cho nội dung */
        align-items: center;
        gap: 5px 10px; /* dòng - cột */
    }

    .post-content .post-meta-top .post-author-avatar {
        grid-row: span 2; 
    }

    .post-content .post-meta-top .post-author,
    .post-content .post-meta-top .post-date {
        margin: 0;
        display: block;
        line-height: 1.4;
    }
}
