.shared-section {
    background-color: rgba(0, 38, 62, 0.1);
    height: 9rem;
    width: 100%;
    color: rgba(0, 38, 62);
}

.full-width-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#News-inner .wrapItem {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(255 255 255 / 53%);
    width: 100%;
}

.textWrapper {
    /* min-height: 5rem; */
    min-height: 4rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-overlay {
    display: none;
}

.share-overlay.active {
    display: flex;
    position: absolute;
    top: 0;
    right: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    width: 50%;
    height: 50%;
    justify-content: flex-start;
    align-items: center;
}

#close {
    cursor: pointer;
    color: white;
    font-size: 30px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.second-section {
    background-color: rgba(0, 38, 62, 0.1);
}

.second-section img {
    height: auto;
}

@media (max-width: 576px) {
    .col-md-6 {
        margin-bottom: 1rem;
    }
}

body.arabic-version .share-overlay.active {
    left: 50%;
    right: 0;
}

body.arabic-version #close {
    left: 0;
    right: 10px;
}

#News-inner .wrapItem h5,
#News-inner .wrapItem h5 span {
    color: var(--secondary-color);
}

#News-inner .wrapItem p {
    color: var(--font-color) !important;
}

#News-inner .second-section {
    margin-bottom: 3rem;
}

.new-inner-container picture {
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

.new-inner-container h3 {
    margin-bottom: 1rem !important;
    line-height: 1.4;
}

.new-inner-container .date-content {
    margin-bottom: 1rem !important;
    gap: 5px;
}