/* Beauty By Lex Blog Styles */

/* Blog Cards Enhanced Styling */
.blog_img .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog_img .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog_img .card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog_img .card:hover img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #2c3e50;
}

.card-body h3:hover {
    color: #d4a574;
}

.card-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-body a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-body a:hover {
    color: #c19660;
    text-decoration: underline;
}

/* Post Meta Information */
.post-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
    font-style: italic;
}

/* Category Color Classes */
.blog-site-teal {
    border-left: 4px solid #20b2aa;
}

.blog-site-blue {
    border-left: 4px solid #4a90e2;
}

.blog-site-rose {
    border-left: 4px solid #e91e63;
}

.blog-site-mauve {
    border-left: 4px solid #d4a574;
}

/* Pagination Styles */
.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination-wrapper {
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-btn {
    background: #fff;
    border: 2px solid #d4a574;
    color: #d4a574;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
}

.pagination-btn:hover {
    background: #d4a574;
    color: #fff;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #d4a574;
    color: #fff;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Blog Error Styles */
.blog-error {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-error h3 {
    color: #d4a574;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-error p {
    color: #666;
    font-size: 1rem;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-title {
    font-size: 2.5rem;
    color: #d4a574;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.blog-post-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.blog-post-content h2 {
    color: #d4a574;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.blog-post-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

/* Callout Boxes */
.callout {
    border-left: 4px solid #d4a574;
    padding: 1.5rem;
    margin: 2rem 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
}

.callout h4 {
    margin: 0 0 1rem 0;
    color: #d4a574;
    font-size: 1.2rem;
}

.callout p {
    margin: 0;
    color: #555;
}

.callout-tip {
    border-left-color: #28a745;
    background: #f8fff9;
}

.callout-tip h4 {
    color: #28a745;
}

.callout-warning {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.callout-warning h4 {
    color: #ffc107;
}

.callout-info {
    border-left-color: #17a2b8;
    background: #f0faff;
}

.callout-info h4 {
    color: #17a2b8;
}

/* Back to Blog Button */
.back-to-blog {
    display: inline-block;
    margin: 2rem 0;
    padding: 0.75rem 1.5rem;
    background: #d4a574;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-to-blog:hover {
    background: #c19660;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog_img {
        grid-template-columns: 1fr;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .pagination-wrapper {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .callout {
        padding: 1rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 1rem 0.5rem;
    }
    
    .blog-post-title {
        font-size: 1.75rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
}