/* Blog Content Styles */
.blog-content {
    padding: 8rem 1rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: var(--background-light);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Header Styles */
.blog-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-meta-top {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

.blog-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.share-button:hover {
    opacity: 1;
}

/* Table of Contents */
.table-of-contents {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.table-of-contents h2 {
    font-size: 1.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.table-of-contents ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.table-of-contents li {
    margin-bottom: 0.5rem !important;
}

.table-of-contents a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Content Styles */
.blog-body {
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-body section {
    margin: 3rem 0;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2.5rem 0 1.5rem;
}

.blog-body ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-body li {
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
}

.blog-body li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

/* Featured Image */
.featured-image {
    margin: 2rem -2rem;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-image figcaption {
    padding: 1rem 2rem;
    background: var(--text-light);
    color: var(--text-dark);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

/* Pricing Table */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.price-card {
    background: var(--text-light);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.price-card.featured {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.price-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.price-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-card .price-detail {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.author-bio {
    display: flex;
    gap: 2rem;
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
}

.author-bio .author-avatar {
    width: 80px;
    height: 80px;
}

.author-details h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
}

.language-btn i {
    font-size: 1.2rem;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    min-width: 150px;
    z-index: 1000;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown li {
    margin: 0;
    padding: 0;
}

.language-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.language-dropdown a:hover {
    background-color: var(--text-light);
}

.language-dropdown a.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-content {
        padding: 6rem 1rem 3rem;
    }

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

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

    .blog-post {
        padding: 1.5rem;
    }

    .featured-image {
        margin: 2rem -1.5rem;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .language-dropdown {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .language-btn {
        justify-content: center;
    }
} 