/*--------------------------------------------------------------
# Blog List Page
--------------------------------------------------------------*/

.blog-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.blog-post-img {
    position: relative;
}

.blog-post-img .blog-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

.blog-post-img .blog-date span {
    display: block;
    font-size: 20px;
}

.blog-post-img .blog-date span:last-child {
    font-size: 14px;
    font-weight: 500;
}

.blog-post-body {
    padding: 30px;
}

.blog-post-meta {
    margin-bottom: 15px;
}

.blog-post-meta span {
    font-size: 14px;
    color: #777;
    margin-right: 20px;
}

.blog-post-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-post-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-post-body h3 a {
    color: #000;
    transition: all 0.3s ease;
}

.blog-post-body h3 a:hover {
    color: var(--primary-color);
}

.blog-post-body .read-more {
    font-weight: 600;
    color: var(--primary-color);
}

.blog-post-body .read-more:hover {
    color: var(--secondary-color);
}

.blog-pagination .pagination .page-item {
    margin: 0 5px;
}

.blog-pagination .pagination .page-link {
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-pagination .pagination .page-item.active .page-link,
.blog-pagination .pagination .page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.blog-pagination .pagination .page-item.disabled .page-link {
    background-color: #f1f1f1;
    color: #aaa;
}


/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.sidebar-widget .widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.search-widget .form-control {
    height: 50px;
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.search-widget .form-control:focus {
    box-shadow: none;
    border-color: #ddd;
}

.search-widget .btn {
    border-radius: 0 5px 5px 0;
    padding: 0 20px;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 15px;
}

.widget-list li a {
    color: #555;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.widget-list li a:hover {
    color: var(--primary-color);
}

.widget-list li a span {
    font-style: italic;
    color: #999;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
}

.recent-post-body a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.recent-post-body a:hover {
    color: var(--primary-color);
}

.recent-post-body span {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.tags-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-widget a {
    font-size: 14px;
    padding: 6px 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tags-widget a:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/*--------------------------------------------------------------
# Blog Details Page
--------------------------------------------------------------*/

.blog-details-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.blog-details-card .blog-post-body {
    padding: 30px;
}

.blog-full-content {
    font-size: 16px;
    line-height: 1.8;
}

.blog-full-content p {
    margin-bottom: 20px;
}

.blog-full-content blockquote {
    font-size: 18px;
    font-style: italic;
    color: #000;
    padding: 20px 30px;
    border-left: 5px solid var(--primary-color);
    background: #f8f8f8;
    margin: 20px 0;
    position: relative;
}

.blog-full-content blockquote i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 10px;
}

.comments-section h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.comment-item {
    display: flex;
    margin-bottom: 30px;
}

.comment-item.comment-reply {
    margin-left: 60px;
}

.comment-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
}

.comment-body h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-body h5 span {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    font-style: italic;
}

.comment-body p {
    font-size: 15px;
    margin-bottom: 10px;
}

.comment-body .reply-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.reply-form {
    margin-top: 40px;
}

.reply-form h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reply-form p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.reply-form .form-control {
    border: 1px solid #eee;
    background: #f8f8f8;
    padding: 12px;
}

.reply-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background: #fff;
}