*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Zilla Slab', Georgia, serif;
    margin: 0 auto;
    padding: 0 1.5rem;
    max-width: 720px;
    line-height: 1.7;
    color: #222;
    background: #fdfdfd;
}

h1, h2, h3 {
    font-family: Poppins, sans-serif;
    line-height: 1.25;
    color: #111;
}

h1 {
    font-size: 2.4rem;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e5e5e5;
}

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

p {
    margin: 1rem 0;
    text-align: justify;
}

a {
    color: #0d6efd;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

a:hover {
    color: #0a58ca;
}

ul, ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

li {
    margin-bottom: 0.35rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

th {
    background: #f8f8f8;
    font-family: Poppins, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #555;
    border-bottom: 2px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

td {
    border-bottom: 1px solid #eee;
    padding: 0.75rem;
    text-align: left;
}

code {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, monospace;
    font-size: 0.88em;
    background: #f5f5f5;
    padding: 0.15em 0.35em;
    border-radius: 3px;
}

pre {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0;
    overflow-x: auto;
    line-height: 1.5;
    margin: 1.5rem 0;
}

pre code {
    background: none;
    padding: 0;
    font-size: 0.85rem;
}

blockquote {
    border-left: 1px solid #e5e5e5;
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    background: #f8f9fa;
    border-radius: 0 6px 6px 0;
}

blockquote p {
    margin: 0.5rem 0;
}

hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 2.5rem 0;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.header__link {
    font-family: Poppins, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.header__link:hover {
    color: #0d6efd;
}

.intro {
    padding: 0 0 2rem;
}

.intro__text {
    font-size: 1.1rem;
    color: #444;
    text-align: justify;
}

.post-list__title {
    margin: 0 0 1rem;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-list__item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #eee;
}

.post-list__item:last-child {
    border-bottom: none;
}

.post-list__link {
    font-family: Poppins, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.post-list__link:hover {
    text-decoration: underline;
}

.post-list__date {
    display: block;
    color: #888;
    font-size: 0.85rem;
    font-family: sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.article__header {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 2rem;
}

.article__header h1 {
    margin: 0.5rem 0 0.75rem;
}

.article__back {
    font-size: 0.9rem;
    text-decoration: none;
    color: #666;
}

.article__back:hover {
    color: #0d6efd;
}

.article__meta {
    color: #888;
    font-size: 0.85rem;
    font-family: sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

article {
    padding-bottom: 3rem;
}

.footer {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.85rem;
    color: #999;
    font-family: sans-serif;
}

.footer__sep {
    margin: 0 0.4rem;
}

.footer__link {
    color: #bbb;
    text-decoration: none;
}

.footer__link:hover {
    color: #666;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    .intro__text {
        font-size: 1rem;
    }

    .post-list__link {
        font-size: 1.05rem;
    }
}
