/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header */
header {
    background-color: #1ea070ff;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 600;
}

header h1 a {
    color: white;
    text-decoration: none;
}

/* Main content */
main {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Typography */
h1,
h2,
h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}
h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #64748b;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Code */
code {
    background-color: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 0.875rem;
}

pre {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Lists */
ul,
ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-list {
    list-style-type: none;
}

.article-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

li {
    margin-bottom: 0.25rem;
    color: #64748b;
}

img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

/* Footer */
footer {
    padding: 1.5rem;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

footer p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
    main {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.75rem;
    }
}
