/**
 * ================================================================
 * NEWS DETAIL - ADMIN PANEL STYLES
 * ================================================================
 * File: news_detail.css
 * Description: Styles khusus untuk halaman detail berita
 * Bootstrap 5 Compatible
 * Mobile Responsive
 * Minimal & Modern Design
 * ================================================================
 */

/* ================================================================
   PAGE LAYOUT
   ================================================================ */
.news-detail-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: var(--news-spacing-lg) 0;
}

.news-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--news-spacing-lg);
}

/* ================================================================
   PAGE HEADER
   ================================================================ */
.news-detail-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--news-radius-lg);
    padding: var(--news-spacing-xl);
    margin-bottom: var(--news-spacing-xl);
    box-shadow: var(--news-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-detail-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--news-spacing-md);
}

.news-detail-header-info {
    flex: 1;
    min-width: 250px;
}

.news-detail-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.news-detail-page-title i {
    color: var(--news-primary);
}

.news-detail-page-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-detail-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-detail-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--news-radius-sm);
    font-weight: 500;
    transition: all var(--news-transition-normal);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
}

.news-detail-header-btn-secondary {
    background: #6c757d;
    color: #ffffff;
}

.news-detail-header-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.news-detail-header-btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.news-detail-header-btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.news-detail-header-btn-primary {
    background: linear-gradient(135deg, var(--news-primary), #0056b3);
    color: #ffffff;
}

.news-detail-header-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* ================================================================
   NEWS HEADER SECTION
   ================================================================ */
.news-header-section {
    background: #ffffff;
    border-radius: var(--news-radius-lg);
    padding: var(--news-spacing-xl);
    margin-bottom: var(--news-spacing-xl);
    box-shadow: var(--news-shadow-sm);
    border: 1px solid #e9ecef;
}

.news-header-content {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: var(--news-spacing-lg);
    margin-bottom: var(--news-spacing-lg);
}

.news-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: var(--news-spacing-md);
}

.news-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--news-spacing-md);
    align-items: center;
}

.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.news-meta-icon {
    color: var(--news-primary);
    font-size: 1rem;
}

.news-status-badge-wrapper {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.news-status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.news-status-published {
    background: linear-gradient(135deg, var(--news-success), #1e7e34);
    color: #ffffff;
}

.news-status-draft {
    background: linear-gradient(135deg, var(--news-warning), #e0a800);
    color: #212529;
}

.news-status-archived {
    background: linear-gradient(135deg, var(--news-secondary), #495057);
    color: #ffffff;
}

.news-featured-badge {
    background: linear-gradient(135deg, var(--news-info), #117a8b);
    color: #ffffff;
}

.news-breaking-badge {
    background: linear-gradient(135deg, var(--news-danger), #c82333);
    color: #ffffff;
}

/* ================================================================
   STATISTICS GRID
   ================================================================ */
.news-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--news-spacing-lg);
    margin-bottom: var(--news-spacing-xl);
}

.news-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: var(--news-radius-lg);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--news-shadow-md);
    transition: all var(--news-transition-normal);
    position: relative;
    overflow: hidden;
}

.news-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.news-stat-card:hover::before {
    left: 100%;
}

.news-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--news-shadow-lg);
}

.news-stat-card.stat-likes {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-stat-card.stat-shares {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-stat-card.stat-comments {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.news-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.news-stat-label {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ================================================================
   TAB NAVIGATION
   ================================================================ */
.news-tabs-wrapper {
    background: #ffffff;
    border-radius: var(--news-radius-lg) var(--news-radius-lg) 0 0;
    box-shadow: var(--news-shadow-sm);
    overflow: hidden;
}

.news-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
}

.news-tab-item {
    flex: 1;
}

.news-tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    transition: all var(--news-transition-normal);
    position: relative;
}

.news-tab-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--news-primary), #0056b3);
    transition: width var(--news-transition-normal);
}

.news-tab-link:hover {
    color: var(--news-primary);
    background: rgba(0, 123, 255, 0.05);
}

.news-tab-link.active {
    color: var(--news-primary);
    background: #ffffff;
}

