/* Blog Post Specific Styles */
.blog-header {
    padding: 8rem 0 4rem;
    background-color: var(--color-grey-5);
    margin-bottom: 3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-header .header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-secondary);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn i {
    transition: transform 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
    color: var(--color-white);
}

.back-btn:hover i {
    transform: translateX(-3px);
}

.blog-header h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--color-white);
    line-height: 1.2;
    font-weight: 700;
    max-width: 800px;
}

.blog-meta {
    display: flex;
    gap: 2.5rem;
    color: var(--color-grey-2);
    font-size: 1.1rem;
    align-items: center;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-grey-6);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.blog-meta span:hover {
    background-color: var(--color-grey-4);
}

.blog-meta i {
    color: var(--color-secondary);
}

.featured-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto 3rem;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

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

.blog-content h2 {
    color: var(--color-white);
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

.blog-content p {
    margin-bottom: 1.8rem;
    color: var(--color-grey-2);
}

.blog-content ul {
    margin: 1.5rem 0 2rem 1rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

.blog-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-grey-2);
}

.blog-content li::before {
    content: '•';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

pre {
    background-color: var(--color-grey-5);
    padding: 2rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--color-grey-4);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: var(--color-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-footer {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--color-grey-5);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: var(--color-grey-5);
    border-radius: 10px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-secondary);
}

.author-details h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.author-details p {
    color: var(--color-grey-2);
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-grey-5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Code block language label */
pre::before {
    content: attr(class);
    display: block;
    background: var(--color-grey-4);
    padding: 0.5rem 1rem;
    margin: -2rem -2rem 1rem -2rem;
    color: var(--color-grey-2);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid var(--color-grey-3);
    border-radius: 10px 10px 0 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .blog-header {
        padding: 6rem 0 3rem;
    }

    .blog-header h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .blog-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .back-btn {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .blog-header {
        padding: 5rem 0 2.5rem;
    }

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

    .blog-meta span {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .back-btn {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
} 