/* .heading-post {
  scroll-margin-top: calc(var(--height-header));
} */

.author-box-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: max-content;
  width: 100%;
}

.author-box-mini a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: max-content;
}

.author-avatar-mini {
  border-radius: 24px;
  width: 24px;
  height: 24px;
  overflow: hidden;
  object-fit: cover;
}

.author-avatar-mini img {
  width: 24px;
  height: 24px;
}

.author-left-mini {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: max-content;
  flex-direction: column;
  align-items: flex-start;
}

.author-left-mini p {
  white-space: nowrap;
}

.post-date-author {
  display: flex;
}

.author-box {
  display: flex;
  align-items: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 8px;
}

.author-avatar {
  flex-shrink: 0;
  margin-right: 20px;
}

.author-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
  display: flex;
  gap: 1rem;
}

.author-name {
  margin: 0 0 10px;
  font-size: 20px;
  white-space: nowrap;
}

.author-name a {
  text-decoration: none;
  color: #333;
}

.author-name a:hover {
  color: #0073aa;
}

.author-description {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.author-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.time-modified,
.time-published {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  width: max-content;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--reverse-color);
  white-space: nowrap;
}

.header-post {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  flex-direction: column;
  padding: 6px 0;
}

.share-link svg rect {
  transition: all 0.3s ease;
}

.share-link-facebook:hover svg rect {
  fill: #3b579d;
  fill-opacity: 1;
}

.share-link-twitter:hover svg rect {
  fill: #1da0f1;
  fill-opacity: 1;
}

.share-link-copy:hover svg rect {
  fill: var(--dark-color);
  fill-opacity: 1;
}

.info-post {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  background-color: var(--gray-white-color);
  padding: 10px;
  border-radius: 10px;
  margin: 12px 0;
}

.create-date-box {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--reverse-color);
}

.follow-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.follow-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--blue-color);
}

.follow-image {
  height: 14px;
  width: auto;
  min-height: 14px;
  max-height: 14px;
}

/* Table-Of-Contents */
.table-of-contents-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  height: 0;
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
  list-style-type: none !important;
  padding: 0 !important;
}

.sub-table-of-contents-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin-top: 6px;
  gap: 12px;
  list-style-type: none !important;
  padding-left: 16px !important;
}

.table-of-contents-title {
  margin: 0 !important;
  transition: all 0.3s ease-in-out;
  color: var(--blue-color) !important;
  font-size: var(--h3-font-size);
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.02em;
  text-align: left;
}

.table-of-contents-title-active,
.show-table-of-contents-active {
  color: var(--dark-color) !important;
}

.table-of-contents-item,
.table-of-contents-item a {
  color: var(--dark-color);
  transition: all 0.3s ease-in-out;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
  text-align: left;
}

.table-of-contents-item a {
  display: block;
  width: 100%;
}

.table-of-contents-item .table-of-contents-link {
  font-weight: 600;
}

.table-of-contents-item:hover .table-of-contents-link,
.sub-table-of-contents-item:hover .sub-table-of-contents-link {
  color: var(--blue-color);
}
.table-of-contents-item {
  position: relative;
  margin-left: 16px;
}

.table-of-contents-item-active,
.table-of-contents-item-active .table-of-contents-link,
.sub-table-of-contents-item-active .sub-table-of-contents-link {
  color: var(--blue-color);
}

.table-of-contents-item-active::before {
  content: "";
  position: absolute;
  background-color: var(--blue-color);
  width: 2px;
  height: 100%;
  top: 0;
  left: -15px;
}

.table-of-contents-item::after {
  content: "";
  position: absolute;
  background-color: var(--blue-color);
  width: 2px;
  height: 0%;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.table-of-contents-item:hover::after {
  height: 100%;
}

.table-of-contents-list-active {
  height: max-content;
  max-height: 80vh;
}

.table-of-contents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#show-table-of-contents {
  color: var(--blue-color);
  transition: all 0.3s ease-in-out;
  font-size: 1.5rem;
  cursor: pointer;
}
.show-table-of-contents-active {
  transform: rotate(-180deg);
}

.full-post-content {
  display: block;
  width: 100%;
}

/* post */

.post-content {
  font-size: 16px;
  width: 100%;
}

.post-content p,
.post-content span {
  margin-bottom: 16px;
  color: var(--dark-color);
  font-style: normal;
  line-height: 1.7;
  margin-top: 6px;
}

.post-content li {
  margin-bottom: 4px;
  color: var(--dark-color);
  font-style: normal;
  line-height: 1.8;
  margin-top: 8px;
}

.post-content a {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #008ee9;
}