.news-tab-link.active::after {
    width: 100%;
}

.news-tab-content {
    background: #ffffff;
    border-radius: 0 0 var(--news-radius-lg) var(--news-radius-lg);
    box-shadow: var(--news-shadow-sm);
    margin-bottom: var(--news-spacing-xl);
}

.news-tab-pane {
    display: none;
    padding: var(--news-spacing-xl);
    animation: news-fade-in-up 0.3s ease-out;
}

.news-tab-pane.active {
    display: block;
}

/* ================================================================
   CONTENT TAB
   ================================================================ */
.news-content-section {
    margin-bottom: var(--news-spacing-lg);
}

.news-featured-image-wrapper {
    margin-bottom: var(--news-spacing-xl);
    border-radius: var(--news-radius-lg);
    overflow: hidden;
    box-shadow: var(--news-shadow-md);
}

.news-featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-featured-image:hover {
    transform: scale(1.02);
}

.news-excerpt-section {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(23, 162, 184, 0.05));
    border-left: 4px solid var(--news-info);
    padding: var(--news-spacing-lg);
    border-radius: var(--news-radius-sm);
    margin-bottom: var(--news-spacing-xl);
}

.news-excerpt-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-excerpt-title i {
    color: var(--news-info);
}

.news-excerpt-text {
    color: #495057;
    line-height: 1.7;
    margin: 0;
}

.news-content-preview {
    background: #f8f9fa;
    border-radius: var(--news-radius-lg);
    padding: var(--news-spacing-xl);
    margin-bottom: var(--news-spacing-xl);
    line-height: 1.8;
    color: #495057;
}

.news-content-preview h1,
.news-content-preview h2,
.news-content-preview h3,
.news-content-preview h4,
.news-content-preview h5,
.news-content-preview h6 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.news-content-preview p {
    margin-bottom: 1rem;
}

.news-content-preview img {
    max-width: 100%;
    height: auto;
    border-radius: var(--news-radius-sm);
    margin: 1.5rem 0;
    box-shadow: var(--news-shadow-sm);
}

.news-content-preview a {
    color: var(--news-primary);
    text-decoration: underline;
}

.news-content-preview a:hover {
    color: #0056b3;
}

.news-content-preview blockquote {
    border-left: 4px solid var(--news-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.news-content-preview ul,
.news-content-preview ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.news-content-preview li {
    margin-bottom: 0.5rem;
}

.news-content-preview code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.news-content-preview pre {
    background: #2c3e50;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: var(--news-radius-sm);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.news-tags-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--news-spacing-xl);
    padding-top: var(--news-spacing-lg);
    border-top: 1px solid #e9ecef;
}

.news-tags-title {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, var(--news-primary), #0056b3);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--news-transition-normal);
}

.news-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* ================================================================
   COMMENTS TAB
   ================================================================ */
.news-comments-section {
    margin-bottom: var(--news-spacing-lg);
}

.news-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--news-spacing-xl);
    flex-wrap: wrap;
    gap: var(--news-spacing-md);
}

.news-comments-title-wrapper {
    flex: 1;
}

.news-comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-comments-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-comments-actions {
    display: flex;
    gap: 0.5rem;
}

.news-comment-action-btn {
    padding: 0.625rem 1rem;
    border-radius: var(--news-radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all var(--news-transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.news-comment-action-primary {
    background: linear-gradient(135deg, var(--news-primary), #0056b3);
    color: #ffffff;
}

.news-comment-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.news-comment-action-secondary {
    background: #6c757d;
    color: #ffffff;
}

.news-comment-action-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.news-comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--news-spacing-md);
}

.news-comment-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--news-radius-md);
    padding: var(--news-spacing-lg);
    transition: all var(--news-transition-normal);
}

.news-comment-item:hover {
    box-shadow: var(--news-shadow-sm);
    border-color: var(--news-primary);
}

.news-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--news-spacing-md);
    gap: var(--news-spacing-md);
}

.news-comment-author-info {
    display: flex;
    align-items: center;
    gap: var(--news-spacing-sm);
    flex: 1;
}

