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

body {
    font-family: 'Georgia', serif;
    background: #fdfcf9;
    color: #2c2c2c;
    line-height: 1.7;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.back {
    display: inline-block;
    text-decoration: none;
    color: #8b7d6b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.back:hover {
    color: #4a3728;
}

h1 {
    font-size: 2rem;
    color: #3a3a3a;
    letter-spacing: 0.08em;
}

.subtitle {
    color: #8b7d6b;
    font-style: italic;
}

/* Article listing */
.articles {
    display: grid;
    gap: 1.5rem;
}

.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.5rem;
    border: 1px solid #e0d8c8;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.article-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 1rem;
    background: #f0ece4;
    opacity: 0.4;
}

.article-card h2 {
    font-size: 1.1rem;
    color: #4a3728;
    margin-bottom: 0.3rem;
}

.article-card p {
    font-size: 0.88rem;
    color: #8b7d6b;
}

/* Individual article page */
.post {
    margin-top: 1rem;
}

.post-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    background: #f0ece4;
    opacity: 0.4;
}

.post h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.post h3 {
    font-size: 1rem;
    color: #4a3728;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.post p {
    margin-bottom: 0.8rem;
    color: #4a4a4a;
}

.post ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.post li {
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
}

.yt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    text-decoration: none;
    color: #8b7d6b;
    font-size: 0.9rem;
    font-style: italic;
    transition: color 0.2s;
}

.yt-link:hover {
    color: #4a3728;
}

.yt-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    color: #a89f91;
    border-top: 1px solid #e0d8c8;
    padding-top: 1rem;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .article-img {
        height: 140px;
    }

    .post-img {
        max-height: 200px;
    }

    .post h1 {
        font-size: 1.3rem;
    }
}
