.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2em 1.5em;
}

.post-header {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
}

.post-header h1 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
}

.post-header time {
    color: #777;
    font-size: 0.9em;
}

.post-content {
    line-height: 1.7;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2em;
}

.post-content h2,
.post-content h3 {
    margin-top: 1.5em;
}

.post-content p {
    margin-bottom: 1em;
}

.comments {
    margin-top: 3em;
}

.comment {
    border: 1px solid #eee;
    border-radius: 2px;
    padding: 1em;
    margin-bottom: 1em;
    background: #fafafa;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #777;
    margin-bottom: 0.5em;
}

.comment-form {
    margin-top: 2em;
}

textarea {
    resize: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}

input,
textarea {
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 2px;
}

button {
    padding: 0.6em 1.2em;
    border: none;
    background-color: #A8E08C;
    cursor: pointer;
    border-radius: 2px;
}

button:hover {
    background-color: #6DB33F;
}

.success {
    color: #6DB33F;
    font-size: 0.9em;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 2em;
}

.pagination a {
    padding: 0.4em 0.7em;
    border: 1px solid #ddd;
    text-decoration: none;
}

.pagination a.active {
    background: #dbdbc8;
}

.back-link {
    display: inline-block;
    margin-top: 2em;
    text-decoration: none;
    color: #555;
}