.news-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--news-primary), #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.news-comment-author-details {
    flex: 1;
}

.news-comment-author-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.news-comment-author-email {
    font-size: 0.8rem;
    color: #6c757d;
}

.news-comment-meta {
    display: flex;
    align-items: center;
    gap: var(--news-spacing-sm);
}

.news-comment-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.news-comment-status {
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.comment-status-approved {
    background: rgba(40, 167, 69, 0.1);
    color: var(--news-success);
}

.comment-status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.comment-status-rejected {
    background: rgba(220, 53, 69, 0.1);
    color: var(--news-danger);
}

.news-comment-content {
    color: #495057;
    line-height: 1.6;
    margin-bottom: var(--news-spacing-md);
}

.news-comment-reply-info {
    background: rgba(0, 123, 255, 0.05);
    border-left: 3px solid var(--news-primary);
    padding: 0.75rem;
    border-radius: var(--news-radius-sm);
    margin-bottom: var(--news-spacing-sm);
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-comment-actions {
    display: flex;
    gap: 0.5rem;
}

.news-comment-btn {
    padding: 0.4rem 0.75rem;
    border-radius: var(--news-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--news-transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.news-comment-btn-approve {
    background: var(--news-success);
    color: #ffffff;
}

.news-comment-btn-approve:hover {
    background: #218838;
    transform: translateY(-1px);
}

.news-comment-btn-reject {
    background: var(--news-warning);
    color: #212529;
}

.news-comment-btn-reject:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.news-comment-btn-delete {
    background: var(--news-danger);
    color: #ffffff;
}

.news-comment-btn-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.news-comments-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.news-comments-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #dee2e6;
}

.news-comments-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-comments-empty-text {
    color: #adb5bd;
}

/* ================================================================
   SEO TAB
   ================================================================ */
.news-seo-section {
    display: flex;
    flex-direction: column;
    gap: var(--news-spacing-lg);
}

.news-seo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: var(--news-spacing-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-seo-title i {
    color: var(--news-primary);
}

.news-seo-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-seo-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.news-seo-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--news-radius-sm);
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #495057;
    transition: all var(--news-transition-normal);
}

.news-seo-input:focus {
    outline: none;
    border-color: var(--news-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.news-seo-textarea {
    min-height: 100px;
    resize: vertical;
}

.news-seo-counter {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.news-seo-url-wrapper {
    display: flex;
    align-items: stretch;
    border: 2px solid #e9ecef;
    border-radius: var(--news-radius-sm);
    overflow: hidden;
    background: #f8f9fa;
}

.news-seo-url-prefix {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #e9ecef;
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
}

.news-seo-url-input {
    flex: 1;
    border: none;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #495057;
}

.news-seo-url-input:focus {
    outline: none;
    background: #ffffff;
}

.news-seo-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border-radius: var(--news-radius-sm);
    border-left: 4px solid var(--news-primary);
}

.news-seo-reading-time-icon {
    font-size: 1.5rem;
    color: var(--news-primary);
}

.news-seo-reading-time-text {
    flex: 1;
}

.news-seo-reading-time-label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.25rem;
}

.news-seo-reading-time-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
}

/* ================================================================
   QUICK ACTIONS SECTION
   ================================================================ */
.news-quick-actions-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--news-radius-lg);
    padding: var(--news-spacing-xl);
    box-shadow: var(--news-shadow-sm);
    border: 1px solid #e9ecef;
}

.news-quick-actions-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--news-spacing-lg);
}

.news-quick-actions-info {
    flex: 1;
    min-width: 250px;
}

