/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('../../images/news-banner.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.article-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta i {
    margin-right: 5px;
}

/* Article Content */
.article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.article-body p {
    margin-bottom: 1.5rem;
}

/* Share Buttons */
.share-article {
    margin: 50px 0;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.share-article h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Platform colors */
.facebook { background-color: #3b5998; }
.twitter { background-color: #00acee; }
.linkedin { background-color: #0077b5; }
.whatsapp { background-color: #25D366; }
.copy-link { 
    background-color: #6c757d; 
    border: none;
    cursor: pointer;
}

/* Copy tooltip */
.copy-tooltip {
    position: fixed;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.copy-tooltip.fade-out {
    animation: fadeOut 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.comments-section h2 {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.comment-header strong {
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-date {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-body {
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: #6c757d;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
}

.comment-form h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.submit-comment {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-comment:hover {
    background-color: #0069d9;
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* News Hero Section */
.news-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('/images/news-banner.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 140px 20px 60px;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.news-hero h1 {
    font-size: 2.8rem;
    margin-bottom:20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* News Container */
.news-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-hero h1 {
        font-size: 2.2rem;
    }
}

/* News Card */
.news-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.news-card .new-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6347;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.news-meta .news-date {
    font-size: 0.9rem;
    color: #6c757d;
}

.news-meta i {
    margin-right: 5px;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.read-more:hover {
    background: #0056b3;
}

/* No News Message */
.no-news {
    text-align: center;
    padding: 20px;
}

.no-news p {
    font-size: 1.2rem;
    color: #6c757d;
}

.no-news .read-more {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.no-news .read-more:hover {
    background: #0056b3;
}