.blog-wrap {
    max-width: 100%;
}

.blog-wrap[data-bs-theme='light'] {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    border: 1px solid #dee2e6;
}

.entry {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
}

.entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-card {
    margin-bottom: 24px;
}

.entry h2 {
    margin: 0 0 8px;
}

.entry h2 a {
    color: #222 !important;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.3;
    display: inline-block;
}

.entry h2 a:hover {
    color: var(--accent-color, #dc3545) !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.blog-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
    line-height: 1.3;
}

.blog-date {
    color: #888;
    font-size: 13px;
    padding: 0 0 12px;
    float: none;
    margin: 0;
}

.blog-content {
    clear: both;
    padding-top: 8px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.blog-content p {
    margin-bottom: 16px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
}

.blog-content a {
    color: var(--accent-color, #dc3545);
}

.num_comments {
    padding: 0 0 8px;
    float: none;
    font-size: 13px;
}

.num_comments a {
    text-decoration: none;
    color: #888 !important;
}

.num_comments a:hover {
    color: var(--accent-color, #dc3545) !important;
}

.read-more {
    display: inline-block;
    background: var(--accent-color, #dc3545);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
}

.read-more:hover {
    opacity: 0.85;
    color: #fff;
}

.news-feed-btn {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.news-feed-btn a {
    display: inline-block;
    background: var(--accent-color, #dc3545);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
}

.news-feed-btn a:hover {
    opacity: 0.85;
    color: #fff;
}

.comments-off {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px 14px;
    border-radius: 6px;
    display: inline-block;
    font-size: 14px;
    color: #856404;
}

.comment-form {
    width: 100%;
    margin-top: 20px;
    clear: both;
    margin-bottom: 40px;
}

.comment-form .add {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.comment-label {
    color: #495057;
    display: block;
    clear: both;
    float: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form textarea {
    border: 1px solid var(--bs-border-color, #ced4da);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;
    font-family: inherit;
    line-height: 1.5;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    border-color: var(--accent-color, #dc3545);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.comment-form textarea {
    height: 120px;
}

.comment-form .btn {
    background: var(--accent-color, #dc3545);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.comment-form .btn:hover {
    opacity: 0.85;
}

#ph {
    display: none;
    visibility: hidden;
}

#comments {
    font-weight: 700;
    font-size: 18px;
    border-top: 3px solid var(--accent-color, #dc3545);
    padding: 12px 0;
    margin: 30px 0 20px;
    clear: both;
    color: #212529;
}

.comment-name {
    font-weight: 700;
    font-size: 15px;
    padding-bottom: 2px;
    color: #212529;
}

.comment-date {
    color: #6c757d;
    font-size: 12px;
    padding-bottom: 6px;
}

.blog-comment {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    font-size: 14px;
    line-height: 1.6;
    color: #212529;
}

.blog-pagination {
    margin: 20px 0;
    clear: both;
}

.blog-pagination a {
    text-decoration: none;
    color: #fff;
    background: var(--accent-color, #dc3545);
    font-size: 13px;
    padding: 7px 14px;
    margin-right: 8px;
    border-radius: 6px;
    display: inline-block;
    transition: opacity 0.15s;
}

.blog-pagination a:hover {
    opacity: 0.85;
}
