﻿.blog-date {
    background: white;
    border: none;
    padding: 15px 12px 0 12px;
    text-align: center;
    min-width: 60px;
    margin-right: 20px;
    position: relative;
}

    .blog-date::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: -10px;
        right: 0;
        width: 1px;
        background-color: #e9ecef;
    }

    .blog-date::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #e9ecef;
    }

.date-month {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.date-day {
    font-size: 24px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 6px;
    line-height: 1;
}

.date-year {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    line-height: 1;
}

.blog-title a:hover {
    color: #007bff !important;
}

.sidebar-widget {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 16px;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

/* Recent Posts */
.recent-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.recent-post-item {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    list-style: none;
}

    .recent-post-item:first-child {
        padding-top: 0;
    }

    .recent-post-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.recent-post-link {
    color: #007bff;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
    font-weight: 400;
    word-wrap: break-word;
}

    .recent-post-link:hover {
        color: #0056b3;
        text-decoration: none;
    }

.blog-post {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}

    .blog-post:last-child {
        border-bottom: none;
    }

/* Read More Button */
.blog-actions .btn {
    background-color: #134e86;
    border-color: #134e86;
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .blog-actions .btn:hover {
        background-color: #4CAF50;
        border-color: #4CAF50;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(76,175,80,0.3);
    }

/* Blog Content Spacing */
.blog-content {
    padding-left: 0;
}

/* Blog Image Link */
.blog-image-link {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
}

    .blog-image-link:hover {
        text-decoration: none;
    }

    .blog-image-link img {
        border: 2px solid #dee2e6;
    }

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

    .blog-title a {
        word-wrap: break-word;
    }

.blog-meta {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 20px;
}

/* Blog Container Spacing */
.blog-container {
    margin-top: 100px;
}

/* Blog Details Page Styles */
.blog-post-detail {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.blog-title-detail {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.blog-meta-detail {
    font-size: 16px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

    .blog-meta-detail i {
        color: #134e86;
    }

.blog-featured-image {
    text-align: center;
    margin: 30px 0;
}

.blog-content-detail {
    margin-top: 30px;
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
}

    .content-body h1,
    .content-body h2,
    .content-body h3,
    .content-body h4,
    .content-body h5,
    .content-body h6 {
        color: #2c3e50;
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .content-body p {
        margin-bottom: 20px;
    }

    .content-body img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .content-body blockquote {
        border-left: 4px solid #007bff;
        padding-left: 20px;
        margin: 20px 0;
        font-style: italic;
        color: #6c757d;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 0 8px 8px 0;
    }

    .content-body ul,
    .content-body ol {
        margin-bottom: 20px;
        padding-left: 30px;
    }

    .content-body li {
        margin-bottom: 8px;
    }


/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-container {
        margin-top: 80px;
    }

    .blog-date {
        margin-right: 10px;
        min-width: 60px;
        padding: 10px 6px 0 6px;
    }

    .date-day {
        font-size: 18px;
    }

    .blog-title {
        font-size: 1.3rem;
    }

    .blog-title-detail {
        font-size: 2rem;
    }

    .blog-post-detail {
        padding: 20px;
        margin-bottom: 20px;
    }

    .content-body {
        font-size: 16px;
    }

    .blog-meta-detail {
        font-size: 14px;
    }

        .blog-meta-detail span {
            display: block;
            margin-bottom: 5px;
        }

        .blog-meta-detail .ms-3 {
            margin-left: 0 !important;
        }
    .blog-image img {
        object-fit: cover;
        aspect-ratio: 960 / 640;
    }
}

.sidebar {
    display: block !important;
}