/* تنسيقات صفحة تفاصيل الخبر */
.news-details-section {
    padding: 70px 0 40px;
}

/* رأس المقال */
.news-header {
    margin-bottom: 30px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.news-category,
.news-date,
.news-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-category {
    color: var(--primary-color);
    font-weight: 600;
}

.news-title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.news-share {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-label {
    color: #666;
    margin-left: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.telegram {
    background-color: #0088cc;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.copy-link {
    background-color: #666;
}

/* محتوى المقال */
.news-content-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.news-main-image {
    position: relative;
}

.news-main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 14px;
}

.news-content {
    padding: 30px;
}

.content-lead {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 600;
}

.news-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333;
}

.news-content h2 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: var(--dark-color);
    position: relative;
    padding-right: 15px;
}

.news-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 2.5px;
}

.content-quote {
    position: relative;
    margin: 30px 0;
    padding: 25px 60px 25px 25px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.content-quote i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.7;
}

.content-quote blockquote {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    color: #444;
    border-right: none;
    padding: 0;
    margin: 0;
}

.content-list {
    padding-right: 20px;
    margin-bottom: 20px;
}

.content-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    position: relative;
}

.content-list li::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.content-image {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.content-image img {
    width: 100%;
    border-radius: 8px;
}

.content-signature {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.signature-text {
    text-align: center;
}

.signature-text span {
    display: block;
    margin-bottom: 5px;
}

.signature-text span:first-child {
    font-weight: 700;
    color: var(--dark-color);
}

.signature-text span:last-child {
    color: #666;
    font-size: 14px;
}

/* معلومات الناشر */
.news-author {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.author-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.author-details h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 18px;
}

.author-details p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* الوسوم والتعليقات */
.news-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    color: #666;
    font-weight: 600;
}

.tag-link {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f4f4f4;
    border-radius: 30px;
    color: #666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.news-comments {
    font-size: 14px;
    color: #666;
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* الأخبار ذات الصلة - سلايدر */
.related-news {
    background-color: #f4f4f4;
    padding: 50px 0;
    margin-top: 50px;
}

.related-news-header {
    margin-bottom: 30px;
    text-align: center;
}

.related-news-header h2 {
    font-size: 28px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.related-news-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary-color);
    width: 60%;
    margin: 0 auto;
    border-radius: 1.5px;
}

.related-news-slider {
    margin: 0 -15px;
}

.related-news-item {
    padding: 15px;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.news-category {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.news-info {
    padding: 20px;
}

.news-date {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-date i {
    margin-left: 5px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-title a {
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 67px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more i {
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-color);
}

.read-more:hover i {
    transform: translateX(-5px);
}

/* تنسيقات Owl Carousel */
.related-news-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
}

.related-news-slider .owl-nav button {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--dark-color) !important;
    font-size: 18px !important;
    pointer-events: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-news-slider .owl-nav button:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.related-news-slider .owl-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.related-news-slider .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.related-news-slider .owl-dots .owl-dot.active {
    background-color: var(--primary-color) !important;
    transform: scale(1.2);
}

/* تنسيقات متجاوبة */
@media screen and (max-width: 992px) {
    .news-title {
        font-size: 28px;
    }

    .content-lead {
        font-size: 16px;
    }

    .news-content h2 {
        font-size: 22px;
    }

    .content-quote blockquote {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .news-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .news-title {
        font-size: 24px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h2 {
        font-size: 20px;
        margin: 25px 0 15px;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin: 0 auto;
    }

    .related-news-slider .owl-nav {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .news-title {
        font-size: 22px;
    }

    .content-quote {
        padding: 20px 25px 20px 15px;
    }

    .content-quote i {
        font-size: 20px;
        top: 15px;
        right: 15px;
    }

    .news-share {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .news-tags {
        flex-direction: column;
        align-items: flex-start;
    }
}