/* ============================================================
   WEB JINNY — Trang BÀI VIẾT ĐƠN (single post) — tông HỒNG
   File: /custom/single-nhatky.css  (loader tự enqueue)
   Đi kèm: /custom/single-nhatky.php (chèn ảnh bìa + chip cảm xúc)
   Chỉ tác động trang bài viết đơn (.single-post).
   ============================================================ */

/* ----- Ẩn sidebar cũ + canh nội dung về giữa, bề rộng dễ đọc ----- */
.single-post .post-sidebar { display: none !important; }
.single-post .row-small > .large-9,
.single-post .row-small > .large-9.medium-col-first {
	flex: 0 0 100% !important;
	max-width: 900px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ----- Tiêu đề bài viết: font viết tay giống trang chuyên mục -----
   (Giữ nguyên nền banner tím đậm mặc định của theme cho nổi bật) */
.single-post .page-title .entry-title {
	font-family: 'Dancing Script', cursive !important; /* font đã nạp sẵn trên site */
	font-weight: 700 !important;
	font-size: 52px !important;
	line-height: 1.2 !important;
}

/* ----- Ảnh bìa (chèn bằng single-nhatky.php) ----- */
.wj-nk-single-cover {
	margin: 0 0 22px;
}
.wj-nk-single-cover img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 460px;          /* cắt ảnh quá cao/quá rộng thành dạng bìa */
	object-fit: cover;
	object-position: center;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(184,154,214,.18);
}

/* ----- Hàng chip cảm xúc (dùng lại style .wj-nk-chip) ----- */
.wj-nk-single-moods {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 24px;
}
.wj-nk-single-moods .wj-nk-chip { font-size: 13px; padding: 6px 14px; }

/* ----- Dòng "Bài viết này được đăng trong..." đổi đỏ -> lavender ----- */
.single-post .entry-meta a { color: var(--wj-lavender) !important; }
.single-post .entry-meta a:hover { color: var(--wj-pink) !important; }

/* ----- Khu vực bình luận: mềm mại, bo góc, nền hồng nhạt ----- */
.single-post .comments-area {
	background: var(--wj-pink-soft);
	border: 1px solid #f6e5ee;
	border-radius: 20px;
	padding: 28px 26px;
	margin-top: 34px;
}
/* Bỏ nền xám mặc định của theme ở khối trả lời -> chỉ còn 1 nền hồng ngoài */
.single-post .comment-respond {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
.single-post .comment-respond .comment-reply-title,
.single-post .comments-title {
	font-family: 'Dancing Script', cursive;
	color: var(--wj-lavender);
	font-size: 30px;
	font-weight: 700;
}
.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form input[type="url"],
.single-post .comment-form textarea {
	border: 1px solid var(--wj-line) !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: none !important;
}
.single-post .comment-form input[type="text"]:focus,
.single-post .comment-form input[type="email"]:focus,
.single-post .comment-form input[type="url"]:focus,
.single-post .comment-form textarea:focus {
	border-color: var(--wj-pink) !important;
	box-shadow: 0 0 0 3px rgba(247,198,217,.30) !important;
}
.single-post .comment-form input[type="submit"] {
	background: var(--wj-pink) !important;
	border: none !important;
	border-radius: 30px !important;
	color: #fff !important;
	padding: 12px 30px !important;
	box-shadow: none !important;
}
.single-post .comment-form input[type="submit"]:hover { filter: brightness(.96); }

/* ----- Responsive ----- */
@media (max-width: 600px) {
	.single-post .page-title .entry-title { font-size: 38px !important; }
	.single-post .comments-area { padding: 20px 16px; }
	.wj-nk-single-cover img { border-radius: 14px; max-height: 300px; }
}
