/* News Styles */

/* News Hero Section */
.news-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #6f42c1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.news-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.news-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-breadcrumb a:hover {
    color: #dc3545;
}

.news-breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.news-header {
    max-width: 800px;
}

.news-badge {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.urgent {
    background: #dc3545;
    color: white;
}

.badge.breaking {
    background: #ffc107;
    color: #000;
}

.badge.normal {
    background: #6c757d;
    color: white;
}

.category-badge {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.news-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.meta-item i {
    color: #dc3545;
    width: 20px;
}

/* News Content Section */
.news-content-section {
    padding: 80px 0;
    background: white;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.news-main {
    background: white;
}

.news-content {
    line-height: 1.8;
    color: #6c757d;
    font-size: 1.125rem;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

.news-content blockquote {
    border-left: 4px solid #dc3545;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

.news-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.news-tags h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Sidebar */
.news-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #2c3e50;
    font-weight: 600;
}

.info-item span {
    color: #6c757d;
}

.social-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.share-btn:hover {
    border-color: #dc3545;
    background: #dc3545;
    color: white;
}

.share-btn.facebook:hover {
    border-color: #1877f2;
    background: #1877f2;
}

.share-btn.twitter:hover {
    border-color: #1da1f2;
    background: #1da1f2;
}

.share-btn.linkedin:hover {
    border-color: #0077b5;
    background: #0077b5;
}

.share-btn.whatsapp:hover {
    border-color: #25d366;
    background: #25d366;
}

/* Related News Section */
.related-news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.related-news-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-news-image {
    height: 200px;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-news-card:hover .related-news-image img {
    transform: scale(1.05);
}

.related-news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #6f42c1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.related-news-content {
    padding: 1.5rem;
}

.related-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.related-news-date {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.875rem;
}

.related-news-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.related-news-priority.urgent {
    background: #dc3545;
    color: white;
}

.related-news-priority.breaking {
    background: #ffc107;
    color: #000;
}

.related-news-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.related-news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-news-title a:hover {
    color: #dc3545;
}

.related-news-excerpt {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .news-content-section {
        padding: 60px 0;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .news-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .news-title {
        font-size: 1.75rem;
    }
    
    .news-badge {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
}
