/* Blog Styles */

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card-sm {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-card-sm .card-img-top {
    height: 120px;
    object-fit: cover;
}

/* Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-badge:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* Sidebar */
.sidebar-card {
    margin-bottom: 1.5rem;
}

.sidebar-card .card-header {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
}

.sidebar-recent-post {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-recent-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.sidebar-recent-post-content {
    padding-left: 1rem;
}

.sidebar-recent-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sidebar-recent-post-date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Pagination */
.pagination .page-link {
    color: #0d6efd;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #0d6efd;
}

/* Social Share */
.social-share {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.social-share-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-share-button i {
    margin-right: 0.5rem;
}

/* Newsletter Form */
.newsletter-form {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

.newsletter-form-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-form-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form-input {
    margin-bottom: 1rem;
}

.newsletter-form-button {
    width: 100%;
}