.blog-article {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-article h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.blog-article h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.blog-article p {
    margin-bottom: 1.5rem;
}

.blog-article ul,
.blog-article ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.blog-article blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-article code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
}

.blog-article pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-article pre code {
    background: none;
    padding: 0;
}

.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.blog-article th,
.blog-article td {
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.blog-article th {
    background: #f8f9fa;
    font-weight: 600;
}

.blog-article a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.blog-article a:hover {
    border-bottom-color: var(--primary-color);
}

/* Copy Button */
.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: white;
    transform: translateY(-1px);
}

.copy-button i {
    color: var(--primary-color);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    margin: 0;
}

.lightbox .close-button {
    position: absolute;
    top: -2rem;
    right: -2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.lightbox .close-button:hover {
    transform: scale(1.1);
}

/* Table Wrapper */
.table-wrapper {
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .blog-article {
        font-size: 1rem;
    }

    .blog-article h2 {
        font-size: 1.5rem;
    }

    .blog-article h3 {
        font-size: 1.3rem;
    }

    .blog-article blockquote {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox .close-button {
        top: -1.5rem;
        right: -1rem;
    }
} 
