/* Enhanced Blog Styling - Reusing existing site components */

/* Blog Hero Section - reusing hero optimizations */
.blog-hero {
    background-color: #f5f5f5;
    padding: 60px 0;
    margin-bottom: 40px;
}

.blog-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.blog-hero-title {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.5rem;
    color: #729b7b;
    margin-bottom: 25px;
    font-weight: 600;
}

.blog-hero-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Grid Layout */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Blog Post Cards - reusing advantage item styling */
.blog-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

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

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

.blog-card-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.blog-card-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-card-category {
    background: #729b7b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA Button - reusing existing button styling */
.blog-card-cta {
    background-color: #729b7b;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-card-cta:hover {
    background-color: #5f8468;
    transform: translateY(-2px);
}

/* Individual Blog Post Styling */
.blog-post-hero {
    background: linear-gradient(135deg, #729b7b 0%, #5f8468 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.blog-post-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-post-meta {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* TLDR Section - enhanced version */
.blog-tldr {
    background: #ffcc02;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    margin: 40px 0;
    border-left: 5px solid #e6b800;
}

.blog-tldr h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.blog-tldr p {
    margin: 0;
    font-weight: 500;
}

/* Blog Content Styling */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
}

.blog-content h2 {
    color: #333;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #729b7b;
}

.blog-content h3 {
    color: #729b7b;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 20px;
    color: #333;
}

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

.blog-content li {
    margin-bottom: 10px;
    color: #333;
}

.blog-content a {
    color: #729b7b;
    text-decoration: underline;
    font-weight: 600;
}

.blog-content a:hover {
    color: #5f8468;
}

/* Highlight Boxes */
.blog-highlight {
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #729b7b;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.blog-tip {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #729b7b;
}

.blog-tip h4 {
    color: #729b7b;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

/* Blog Navigation */
.blog-nav {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 40px;
}

.blog-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-nav-link {
    background: #729b7b;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-nav-link:hover {
    background: #5f8468;
    transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts {
    background: #f8f9fa;
    padding: 60px 0;
}

.related-posts-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CTA Section - reusing business components */
.blog-cta-section {
    background: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.blog-cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.blog-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-cta-button {
    background: #729b7b;
    color: #fff;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.blog-cta-button:hover {
    background: #5f8468;
    transform: translateY(-2px);
}

.blog-cta-button.secondary {
    background: #ffcc02;
    color: #333;
}

.blog-cta-button.secondary:hover {
    background: #e6b800;
}

/* Location/SEO specific styling */
.location-highlight {
    background: linear-gradient(135deg, #729b7b 0%, #5f8468 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
}

.location-highlight h3 {
    color: #ffcc02;
    margin-bottom: 15px;
}

.location-highlight ul {
    list-style: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-hero-subtitle {
        font-size: 1.2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-post-title {
        font-size: 2rem;
    }

    .blog-content {
        padding: 20px 15px;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-nav-content {
        flex-direction: column;
        gap: 20px;
    }

    .blog-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .blog-cta-button {
        width: 280px;
        text-align: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-post-title {
        font-size: 1.8rem;
    }

    .blog-card {
        padding: 20px;
    }

    .blog-content h2 {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .blog-hero,
    .blog-nav,
    .blog-cta-section,
    .related-posts {
        display: none;
    }

    .blog-content {
        max-width: 100%;
        padding: 0;
    }
}
