    /* Custom styles for the new comment layout */
.type-bb_community_posts h1.entry-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
	border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
}
	
    .comment-form-wrapper { display: flex; align-items: flex-start; }
.comment-form-avatar { 
	margin-right: 10px;
	width: 40px;
    height: 40px;
}
    .comment-form-content { flex-grow: 1; }
.comment-form-content textarea {
	width: 100%;
	border: none;
	border-bottom: 1px solid #ccc;
	border-radius: 0;
	padding: 10px;
	font-size: 0.9rem;
}
    .comment-form-content .form-submit { text-align: right; margin-top: 10px; }
    
.bb-comments-list .comment {
    display: inline-block;
	width: 100%;
}
    .bb-comments-list .comment-avatar { margin-right: 15px; }
    .bb-comments-list .comment-content { flex-grow: 1; }
    .bb-comments-list .comment-meta {
		 font-size: 0.85rem;
		color: #6c757d;
		margin-bottom: 0.25rem;
		font-weight: 400; 
	}
	.bb-comments-list .comment-meta a {
		color: #222;
	}
    .bb-comments-list .comment-author { font-weight: bold; color: #212529; }
    .bb-comments-list .comment-text {
		margin-bottom: 0.5rem;
    	margin-top: 0.5rem;
		font-size: .95rem;
		line-height: 1.35;
	}
.bb-comments-list .comment-text p {
	margin-bottom: .8rem;
}
    .bb-comments-list .reply-form { border-top: 1px solid #eee; padding-top: 1rem; }

    /* Styles for the auto-expanding textarea */
    .auto-expanding-textarea {
        resize: none;
        overflow-y: hidden;
        line-height: 1.5;
        transition: height 0.2s ease;
		width: 100%;
		border: 1px solid #ccc;
		border-radius: 0;
		padding: 10px;
		font-size: 0.9rem;
    }
    /* Style for post meta date */
    .entry-meta {
        font-size: 0.8rem;
        color: #222;
        margin-top: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .author-info {
        display: flex;
        align-items: center;
    }
    .author-info .avatar {
        margin-right: 10px;
        border-radius: 50%;
    }
    .author-details {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    .author-name {
        font-weight: bold;
        color: #212529;
    }
	.bb-custom-fields {
		font-size: .9rem;
	}

	/* Styles for Comment Section */
	.comment-body {
		border-bottom: 1px solid #eee!important;
		margin-bottom: 1rem;
	}
.comment-body img.avatar {
	max-width: 30px !important; 
}
	.comments-area .comments-title {
		font-size: 1rem;
		font-weight: 600;
		background: #eff7ff;
		padding: 0.5rem;
		border-top: 1px solid #ebebeb;
		margin-top: 2rem;
	}
.comments-title.comments-reply {
	margin-top: 1rem;
}
	.comment-body:last-child {
		border-bottom: none;
	}
	.reply-edit-links {
		text-align: end;
	}
	button.reply-button, button.edit-comment-button, button.delete-comment-button {
		background: #243865;
		color: white!important;
		text-decoration: none;
		margin-bottom: 1rem;
		margin-left: .5rem;
		border-radius: 0 !important;
		text-transform: uppercase;
		font-size: .7rem;
		font-weight: 600;
	}
	button.reply-button:hover, button.reply-button:active, button.edit-comment-button:hover, button.edit-comment-button:active, button.delete-comment-button:hover, button.delete-comment-button:active {
		background: #1a429d!important;
		color: white!important;
	}
	.comment-author .fn {
		font-size: .9rem !important;
		font-weight: 500;
		margin-left: .25rem;
		margin-right: .25rem;
	}
#bb-comments-list .comment-author {
	margin-bottom: 0.75rem;
}

/**/
.other-topics-section td a {
	font-size: .9rem;
	text-decoration: none;
	color: #333;
}

    /* Styles for related posts section */
    .related-posts-section {
        margin-top: 3rem;
    }
    .related-posts-list {
        list-style: none;
        padding-left: 0;
		column-count: 2;
    	column-gap: 2rem;
    }
    .related-posts-list li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
    }
	ul.related-posts-list li:first-child {
		border-top: none;
	}
    .related-posts-list li:first-child {
        border-top: 1px solid #eee;
    }
    .related-posts-list a {
        text-decoration: none;
        color: #212529;
        font-weight: 500;
    }
    .related-posts-list a:hover {
        color: #0d6efd;
    }