/* Blog Public Styles */
.blog-hero {
    background: linear-gradient(135deg, #AC5512 0%, #d4691b 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(172, 85, 18, 0.2);
    border-color: #AC5512;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #ffd3a1;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: #AC5512;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    box-orient: vertical;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #777;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-read-more {
    display: inline-block;
    background-color: #AC5512;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    background-color: #8a4510;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(172, 85, 18, 0.3);
}

/* Single Post Styles */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    color: #AC5512;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.post-description {
    color: #666;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #888;
    font-size: 0.95rem;
}

.post-author {
    font-weight: 600;
    color: #AC5512;
}

.post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.post-content h2 {
    color: #AC5512;
    margin: 40px 0 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content ul, 
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.back-to-blog {
    display: inline-block;
    background-color: #fff;
    color: #AC5512;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #AC5512;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background-color: #AC5512;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(172, 85, 18, 0.3);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-link {
    padding: 10px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: #AC5512;
    color: white;
    border-color: #AC5512;
}

.pagination-link.active {
    background-color: #AC5512;
    color: white;
    border-color: #AC5512;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
}

.no-posts h3 {
    color: #AC5512;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-posts p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card h3 {
        font-size: 1.2rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
}