/* Blog-specific styles */

/* Blog listing page styles */
.blog-card {
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card .card-img-top {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.blog-card:hover .card-img-top img {
    transform: scale(1.1);
}

.blog-meta {
    font-size: 0.875rem;
    color: #754939;
}

.blog-title {
    color: #000000;
    font-weight: 600;
    line-height: 1.3;
}

.blog-excerpt {
    color: #754939;
    line-height: 1.6;
}

.blog-read-more {
    background-color: #754939;
    border: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    background-color: #754939;
    transform: translateY(-2px);
}

/* Blog detail page styles */
.blog-breadcrumb {
    background: linear-gradient(135deg, #f8f2e7 0%, #e8d5b7 100%);
}

.blog-breadcrumb .breadcrumb-item a {
    color: #C19975;
    text-decoration: none;
}

.blog-breadcrumb .breadcrumb-item.active {
    color: #754939;
}

.blog-sidebar {
    background-color: #f8f2e7;
    border-radius: 1rem;
    padding: 2rem;
}

.blog-sidebar h3 {
    color: #754939;
    font-weight: 600;
}

.blog-sidebar ul li {
    margin-bottom: 1rem;
}

.blog-sidebar ul li a {
    color: #48648B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar ul li a:hover {
    color: #754939;
    font-weight: 600;
}

.blog-content h2 {
    color: #C18F2C;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.blog-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-meta-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.blog-meta-bottom i {
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-sidebar {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-breadcrumb h1 {
        font-size: 2rem;
    }
}

/* Blog listing grid adjustments */
@media (min-width: 992px) {
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

/* Blog card image aspect ratio */
.blog-card .card-img-top {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Blog navigation active state */
.blog-sidebar ul li a.active {
    font-weight: 600;
    color: #754939;
}

/* Smooth transitions */
.blog-card,
.blog-sidebar,
.blog-content {
    transition: all 0.3s ease;
}

/* Blog search and filter styles */
.blog-filters {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.blog-filters select,
.blog-filters input {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
}

.blog-filters label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Blog pagination styles */
.blog-pagination {
    margin-top: 3rem;
}

.blog-pagination .page-link {
    color: #754939;
    border-color: #dee2e6;
}

.blog-pagination .page-link:hover {
    background-color: #754939;
    border-color: #754939;
    color: white;
}

.blog-pagination .page-item.active .page-link {
    background-color: #754939;
    border-color: #754939;
}

/* Blog related posts section */
.related-posts {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
}

.related-posts h3 {
    color: #754939;
    margin-bottom: 1.5rem;
}

.related-post-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Blog author section */
.blog-author {
    background-color: #f8f2e7;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.blog-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author h4 {
    color: #754939;
    margin-bottom: 0.5rem;
}

.blog-author p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Blog tags */
.blog-tags {
    margin: 1.5rem 0;
}

.blog-tag {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    margin: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: #754939;
    color: white;
    text-decoration: none;
} 