/* Blog-specific styles */
.blog-main {
    background-color: #F7D6F5;
    min-height: 75vh;
    padding: 40px 20px;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.blog-sidebar {
    position: sticky;
    top: 40px;
}

.blog-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #000;
}

.blog-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #333;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.tag-btn {
    background: transparent;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-family: inherit;
}

.tag-btn:hover {
    background-color: #333;
    color: white;
}

.tag-btn.active {
    background-color: #333;
    color: white;
}

.search-container {
    position: relative;
    margin-bottom: 32px;
    max-width: 300px;
}

.search-container input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    box-sizing: border-box;
}

.search-container input:focus {
    outline: none;
    border-color: #666;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #666;
    pointer-events: none;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-post {
    background: white;
    border: 3px solid black;
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease;
    cursor: pointer;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.blog-post:hover {
    transform: translateY(-2px);
}

.blog-post-content {
    flex: 1;
}

.blog-post-image {
    width: 200px;
    height: 150px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.blog-post h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #000;
    line-height: 1.3;
}

.blog-post-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

.blog-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-post-tag {
    background: transparent;
    border: 1px solid #666;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: #666;
}

.no-results {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: 40px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .blog-main {
        padding: 20px 16px;
    }
    
    .blog-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .blog-header h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .blog-subtitle {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .blog-tags {
        justify-content: center;
        margin-bottom: 24px;
    }
    
    .tag-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .blog-post {
        padding: 20px;
        flex-direction: column;
    }
    
    .blog-post h2 {
        font-size: 1.3rem;
    }
    
    .blog-post-image {
        width: 100%;
        height: 160px;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .blog-post-tags {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-tags {
        gap: 8px;
    }
    
    .tag-btn {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .blog-post {
        padding: 16px;
        flex-direction: column;
    }
    
    .blog-post h2 {
        font-size: 1.2rem;
    }
}