/* =============================================================
   BLOG SINGLE POST (single.php)
   ============================================================= */

/* ---------- Post Hero ---------- */
.post-hero {
	padding: 15px 0 0;
}

.post-hero__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #888;
	margin-bottom: 12px;
}

.post-hero__breadcrumb a {
	color: #888;
	text-decoration: none;
	transition: color .2s;
}

.post-hero__breadcrumb a:hover { color: var(--color-primary); }

.post-hero__breadcrumb span[aria-hidden] { opacity: .5; }

.post-hero__cat {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 5px 14px;
	border-radius: 50px;
	text-decoration: none;
	margin-bottom: 14px;
	transition: background .2s;display:none;
}

.post-hero__cat:hover { background: var(--color-primary-dark); color: #fff; }

.post-hero__title {
	font-size: clamp(1.4rem, 3.5vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-navy);
	margin: 0 0 12px;
}

.post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #777;display:none;
}

.post-hero__author {
	display: flex;
	align-items: center;
	gap: 8px;
}

.post-hero__avatar { display: block; line-height: 0; }

.post-hero__avatar-img { border-radius: 50%; display: block; }

.post-hero__author-name {
	color: var(--color-navy);
	font-weight: 600;
	text-decoration: none;
}

.post-hero__author-name:hover { color: var(--color-primary); }

.post-hero__sep { opacity: .5; }

.post-hero__reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}


/* ---------- Post Body / Content ---------- */
.post-body { padding: 20px 0; }

.post-thumb { margin-bottom: 28px; }

.post-thumb__figure { margin: 0; border-radius: 14px; overflow: hidden; }

.post-thumb__img { width: 100%; height: auto; display: block; }

.detail-content {
	font-size: 15px;
	line-height: 1.78;
	color: #444;
}

.detail-content h2, .detail-content h3, .detail-content h4 {
	color: var(--color-navy);
	font-weight: 700;
	margin: 1.5em 0 .6em;
}

.detail-content p { margin-bottom: 1em; }

.detail-content ul, .detail-content ol {
	padding-left: 1.4em;
	margin-bottom: 1em;
}

.detail-content a { color: var(--color-primary); text-decoration: underline; }

.detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.post-pages { margin-top: 24px; font-size: 14px; font-weight: 600; }

.post-pages a { display: inline-block; margin-left: 6px; color: var(--color-primary); }


/* ---------- Post Sidebar ---------- */
.post-sidebar { position: sticky; top: 100px; }

.post-sidebar__inner {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}

.post-sidebar__cta {
	text-align: center;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.post-sidebar__cta-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 8px;
}

.post-sidebar__cta-desc {
	font-size: 13px;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin: 0 0 16px;
}

.post-sidebar__cta-btn {
	display: block;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 12px;
	border-radius: 999px;
	text-decoration: none;
	transition: background .2s;
	margin-bottom: 10px;
}

.post-sidebar__cta-btn:hover { background: var(--color-primary-dark); color: #fff; }

.post-sidebar__cta-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--color-navy);
	text-decoration: none;
}

.post-sidebar__cta-phone:hover { color: var(--color-primary); }

.post-sidebar__heading {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 16px;
}

.post-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.post-sidebar__link { display: flex; gap: 12px; text-decoration: none; }

.post-sidebar__thumb {
	flex-shrink: 0;
	width: 68px;
	height: 68px;
	border-radius: 10px;
	overflow: hidden;
}

.post-sidebar__thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-sidebar__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.post-sidebar__title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--color-navy);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}

.post-sidebar__link:hover .post-sidebar__title { color: var(--color-primary); }

