/* Single posts design only */
/* Rank Math FAQs */
div#rank-math-faq {
	margin-bottom: 40px;
}

.rank-math-list-item {
	padding: 15px 15px 20px 15px;
	margin-bottom: 1rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.rank-math-question {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: .825rem;
  margin-bottom: .825rem;
  position: relative;
  padding-right: 40px;
	font-size: 18px;
}
.rank-math-question:after {
  content: "?";
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  line-height: 30px;
  text-align: center;
  color: var(--accent);
  background: var(--base-2);
  border-radius: 40px;
}
.rank-math-answer p,
.rank-math-list-item:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .rank-math-question {
		font-size: 16px;
	}
}

/* Author Box */
.ml-author-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 20px;
	margin: 40px 0;
	gap: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ml-author-box .insights-avatar {
	flex: 0 0 120px;
	border-radius: 50%;
	overflow: hidden;
}

.ml-author-box .insights-avatar img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 50%;
}

.insights-author-info {
	flex: 1;
	min-width: 200px;
}

.about-label {
	font-size: 14px;
	color: var(--contrast-6);
	letter-spacing: 0.5px;
	display: block;
}

.author-title span {
	font-size: 18px;
	font-weight: 600;
	display: block;
}

.author-description {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 5px;
}

.author-box-links {
	display: inline-flex;
}

.author-social-links a {
	display: inline-block;
	margin-right: 10px;
	padding: 4px 8px;
	background: var(--accent);
	color: var(--base-3);
	font-size: 12px;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.3s;
}

.author-social-links a:hover {
	background: var(--accent-2);
	color: var(--base-3);
	text-decoration: none;
}

.author-links a {
	font-size: 14px;
	display: inline-block;
	color: var(--accent);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s;
}

.author-links a:hover {
	color: var(--accent-2);
}

@media (max-width: 768px) {
	.ml-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 25px 20px;
	}
	.ml-author-box .insights-avatar {
		flex: 0 0 120px;
		width: 120px;
	}
	.author-title span {
		font-size: 18px;
	}
	.author-description {
		font-size: 14px;
	}
}

/* Related Posts */
.related-posts-container {
	margin: 40px 0;
}

.related-posts-container h3 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 40px;
	color: var(--contrast);
	text-align: left;
	border-bottom: 4px solid var(--border-color);
	padding-bottom: 10px;
}

.related-posts-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 25px 40px;
}

.related-post-item {
	display: flex;
	align-items: center;
	gap: 15px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-post-item:hover {
	transform: translateY(-3px);
}

.related-thumb-wrap {
	flex: 0 0 75px;
	border-radius: 4px;
	overflow: hidden;
}

.related-thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: fill;
	display: block;
	transition: opacity 0.3s ease;
	border-radius: 4px;
}

.related-post-item:hover .related-thumb {
	opacity: 0.9;
}

.related-post-title {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--contrast);
	margin: 0;
}

.related-post-item a {
	display: flex;
	align-items: center;
	gap: 15px;
	text-decoration: none;
	color: inherit;
}

.related-post-item a:hover .related-post-title {
	color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
	.related-posts-container h3 {
		font-size: 17px;
	}
	.related-posts-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.related-thumb-wrap {
		flex: 0 0 70px;
	}
	.related-post-title {
		font-size: 16px;
	}
}

/* Social Share */
.ml-social-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ml-social-sharing {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
  gap: 2px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  text-decoration: none!important;
  transition: background 0.2s ease;
}
.ml-social-sharing svg {
  display: inline-block;
  fill: currentColor;
  flex-shrink: 0;
}
.ml-social-chatgpt { background: #10a37f; color: white; }
.ml-social-perplexity { background: #1a1a1a; color: white; }
.ml-social-facebook { background: #1877f2; color: white; }
.ml-social-twitter { background: #000000; color: white; }
.ml-social-whatsapp { background: #25d366; color: white; }
.ml-social-shareall { background: #666!important; color: white; cursor: pointer; border: none; }
.ml-social-sharing:hover { opacity: 0.8; text-decoration:none; color: #fff!important; }

/* comments */
.comment .children,
.comment-content {
	border-width: 0 !important;
}

.comment .children li .comment-content,
.comment-content {
	border-bottom-width: 1px solid var(--border-color)!important;
}

/* Plugin */
.lwptoc_header {
	margin-bottom: 0!important;
}

.lwptoc_i {
	padding: 20px 30px!important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.lwptoc_item {
    margin-bottom: 10px;
}