/* Blog Specific Styles */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

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

/* Blog Articles Grid */
.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-date {
    color: #666;
    display: flex;
    align-items: center;
}

.article-date:before {
    content: '📅';
    margin-right: 0.5rem;
}

.article-category {
    background-color: #e8f5e8;
    color: #2c5530;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-reading-time {
    color: #666;
    display: flex;
    align-items: center;
}

.article-reading-time:before {
    content: '⏱️';
    margin-right: 0.5rem;
}

.article-content h2 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h2 a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: #4CAF50;
}

.article-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #4CAF50;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #45a049;
    transform: translateX(3px);
}

/* Newsletter CTA in Blog */
.newsletter-cta {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.newsletter-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-cta .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

/* Article Page Styles */
.article-page {
    padding: 120px 0 80px;
}

.article-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.article-breadcrumb a {
    color: #4CAF50;
    text-decoration: none;
}

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

.article-header {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-header .article-meta {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c5530;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
    line-height: 1.4;
}

.article-page .article-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-page .article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-intro {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid #4CAF50;
    border-radius: 0 8px 8px 0;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #2c5530;
    border-bottom: 2px solid #e8f5e8;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.article-content h4 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #2c5530;
}

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

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content strong {
    color: #2c5530;
    font-weight: 600;
}

/* Article Specific Components */
.plant-list,
.trend-detail,
.space-analysis,
.vertical-solutions,
.plant-selection,
.irrigation-systems,
.space-saving-furniture,
.optical-tricks,
.project-guide {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #4CAF50;
}

.plant-item,
.trend-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.plant-item strong,
.trend-item strong {
    display: block;
    color: #2c5530;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.plant-detail {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid #4CAF50;
}

.plant-detail ul {
    margin-top: 1rem;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid #4CAF50;
}

.article-cta h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.article-cta p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Article Footer */
.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid #e8f5e8;
}

.article-tags,
.article-share {
    margin-bottom: 1.5rem;
}

.article-tags span,
.article-share span {
    font-weight: 600;
    color: #2c5530;
    margin-right: 1rem;
}

.article-tags a,
.article-share a {
    display: inline-block;
    background-color: #e8f5e8;
    color: #2c5530;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.article-tags a:hover,
.article-share a:hover {
    background-color: #4CAF50;
    color: white;
    transform: translateY(-1px);
}

/* Related Articles */
.related-articles {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid #e8f5e8;
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c5530;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-item h4 {
    padding: 1rem;
    color: #2c5530;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

/* Mobile Responsive for Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-header h1 {
        font-size: 2.2rem;
    }

    .article-intro {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.7rem;
        margin-top: 2rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-header .article-meta {
        align-items: center;
    }

    .plant-list,
    .trend-detail,
    .space-analysis,
    .vertical-solutions,
    .plant-selection,
    .irrigation-systems,
    .space-saving-furniture,
    .optical-tricks,
    .project-guide {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .plant-item,
    .trend-item {
        padding: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-tags a,
    .article-share a {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 60px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .article-header h1 {
        font-size: 1.9rem;
    }

    .article-page .article-image img {
        height: 250px;
    }

    .article-content {
        padding: 0 10px;
    }

    .newsletter-cta {
        padding: 40px 0;
    }

    .newsletter-cta .form-group {
        flex-direction: column;
    }

    .newsletter-cta .form-group input,
    .newsletter-cta .form-group button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Article Print Styles */
@media print {
    .article-breadcrumb,
    .article-cta,
    .article-share,
    .related-articles {
        display: none;
    }

    .article-content {
        max-width: none;
        font-size: 12pt;
        line-height: 1.4;
    }

    .article-header h1 {
        font-size: 18pt;
        page-break-after: avoid;
    }

    .article-content h2 {
        font-size: 14pt;
        page-break-after: avoid;
        margin-top: 1.5rem;
    }

    .article-content h3 {
        font-size: 12pt;
        page-break-after: avoid;
    }

    .plant-list,
    .trend-detail,
    .project-guide {
        page-break-inside: avoid;
        border: 1pt solid #ccc;
        padding: 8pt;
    }
}
