/* Blog Container Layout */
.blog-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Blog Content Styles */
.blog-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-content article {
    max-width: 100%;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog Images */
.featured-image {
    margin: 2rem 0;
}

.blog-image {
    margin: 2rem 0;
}

.featured-image img,
.blog-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-image img:hover,
.blog-image img:hover {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Blog Content Typography */
.blog-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.blog-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.blog-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: none;
}

.blog-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.blog-content li::before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Service Areas Grid */
.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-area {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-area h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Highlight Box */
.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.highlight-box h2 {
    color: #007bff;
    margin-top: 0;
    border-bottom: none;
}

.highlight-box ul {
    margin-top: 1rem;
}

/* Blog Tags */
.blog-tags {
    margin: 2rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.blog-tags span {
    color: #666;
    margin-right: 1rem;
    font-weight: 500;
}

.blog-tags a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.3rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-tags a:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* Social Share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.blog-share span {
    color: #666;
    font-weight: 500;
}

.social-share {
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: #f8f9fa;
}

.social-share:hover {
    color: #fff;
    background: #007bff;
    transform: translateY(-2px);
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
}

.sidebar-widget h3 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    font-size: 1.3rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.sidebar-widget li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007bff;
}

.sidebar-widget a {
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.sidebar-widget a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.sidebar-widget p {
    margin: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-areas {
        grid-template-columns: 1fr;
    }
    
    .blog-share {
        flex-wrap: wrap;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
}