.header {
    text-align: center;
    margin-bottom: 40px;
}

.nav-back {
    margin-bottom: 30px;
    text-align: left;
}

.nav-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-back a:hover {
    color: var(--text-color);
    background-color: rgba(98, 111, 71, 0.1);
}

.header h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.header p {
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Blog Posts */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-post-card {
    background: transparent;
    border-radius: 0;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: none;
}

.blog-post-card:hover {
    transform: none;
    box-shadow: none;
}

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

.post-header h2 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.post-header h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-header h2 a:hover {
    color: var(--accent-color);
}

.post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.post-meta .comments {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta .material-symbols-outlined {
    font-size: 16px;
}

.post-preview {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: flex-end;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--accent-color);
    color: white;
}

.read-more .material-symbols-outlined {
    font-size: 18px;
}

/* Individual Blog Post */
.blog-post {
    width: 100%;
    margin: 0 0 40px 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.blog-post .post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.blog-post .post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.post-content {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2, .post-content h3 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Comments */
.comments-section {
    width: 100%;
    margin: 0;
    background: transparent;
    border-radius: 0;
    padding: 40px 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.comments-section h2 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.flash-message {
    background: var(--accent-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-form {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group small {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #4a5a2a;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header strong {
    color: var(--accent-color);
}

.comment-date {
    color: #666;
    font-size: 0.85rem;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
}

.no-posts, .no-comments {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-posts .material-symbols-outlined,
.no-comments .material-symbols-outlined {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-posts h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .blog-post, .comments-section {
        padding: 25px;
        margin: 0 10px;
    }
    
    .blog-post .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}