.news-quick-actions-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.news-quick-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.news-quick-action-btn {
    padding: 0.75rem 1.25rem;
    border-radius: var(--news-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all var(--news-transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.news-quick-action-edit {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.news-quick-action-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.news-quick-action-view {
    background: linear-gradient(135deg, var(--news-primary), #0056b3);
    color: #ffffff;
}

.news-quick-action-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.news-quick-action-duplicate {
    background: linear-gradient(135deg, var(--news-info), #117a8b);
    color: #ffffff;
}

.news-quick-action-duplicate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

.news-quick-action-delete {
    background: linear-gradient(135deg, var(--news-danger), #c82333);
    color: #ffffff;
}

.news-quick-action-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.news-quick-actions-meta {
    text-align: right;
}

.news-quick-actions-meta-item {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

/* ================================================================
   RESPONSIVE - MOBILE FIRST
   ================================================================ */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .news-detail-container {
        padding: 0 var(--news-spacing-md);
    }
    
    .news-detail-header {
        padding: var(--news-spacing-lg);
    }
    
    .news-detail-header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .news-detail-page-title {
        font-size: 1.25rem;
    }
    
    .news-detail-header-actions {
        width: 100%;
    }
    
    .news-detail-header-btn {
        flex: 1;
        justify-content: center;
    }
    
    .news-header-section {
        padding: var(--news-spacing-lg);
    }
    
    .news-main-title {
        font-size: 1.5rem;
    }
    
    .news-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .news-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--news-spacing-md);
    }
    
    .news-stat-card {
        padding: 1.5rem;
    }
    
    .news-stat-number {
        font-size: 2rem;
    }
    
    .news-tabs {
        flex-direction: column;
    }
    
    .news-tab-link {
        padding: 0.875rem 1rem;
        justify-content: flex-start;
    }
    
    .news-tab-pane {
        padding: var(--news-spacing-lg);
    }
    
    .news-content-preview {
        padding: var(--news-spacing-lg);
    }
    
    .news-comments-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .news-comments-actions {
        width: 100%;
    }
    
    .news-comment-action-btn {
        flex: 1;
        justify-content: center;
    }
    
    .news-comment-item {
        padding: var(--news-spacing-md);
    }
    
    .news-comment-header {
        flex-direction: column;
    }
    
    .news-comment-actions {
        flex-wrap: wrap;
    }
    
    .news-comment-btn {
        flex: 1;
        justify-content: center;
    }
    
    .news-seo-url-wrapper {
        flex-direction: column;
    }
    
    .news-seo-url-prefix {
        border-bottom: 1px solid #dee2e6;
    }
    
    .news-quick-actions-section {
        padding: var(--news-spacing-lg);
    }
    
    .news-quick-actions-content {
        flex-direction: column;
    }
    
    .news-quick-actions-buttons {
        width: 100%;
    }
    
    .news-quick-action-btn {
        flex: 1;
        justify-content: center;
    }
    
    .news-quick-actions-meta {
        width: 100%;
        text-align: left;
    }
}

/* Small Devices (landscape phones, 576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .news-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-tabs {
        flex-wrap: wrap;
    }
    
    .news-tab-item {
        flex: 1 1 50%;
    }
}

/* Medium Devices (tablets, 768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .news-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .news-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes news-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes news-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-stat-card {
    animation: news-fade-in-up 0.5s ease-out;
}

.news-stat-card:nth-child(1) { animation-delay: 0s; }
.news-stat-card:nth-child(2) { animation-delay: 0.1s; }
.news-stat-card:nth-child(3) { animation-delay: 0.2s; }
.news-stat-card:nth-child(4) { animation-delay: 0.3s; }

.news-comment-item {
    animation: news-slide-in-right 0.4s ease-out;
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    .news-detail-header-actions,
    .news-tabs,
    .news-comment-actions,
    .news-quick-actions-buttons {
        display: none !important;
    }
    
    .news-tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .news-stat-card,
    .news-comment-item {
        box-shadow: none;
        border: 1px solid #dee2e6;
        page-break-inside: avoid;
    }
    
    .news-content-preview img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
.news-tab-link:focus,
.news-comment-btn:focus,
.news-quick-action-btn:focus {
    outline: 2px solid var(--news-primary);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .news-header-section,
    .news-stat-card,
    .news-tab-content,
    .news-comment-item,
    .news-quick-actions-section {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .news-stat-card,
    .news-comment-item,
    .news-featured-image,
    .news-tab-link,
    .news-quick-action-btn {
        animation: none;
        transition: none;
    }
}

/* ================================================================
   END OF NEWS_DETAIL.CSS
   ================================================================ */

