/* =========================================================
   Benaes Blog — Single post styles
   ========================================================= */

/* ── Post dates  [benaes_post_dates] ── */

.bpd-dates {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 24px;
	font-size: 0.875rem;
	line-height: 1.4;
}

.bpd-dates__item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bpd-dates__label {
	color: #9ca3af;
	font-weight: 400;
}

.bpd-dates__value {
	color: #374151;
	font-weight: 600;
}

/* ── Post categories  [benaes_post_categories] ── */

.bpc-categories {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bpc-categories__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.bpc-categories__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.bpc-categories__item {
	margin: 0;
	padding: 0;
}

.bpc-categories__link {
	display: block;
	padding: 7px 0;
	font-size: 1rem;
	color: #6b6b6b;
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.bpc-categories__link:hover {
	color: #1a1a1a;
}

.wp-block-rank-math-toc-block {
	border-radius: 16px;
	background-color: #f2ece8;
	padding: 24px 40px;
}

.wp-block-rank-math-toc-block > *:not(nav) {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.24;
}

.wp-block-rank-math-toc-block nav ul {
	list-style-type: decimal;
}

.wp-block-rank-math-toc-block nav ul li a {
	font-size: 16px;
	line-height: 1.5;
	color: #3a3a3a;
}

.wp-block-rank-math-toc-block nav ul li a:hover {
	color: #3a3a3a;
}

.post__content h2 {
	margin-top: 30px;
	font-size: 32px;
}

.post__content h3 {
	margin-top: 30px;
	font-size: 26px;
}

.post__content h4,
.post__content h5,
.post__content h6 {
	margin-top: 30px;
	font-size: 22px;
}

.post__content a {
	text-decoration: underline;
	color: #bb8c62;
}

.post__content a:hover {
	color: #bb8c62;
}

.post__content img {
	border-radius: 16px;
}

@media (max-width: 767px) {
	.post__content h2 {
		font-size: 28px;
	}

	.post__content h3 {
		font-size: 22px;
	}

	.post__content h4,
	.post__content h5,
	.post__content h6 {
		font-size: 19px;
	}

	.elementor-widget-theme-post-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		max-width: 100%;
	}

	.bpd-dates {
		flex-direction: column;
		gap: 10px;
	}
}
