/* Styles moved from news_inner.blade.php */
html, body {
    direction: rtl;
    background: #fff !important;
}
.news-inner-wrapper {
    display: flex;
    gap: 36px;
    margin: 20px auto 0;
    background: #fff;
    max-width: 1400px;
    padding: 0 30px;
    width: calc(100% - 60px);
    box-sizing: border-box;
}
.news-sidebar {
    width: 260px;
    min-width: 220px;
    margin-left: 0;
    margin-right: 0;
    padding-top: 6px;
}
.news-sidebar-section { background: transparent; border-radius: 0; margin-bottom: 32px; padding: 0; }
.news-sidebar-section h3 { font-size: 22px; margin-bottom: 18px; font-weight: 600; color: #333; text-align: right; }
.sidebar-news-item { display: flex; align-items: center; margin-bottom: 22px; gap: 14px; }
.sidebar-news-thumb { width: 70px; height: 60px; object-fit: cover; border-radius: 6px; margin-left: 0; }
.sidebar-news-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sidebar-news-title { font-size: 15px; font-weight: 500; color: #222; margin-bottom: 6px; text-align: right; line-height: 1.6; }
.sidebar-news-meta { display: flex; gap: 8px; font-size: 12px; color: #888; }
.sidebar-news-source, .sidebar-news-date { color: #888; }
.sidebar-announce-item { margin-bottom: 20px; font-size: 15px; font-weight: 500; color: #222; text-align: right; line-height: 1.8; }
.sidebar-announce-item > .announce-desc, .sidebar-announce-item > div { color: #888; font-size: 13px; margin-top: 6px; line-height: 1.6; }
.sidebar-announce-date { color: #888; font-size: 13px; margin-bottom: 6px; display: block; }
.main-news-content { flex: 1; background: #fff; border-radius: 0; padding: 12px 0 0 0; margin: 0 auto; display: flex; flex-direction: column; align-items: center; padding-left: 0; }
.news-header-title { font-size: 24px; font-weight: 600; color: #333; margin-bottom: 16px; text-align: right; width: 100%; }
.news-main-image { width: 100%; max-width: 900px; height: 420px; object-fit: cover; border-radius: 8px; display: block; margin: 20px auto 40px auto; }
.news-meta-bar { display: flex; justify-content: flex-start; gap: 18px; color: #888; font-size: 14px; margin-bottom: 22px; width: 100%; max-width: 900px; flex-wrap: wrap; direction: rtl; }
.news-meta-bar .meta-item { display: inline-flex; align-items: center; gap: 8px; color: #6c757d; font-size: 14px; padding: 6px 10px; }
.news-meta-bar .meta-item i { color: #ffc107; font-size: 14px; width: 18px; text-align: center; }
.news-meta-bar .meta-item span { color: #6c757d; font-weight: 500; }
.news-main-title { font-size: 20px; font-weight: 600; color: #222; text-align: right; margin-top: 6px; margin-bottom: 24px; width: 100%; max-width: 900px; line-height: 30px; }
.news-main-body { font-size: 16px; line-height: 2.3; color: #333; text-align: right; width: 100%; max-width: 900px; font-weight: 400; margin-bottom: 22px; }
.news-main-body p { margin-bottom: 18px; }
.news-main-body br + br { display: block; margin-bottom: 14px; content: ""; }
@media (max-width: 1400px) {
    .news-inner-wrapper { max-width: 1200px; gap: 32px; }
    .news-main-image, .news-meta-bar, .news-main-title, .news-main-body { max-width: 820px; }
}
@media (max-width: 1100px) {
    .news-inner-wrapper { max-width: 960px; gap: 24px; padding: 0 20px; }
    .news-sidebar { width: 240px; }
    .news-main-image, .news-meta-bar, .news-main-title, .news-main-body { max-width: 700px; }
}
@media (max-width: 992px) {
    .news-inner-wrapper { flex-direction: column; gap: 18px; align-items: stretch; }
    .main-news-content { order: 1; align-items: stretch; padding-left: 0; }
    .news-sidebar { width: 100%; min-width: unset; order: 2; padding: 0 8px; }

    .news-main-image { max-width: 100%; height: auto; margin-bottom: 28px; }
    .news-meta-bar { justify-content: center; margin-bottom: 22px; }
    .news-main-title { text-align: center; }
    .news-main-body { text-align: right; }

    .sidebar-news-item { margin-bottom: 22px; }
    .sidebar-news-title { line-height: 1.7; margin-bottom: 8px; }
    .sidebar-news-meta { font-size: 12px; }

    .news-main-body { line-height: 2.4; margin-bottom: 22px; }
}
@media (max-width: 576px) {
    .news-inner-wrapper { padding: 0 12px; gap: 12px; }
    .news-header-title { font-size: 20px; margin-bottom: 18px; }
    .news-main-title { font-size: 18px; margin-bottom: 12px; }
    .news-main-body { font-size: 15px; line-height: 2.2; margin-bottom: 20px; }
    .sidebar-news-title { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
    .sidebar-news-thumb { width: 60px; height: 46px; }
    .news-meta-bar { font-size: 13px; gap: 10px; margin-bottom: 12px; }
    .sidebar-news-item { margin-bottom: 20px; }
    .news-main-image { margin-bottom: 26px; }
}

/* News Attachments Styles */
.news-attachments {
    width: 100%;
    max-width: 900px;
    margin: 20px auto 30px;
}

.news-attachments a {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.news-attachments a:hover {
    transform: scale(1.05);
}

.news-attachment-thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: border-color 0.3s;
}

.news-attachment-thumb:hover {
    border-color: #ffc107;
}

.news-attachment-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #183354;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s, border-color 0.3s;
}

.news-attachment-file:hover {
    background: #183354;
    color: #fff;
    border-color: #183354;
    text-decoration: none;
}

.news-attachment-file i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .news-attachment-thumb {
        width: 120px;
        height: 120px;
    }
    
    .news-attachment-file {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .news-attachment-thumb {
        width: 100px;
        height: 100px;
    }
    
    .news-attachment-file {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Comments List Styles */
.comments-list-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 20px;
}

.comments-list-title {
    font-size: 22px;
    font-weight: 700;
    color: #183354;
    margin-bottom: 24px;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-list-title i {
    color: #ffc107;
    font-size: 24px;
}

.comment-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
    transition: box-shadow 0.3s;
}

.comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #183354;
    font-size: 15px;
}

.comment-author i {
    color: #ffc107;
    font-size: 20px;
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
}

.comment-date i {
    color: #6c757d;
    font-size: 13px;
}

.comment-content {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    text-align: right;
}

@media (max-width: 768px) {
    .comments-list-section {
        margin-top: 30px;
    }
    
    .comments-list-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .comments-list-title i {
        font-size: 22px;
    }
    
    .comment-item {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .comment-author {
        font-size: 14px;
    }
    
    .comment-date {
        font-size: 12px;
    }
    
    .comment-content {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 576px) {
    .comments-list-section {
        margin-top: 24px;
    }
    
    .comments-list-title {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .comment-item {
        padding: 14px;
        margin-bottom: 14px;
        border-radius: 8px;
    }
    
    .comment-content {
        font-size: 13px;
    }
}

/* Comment Section Styles */
.comment-section {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.comment-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #183354;
    margin-bottom: 10px;
    text-align: right;
}

.comment-notice {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 24px;
    text-align: right;
    padding: 10px 12px;
    background: #fff;
    border-right: 3px solid #ffc107;
    border-radius: 6px;
}

.comment-form .form-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: right;
    display: block;
}

.comment-form .form-control {
    border: 1px solid #dbe6ea;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    color: #333;
    text-align: right;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.comment-form .form-control:focus {
    border-color: #183354;
    box-shadow: 0 0 0 0.2rem rgba(24, 51, 84, 0.15);
    outline: none;
}

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

.btn-submit-comment {
    background: #183354;
    border-color: #183354;
    color: #fff;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-submit-comment:hover {
    background: #0f2640;
    border-color: #0f2640;
}

.btn-submit-comment i {
    margin-left: 6px;
}

@media (max-width: 768px) {
    .comment-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .comment-section-title {
        font-size: 20px;
    }
    
    .comment-notice {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .comment-form .form-label {
        font-size: 14px;
    }
    
    .comment-form .form-control {
        font-size: 14px;
    }
    
    .btn-submit-comment {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .comment-section {
        padding: 16px;
        margin-top: 24px;
    }
    
    .comment-section-title {
        font-size: 18px;
    }
}