body {
    background: #ecf0f1;
}

main {
    min-height: calc(100vh - 17em);
    margin: 6em auto 4em;
    width: 90%;
    padding: 1em;
    background-color: #fff;
    max-width: 1200px;
}

.article-category {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3498db;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2.5rem 0 1rem;
}

.article-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

.article-content blockquote {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0.02));
    border-left: 4px solid #3498db;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
}

/* Code Blocks */
.article-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-content code {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: "Roboto Mono", monospace;
    font-size: 0.9em;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Images */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }
}
