/**
 * Custom Block Enhancements for Lella Theme
 */

/* Post Cards & Articles */
.wp-block-post {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #E8EEFA;
}

.wp-block-post:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.wp-block-post-featured-image img {
	border: 1px solid #D4CCAA;
	border-radius: 2px;
	max-width: 100%;
	height: auto;
}

/* Post Meta Info */
.lella-post-meta {
	font-size: 12px;
	color: #666666;
	margin-top: -6px;
	margin-bottom: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.lella-post-meta a {
	color: #666666;
}

/* Comments Block */
.wp-block-comments {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #8956CD;
}

.wp-block-comments h2,
.wp-block-comments h3 {
	color: #33016F;
}

.wp-block-comment-template {
	list-style: none;
	padding: 0;
}

.wp-block-comment-template .wp-block-comment {
	background: #F8FAFD;
	border-left: 3px solid #8956CD;
	padding: 12px 16px;
	margin-bottom: 14px;
	border-radius: 0 4px 4px 0;
}

/* Pagination */
.wp-block-query-pagination {
	margin-top: 24px;
	padding-top: 14px;
	border-top: 1px solid #E8EEFA;
	gap: 12px;
}

.wp-block-query-pagination a {
	color: #33016F;
	font-weight: 700;
	text-decoration: none;
	padding: 4px 10px;
	border: 1px solid #CBD5E1;
	border-radius: 3px;
	background-color: #FFFFFF;
}

.wp-block-query-pagination a:hover {
	background-color: #8956CD;
	color: #FFFFFF;
	border-color: #8956CD;
}

/* Tables */
.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table th,
.wp-block-table td {
	border: 1px solid #C7BC8F;
	padding: 6px 10px;
}

.wp-block-table th {
	background-color: #E9E4D3;
	color: #221F11;
}
