/* Blog Page Styles */

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-title {
    color: #2c7a2c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;  
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Button Styles from index.html for consistency */
.home-btn {
    background-color: transparent;
    border-radius: 5px;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 0.8rem;
}

.about-btn {
    background-color: transparent;
    border-radius: 15px;
    color: #00b6bb;
    border: 1px solid #00b6bb;
}

.order-btn-2 {
    font-size: 1rem;
    background-color: #00b6bb;
    color: #ffffff;
    font-weight: 600;
}

.sol-caro-btn {
    font-size: 0.8rem;
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
}

.explore-btn,
.explore-btn-border {
    font-size: 1rem;
    background-color: #ffffff;
    color: #00b6bb;
    font-weight: 600;
}

.explore-btn-border {
    border: 1px solid #00b6bb;
}

.imp-btn {
    font-size: 0.75rem;
    background-color: #ffffff;
    border-color: transparent;
    min-height: 7rem;
}

.read-more {
    display: inline-block;
    background: #2c7a2c;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.read-more:hover {
    background: #236623;
    color: white;
    text-decoration: none;
}

/* Individual Blog Page Styles */
.blog-breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 5rem;
}

.blog-breadcrumb a {
    color: #2c7a2c;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.blog-article h1 {
    color: #2c7a2c;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-article h2 {
    color: #2c7a2c;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.blog-article p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.7;
}

.blog-article ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}

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

.blog-highlight {
    background-color: #f0f8f0;
    padding: 1rem;
    border-left: 4px solid #2c7a2c;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.blog-highlight p {
    margin-bottom: 0;
}

.back-to-blogs {
    display: inline-block;
    background: #2c7a2c;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-bottom: 2rem;
}

.back-to-blogs:hover {
    background: #236623;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-article {
        padding: 1.5rem;
    }
    
    .blog-article h1 {
        font-size: 1.5rem;
    }
    
    .blog-article h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 2rem 0;
    }
    
    .blog-article {
        padding: 1rem;
    }
}
