/* Blog Styles */
.blog-header {
    background-color: #163172;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.blog-header .container {
    position: relative;
    z-index: 1;
}

.blog-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.blog-header .meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-header .meta .date {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.blog-header .meta i {
    margin-right: 5px;
}

.blog-header .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.blog-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.blog-header .breadcrumb-item a:hover {
    color: #fff;
}

.blog-header .breadcrumb-item.active {
    color: #fff;
}

.blog-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.blog-content {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: 600px;
}

.blog-container {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.blog-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-body {
    padding: 40px;
}

.blog-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #163172;
}

.blog-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.blog-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 20px;
    color: #163172;
}

.blog-body ul, .blog-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #333;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.blog-body blockquote {
    border-left: 4px solid #163172;
    padding: 20px;
    background-color: #f8f9fa;
    margin: 20px 0;
    font-style: italic;
}

.blog-body blockquote p {
    margin-bottom: 0;
}

.blog-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-share h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.blog-share .social-icons {
    display: flex;
    align-items: center;
}

.blog-share .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    margin-right: 10px;
    color: #163172;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.blog-share .social-icons a:hover {
    background-color: #163172;
    color: #fff;
    transform: translateY(-3px);
    border-color: #163172;
}

.sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar-widget-header {
    background-color: #163172;
    color: #fff;
    padding: 15px 20px;
}

.sidebar-widget-header h5 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.sidebar-widget-body {
    padding: 20px;
}

.sidebar-widget-body .list-group-item {
    border: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-widget-body .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-widget-body .list-group-item a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.sidebar-widget-body .list-group-item a:hover {
    color: #163172;
    transform: translateX(5px);
}

.sidebar-widget-body p {
    margin-bottom: 15px;
    color: #666;
}

.sidebar-widget-body .btn-primary {
    background-color: #163172;
    border-color: #163172;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-widget-body .btn-primary:hover {
    background-color: #0e2358;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(22, 49, 114, 0.2);
}

@media (max-width: 991.98px) {
    .blog-header {
        padding: 60px 0;
    }

    .blog-header h1 {
        font-size: 2.2rem;
    }

    .blog-image {
        height: 300px;
    }

    .blog-body {
        padding: 30px;
    }

    .blog-body h2 {
        font-size: 1.8rem;
    }

    .blog-body p, .blog-body li {
        font-size: 1rem;
    }

    .sidebar {
        margin-top: 30px;
        position: static;
    }
}

@media (max-width: 767.98px) {
    .blog-header {
        padding: 40px 0;
    }

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .blog-image {
        height: 250px;
    }

    .blog-body {
        padding: 20px;
    }

    .blog-body h2 {
        font-size: 1.5rem;
    }

    .blog-body h3 {
        font-size: 1.3rem;
    }
}
