﻿.img-error{
    width: 30%;
    filter: saturate(0)
}
.news-details-img {
    width: 100%;
}

.news-details-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    padding-top: 10%
}
.news-details-title {
    font-weight: 700;
    color: var(--dark-blue)
}
.news-details h5 {
    color: var(--gray)
}
.news-details swiper-container {
    width: 100%;
    height: 100%;
    margin: 5% 0
}
.news-details swiper-container swiper-slide{
    text-align: center
}
.news-details swiper-container swiper-slide img{
    border-radius: 10px
}
.news-details-container .btn-primary {
    margin: 5% 0;
}

.share-content {
    display: grid;
    justify-content: center;
    gap: 2%;
    grid-template-columns: repeat(3, 20%);
}
.share-content-option {
    all: unset;
    cursor: pointer;
    text-align: center;
    background-color: var(--light-gray);
    color: var(--dark-blue);
    border-radius: 5px;
    padding: 5px 10px;
    margin: 30% 0;
}
.share-content-option:hover {
    background-color: var(--gray);
    color: var(--white);
}

@media (max-width: 480px) {
    .news-details, .news-details swiper-container swiper-slide img {
        width: 70%;
    }
}
@media (min-width: 481px) {
    .news-details, .news-details swiper-container swiper-slide img {
        width: 70%;
    }
}
@media (min-width: 610px) {
    .news-details, .news-details swiper-container swiper-slide img {
        width: 65%;
    }
}

@media (min-width: 768px) {
    .news-details-img {
        width: 70%;
        border-radius: 10px;
        margin-bottom: 7%
    }
    .news-details, .news-details swiper-container swiper-slide img{
        width: 60%;
    }
}

@media (min-width: 1025px) {
    .news-details-container {
        padding-top: 5%
    }
    .news-details, .news-details swiper-container swiper-slide img{
        width: 45%;
    }
    .news-details-img {
        width: 50%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: top;
        margin-bottom: 1%
    }
}
@media (min-width: 1280px) {
}
    
@media (min-width: 1440px) {
}
@media (min-width: 1991px){
}