.post-content a:hover {
  color: var(--orange-color);
}

.post-content iframe,
.post-content figure {
  width: 100% !important;
}

.post-content figure {
  margin: 6px 0;
}

.post-content label {
  font-weight: 600;
}

.post-content figcaption {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.post-content ul,
.post-content ol {
  color: var(--dark-color);
  padding-left: 32px;
  line-height: 1.6;
  width: 100%;
  margin-bottom: 16px;
}

.post-content ul {
  list-style-type: disc;
}
.post-content ol {
  list-style-type: decimal;
}

.post-content img {
  display: flex;
  margin: auto;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.post-content table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid #cbcbcb;
  margin-bottom: 16px;
  width: 100%;
}
.post-content table caption {
  color: #000;
  font: italic 85%/1 arial, sans-serif;
  padding: 1em 0;
  text-align: center;
}
.post-content table td,
.post-content table th {
  border-left: 1px solid #cbcbcb;
  border-width: 0 0 0 1px;
  font-size: inherit;
  margin: 0;
  overflow: visible;
  padding: 0.5em 1em;
}
.post-content table thead {
  background-color: #e0e0e0;
  color: #000;
  text-align: left;
  vertical-align: bottom;
}
.post-content table td {
  background-color: transparent;
}

.post-content table tr:nth-child(odd) td {
  background-color: #f2f2f2;
}

.post-content table tr:nth-child(even) td {
  background-color: #ffffff;
}

.post-content table th {
  background-color: #666666;
  color: #ffffff;
  font-weight: bold;
}

.post-content h2 {
  margin-bottom: 16px;
  margin-top: 30px;
}

.post-content h3 {
  margin-bottom: 12px;
  margin-top: 24px;
}

.post-content h4 {
  margin-bottom: 8px;
  margin-top: 18px;
}

.post-content strong{
	font-weight: 600;
}

.title-post-seem {
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.02em;
  text-align: left;
  margin-bottom: 12px;
}

blockquote {
  position: relative;
  font-style: italic;
  color: #555;
  border-left: 4px solid #ccc;
  padding: 20px 20px 20px 40px;
  margin: 20px auto;
  background: #f9f9f9;
  max-width: 800px;
}

blockquote::before {
  content: "“";
  font-size: 4em;
  color: #ccc;
  position: absolute;
  left: 10px;
  top: -10px;
}

.post-title {
  color: var(--primary-color);
}

.slider-post {
  width: 100%;
  margin: auto;
}
.slick-slide {
  margin: 0 10px;
}
.slick-slide img {
  width: 100%;
  border-radius: 4px;
}

.post-seem .header-section h2 {
  font-size: 2em;
  color: #333;
  margin: 0;
}

.post-seem hr {
  border: 0;
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

.post-seem .slick-slider {
  position: relative;
  width: 100%;
}

.post-seem .item-slider {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
}

.post-seem .item-slider:hover img.image-item-slide {
  transform: scale(1.05);
}

.post-seem .hidden-image-item-slide {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 180px;
  width: 100%;
  margin: 0;
}

.post-seem .hidden-image-item-slide img.image-item-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  max-width: 100%;
  max-height: none;
}

.post-seem .title-item-slide {
  font-size: 1.1em;
  color: #555;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  margin: 10px 0;
  display: box;
  box-orient: vertical;
  line-clamp: 2;
}

.slider-brand {
  margin-top: 24px;
}

.section-news .item-slider {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: all ease-in-out 0.3s;
  border: 1px solid #b9b9b9;
  margin: 0 5px;
  border-radius: 5px;
  height: 70px;
  max-height: 70px;
  min-height: 70px;
  object-fit: contain;
  display: inline-block;
}

.section-news .item-slider img {
  height: 70px;
  max-height: 70px;
  min-height: 70px;
  display: flex;
  margin: auto;
  padding: 5px;
}

.section-news .item-slider:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.news-image {
  overflow: hidden;
  max-height: 160px;
  min-height: 160px;
  height: 160px;
}

.button-category-post {
  background: #4c2859;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.button-category-post:hover {
  background: #5e3a7d;
}

.site-main-single {
  margin-top: 24px;
}

/*==================== RESPONSIVE ====================*/
@media screen and (min-width: 768px) {
  .header-post {
    align-items: center;
    flex-direction: row;
  }

  .post-seem .hidden-image-item-slide {
    height: 150px;
  }

  .author-left-mini {
    align-items: center;
    flex-direction: row;
  }
}
@media screen and (min-width: 1024px) {
  .full-post-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 24px;
  }
  .post-table-of-contents {
    width: 30%;
    position: sticky;
    top: 20px;
  }
}