.article-main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.content p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #444;
}

.content a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.content a:hover {
    color: #0056b3;
    text-decoration: none;
}


/* Removed redundant inline styles for .back-link and .hero-img */


/* Comment Section Styles */
.comments-section {
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.comment-form {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.submit-comment-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

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

.comment-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 16px;
    border-left: 5px solid var(--primary);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.comment-author {
    font-weight: 700;
    color: #333;
}

.comment-date {
    font-size: 12px;
    color: #888;
}

.comment-text {
    color: #555;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: #888;
    padding: 20px;
}

/* Tags List Styles */
.tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    margin: 0 0 20px 0;
    list-style: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.tags::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.tags li {
    background: rgba(0, 123, 255, 0.05);
    color: var(--primary, #007bff);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.tags li:hover {
    background: var(--primary, #007bff);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}
