/* Single Article Page Styles */

.article-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: var(--text-dark);
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.article-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 0 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
}

.article-hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.article-single {
    padding: var(--section-padding) 0;
}

.article-single-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.stat-item svg {
    width: 18px;
    height: 18px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.article-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 1.8rem;
}

.article-body img {
    margin: 2.5rem 0;
    border-radius: 12px;
}

.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: var(--light-yellow);
    border-left: 4px solid var(--primary-yellow);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.15rem;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
}

.action-button:hover {
    border-color: var(--primary-yellow);
    background: var(--light-yellow);
    transform: translateY(-2px);
}

.action-button.liked {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-left: auto;
}

.share-button {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.share-button:hover {
    border-color: var(--primary-yellow);
    background: var(--light-yellow);
    transform: translateY(-3px);
}

.share-button svg {
    width: 20px;
    height: 20px;
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comments-section h3 {
    margin-bottom: 2rem;
}

.comment-form {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 0.875rem 2.5rem;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

.comment-author {
    font-weight: 600;
    color: var(--text-dark);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

/* Related Articles */
.related-articles {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border-color);
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .article-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .article-actions {
        flex-direction: column;
    }
    
    .share-buttons {
        margin-left: 0;
    }
}
