.post-content {
    flex: 3;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark-gray);
    font-weight: 700;
}

.post-meta {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.post-meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.post-meta a:hover {
    text-decoration: underline;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.article-body {
    font-size: 1.1rem;
}

.article-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color-dark);
    position: relative;
    padding-right: 20px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    bottom: 5px;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul {
    padding-right: 20px;
}

.article-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.article-body a:hover {
    text-decoration: underline;
    color: var(--primary-color-dark);
}

.author-box {
    margin-top: 50px;
    padding: 25px;
    background-color: #e8f3f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 5px solid var(--primary-color);
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 5px var(--shadow-dark);
}

/* --- Comments Section --- */
.comments-section {
    margin-top: 50px;
}

.comments-section h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-body {
    padding: 10px;
    flex: 1;
}

.comment-author {
    font-weight: 700;
    margin-right: 8px;
}

.comment-meta {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.comment-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Aria', sans-serif;
    text-decoration: none;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment-thread {
    list-style: none;
    padding-right: 30px;
    margin-top: 20px;
    background-color: var(--light-bg);
    border-right: 2px solid var(--border-color);
    border-radius: 5px
}

.comment-form {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.comment-form h3 {
    margin-top: 0;
}

#reply-to-container {
    font-size: 0.9em;
    background-color: #d4e9e7;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cancel-reply-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--secondary-color);
    font-weight: bold;
}


.comment-form textarea, .comment-form input[type='text'] {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /*min-height: 120px;*/
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Aria', sans-serif;
}

.comment-form textarea:focus, .comment-form input[type='text']:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 121, 107, 0.2);
    outline: none;
}

.comment-form button[type="submit"] {
    padding: 12px 25px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Aria', sans-serif;
}

.comment-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 121, 107, 0.4);
}

/* post categories */

.categories ul li a {
    text-decoration: none;
    background-color: var(--primary-color-dark);
    transition: all 0.2s ease-in-out;
    display: block;
    padding: 6px 10px;
    border-radius: 5px;
    color: white;
    border: 1px solid white;
}

.categories ul li a:hover {
    color: var(--primary-color-dark);
    background-color: #e8f3f1;
    border: 1px solid var(--primary-color-dark);
    padding: 6px 12px;
    /*transform: translateX(-5px);*/
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.categories {
    display: flex;
    align-items: center;
}

.categories ul li {
    border-radius: 5px;
    margin: 0 2px;
    padding: 0 3px;
}

.categories h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.categories h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}