.post-sidebar__date { font-size: 11.5px; color: #999; }


/* ---------- Post Footer: Tags + Share ---------- */
.post-footer { padding-bottom: 32px; }

.post-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.post-tags__label { font-size: 13px; font-weight: 600; color: var(--color-navy); }

.post-tags__chip {
	font-size: 12.5px;
	color: #666;
	background: #f4f4f4;
	padding: 5px 12px;
	border-radius: 50px;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.post-tags__chip:hover { background: var(--color-primary); color: #fff; }

.post-share { display: flex; align-items: center; gap: 8px; }

.post-share__label { font-size: 13px; font-weight: 600; color: var(--color-navy); margin-right: 4px; }

.post-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: #fff;
	padding: 7px 13px;
	border-radius: 50px;
	border: none;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .2s;
}

.post-share__btn:hover { opacity: .88; color: #fff; }

.post-share__btn--fb { background: #1877f2; }
.post-share__btn--copy { background: #666; }
.post-share__btn--copy.copied { background: var(--color-primary); }


/* ---------- Prev / Next Navigation ---------- */
.post-nav { padding-bottom: 40px; }

.post-nav__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	border-top: 1px solid #eee;
	padding-top: 24px;
}

.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border: 1px solid #eee;
	border-radius: 12px;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}

.post-nav__item:hover { border-color: var(--color-primary); box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }

.post-nav__item--next { text-align: right; align-items: flex-end; }

.post-nav__dir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--color-primary);
}

.post-nav__title {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--color-navy);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 991px) {
	.post-sidebar { position: static; }
}

@media (max-width: 575.98px) {
	.post-hero { padding-top: 15px; }
	.post-body { padding: 20px 0; }
	.post-nav__inner { grid-template-columns: 1fr; }
	.post-nav__item--next { text-align: left; align-items: flex-start; }
}


/* =============================================================
   POST COMMENTS (comments.php)
   ============================================================= */

.post-comments { padding-bottom: 50px; }

.post-comments__wrap {
	max-width: 900px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.post-comments__heading {
	font-size: 19px;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 20px;
}

.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }

.comment-item + .comment-item,
.comment-item .children .comment-item { margin-top: 20px; }

.comment-item .children { list-style: none; margin: 20px 0 0; padding: 0 0 0 44px; }

.comment-body { background: #f9f7f8; border-radius: 12px; padding: 18px 20px; }

.comment-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.comment-avatar { flex-shrink: 0; line-height: 0; }

.comment-avatar__img { border-radius: 50%; display: block; }

.comment-meta { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }

.comment-author-name { font-size: 14px; font-weight: 700; color: var(--color-navy); }

.comment-date { font-size: 12px; color: #999; }

.comment-actions { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }

.comment-actions a { color: var(--color-primary); text-decoration: none; font-weight: 600; }

.comment-actions a:hover { text-decoration: underline; }

.comment-pending {
	font-size: 12.5px;
	color: #b8860b;
	background: #fff8e6;
	padding: 6px 12px;
	border-radius: 6px;
	margin: 10px 0 0;
}

.comment-content { font-size: 14.5px; line-height: 1.7; color: var(--color-text); margin-top: 10px; }

.comment-content p:last-child { margin-bottom: 0; }

.comment-form .form-label { font-size: 13.5px; font-weight: 600; color: var(--color-navy); margin-bottom: 6px; }

.comment-form .required { color: #e04545; }

.comment-form .form-control { border: 1px solid #e2e2e2; border-radius: 8px; padding: 10px 14px; font-size: 14px; }

.comment-form .form-control:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(230, 0, 126, .12);
	outline: none;
}

.comment-form-submit .btn-primary {
	display: inline-flex;
	align-items: center;
	background: var(--color-primary);
	color: #fff;
	border: none;
	padding: 11px 26px;
	border-radius: 50px;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s;
}

.comment-form-submit .btn-primary:hover { background: var(--color-primary-dark); }

.comment-form-submit small a { font-size: 13px; color: #999; margin-left: 10px; }


/* ---------- Related Posts ---------- */
.post-related { padding: 10px 0 50px; }

.post-related__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.post-related__title { font-size: 1.5rem; font-weight: 700; color: var(--color-navy); margin: 0; }
