/* Blog Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 70px; /* Added to account for fixed header height */
}

.blog-header {
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.blog-content h2 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.cta-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: var(--transition);
}

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

.share-section {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--light-color);
}

.social-shares {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Related posts section */
.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-color);
}

.related-posts h3 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Ensure all links use brand color */
.blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.blog-content a:hover {
    color: #ff8f5a; /* Lighter shade of primary color */
}

/* Meta links */
.blog-meta a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-meta a:hover {
    color: #ff8f5a;
}

/* Related posts links */
.related-posts a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-posts a:hover {
    color: #ff8f5a;
}

/* Resource card links */
.resource-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.resource-card a:hover {
    color: #ff8f5a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post {
        margin-top: 60px; /* Adjusted for smaller header on mobile */
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}