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

body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    line-height: 1.8;
    color: #1e293b;
    background: #ffffff;
    min-height: 100vh;
    font-weight: 400;
    font-size: 18px;
}

/* Navigation */
nav {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

nav .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0 2rem;
}

nav a {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2563eb;
    border-bottom: none;
}

/* Main Content */
main {
    max-width: 680px;
    margin: 5rem auto;
    padding: 0 2rem;
    min-height: 70vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    color: #0f172a;
    text-transform: uppercase;
}

h1 {
    font-size: 2.125rem;
    margin: 0 0 3rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

h2 {
    font-size: 1.5rem;
    margin: 4rem 0 2rem 0;
    color: #1e40af;
}

h3 {
    font-size: 1.125rem;
    margin: 3rem 0 1.5rem 0;
    color: #1e40af;
}

p {
    margin: 2rem 0;
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.8;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid #93c5fd;
    transition: all 0.2s ease;
}

a:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

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

li {
    margin: 0.75rem 0;
    color: #4a4a4a;
}

li::marker {
    color: #999;
}

/* Code */
code {
    background: #eff6ff;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.875em;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

pre {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 2.5rem 0;
    border: 1px solid #e2e8f0;
}

pre code {
    background: none;
    padding: 0;
    border: none;
    color: #334155;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2.5rem 0;
    border-radius: 4px;
}

/* Footer */
footer {
    max-width: 680px;
    margin: 6rem auto 3rem;
    padding: 3rem 2rem 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    border-top: 1px solid #e2e8f0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2563eb;
}

footer p {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Blog Listing */
.blog-list {
    margin-top: 4rem;
}

.blog-item {
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.blog-item:first-child {
    padding-top: 0;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-item h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-item h2 a {
    color: #0f172a;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.3s ease;
}

.blog-item h2 a:hover {
    color: #2563eb;
}

.blog-date {
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    font-size: 0.813rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-excerpt {
    margin: 1.5rem 0;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
}

.read-more {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    margin-top: 1rem;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-btn {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: #2563eb;
    background-color: transparent;
    border: 1px solid #2563eb;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-bottom-color: #2563eb;
}

.pagination-btn.disabled {
    color: #cbd5e1;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-btn.disabled:hover {
    background-color: transparent;
    color: #cbd5e1;
}

.page-number {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number:hover {
    color: #2563eb;
    border-color: #2563eb;
    background-color: #eff6ff;
    border-bottom-color: #2563eb;
}

.page-number.active {
    color: #ffffff;
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    overflow-x: auto;
    display: block;
}

table thead {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

table th,
table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e2e8f0;
}

table th {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

table td {
    color: #334155;
    font-size: 1rem;
}

table tbody tr:hover {
    background-color: #f8fafc;
}

/* Responsive */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    main {
        padding: 0 1.5rem;
        margin: 3rem auto;
    }

    nav {
        padding: 1.5rem 0;
    }

    nav .container {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
        margin: 3rem 0 1.5rem 0;
    }

    h3 {
        font-size: 1rem;
        margin: 2rem 0 1rem 0;
    }

    p {
        font-size: 1rem;
        margin: 1.5rem 0;
    }

    .blog-item {
        padding: 2rem 0;
    }

    .blog-item h2 {
        font-size: 1.125rem;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .pagination-btn {
        width: 100%;
        text-align: center;
    }

    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.75rem 1rem;
    }
}
