﻿* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

img {
width:100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Article styles */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top:50px;
}

.section-title {
    color: #254B72;
    margin-bottom: 30px;
    font-weight: 600;
    margin-top: 60px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--lighter-text);
    margin-bottom: 1.5rem;
}

    .breadcrumb a {
        color: var(--primary-color);
        text-decoration: none;
    }

.article-title {
    font-weight: 600;
    color: #195A94;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



@media (min-width: 992px) {
    .article-content {
        flex-direction: row;
    }

    .article-text {
        flex: 2;
    }

    .article-image {
        flex: 1;
    }
}


.article-description {
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #00000040;
}

    .article-text p, .article-description p {
        margin-bottom: 1rem;
        color: #254B72;
        font-size: 15px;
        line-height: 32px;
        font-weight: 500;
        vertical-align: middle;
        text-align: justify;
    }

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    color: #254B72;
    font-size: 12px;
}

.article-date {
    text-align: right;
}

/* More News Section with Carousel */
.more-news {
    margin-top: 3rem;
    position: relative;
}


.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.news-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

    .news-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

.news-card {
    max-width: 230px;
    flex-shrink: 0;
    transition: all 0.3s;
    overflow: hidden;
    scroll-snap-align: start;
}

    .news-card:hover {
        transform: translateY(-5px);
    }

.news-image {
    height: 200px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s;
    }



.news-content {
    padding: 5px 10px;
    width: 300px;
}

    .news-content h5 {
        font-size: 15px;
        font-weight: 600;
        line-height: 25px;
        color: #195A94;
    }

.news-meta {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #747474;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    transition: all 0.3s;
}

    .carousel-nav:hover {
        background-color: #f5f5f5;
    }

.carousel-prev {
    left: 5px;
}

.carousel-next {
    right: 5px;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    fill: #195A94;
}

.card-item-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 5px;
}

    .card-item-icons .icon {
        display: flex;
        gap: 7px;
        align-items: center;
        font-size: 10px;
        font-weight: 400;
        margin-right: 10px;
        line-height: 30px;
        text-align: center;
        color: #747474;
    }

        .card-item-icons .icon img {
            width: 13px;
        }

        .card-item-icons .icon:nth-child(3) {
            margin-left: 10px;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }

    .carousel-container {
        padding: 0 40px;
    }

    .news-card {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        padding: 0 30px;
    }

    .news-card {
        max-width: 180px;
    }
}

@media (max-width: 950px) {
    .edit-container {
        width: 70%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }

    .news-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 950px) {

    .edit-container {
        width: 70%;
    }
}

@media (max-width: 768px) {

    .edit-container {
        width: 100%;
    }
}

body.dark-mode {
    background-color: #010A16;
}




    body.dark-mode .article-text p,
    body.dark-mode .article-description p,
    body.dark-mode .breadcrumb {
        color: rgb(255, 255, 255,0.7);
    }

.rtl .article-container{
   direction:ltr;
}

.rtl .section-title{
    text-align:right;
}