.lastnews:hover {
    margin: 20px 0 20px 0px !important;
    padding: 5px 0 5px 0px !important;
    background-color: #7070703b;
    border-radius: 20px;
    cursor: pointer;
}
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.newss h1 {
    margin: 20px 0;
}

.serch-news {
    margin-top: 30px;
}

.allnewsdetails {
    display: flex;
    justify-content: space-between;
}

.right_newsdeta {
    width: 54%;
    text-align: justify;
}

.icons_ns {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.icon_n {
    display: flex;
    gap: 5px;
}

.img_news {
    position: relative;
    height: auto;
    overflow: hidden;
    width: 100%;
    margin: 10px 0;
    border-radius: 35px;
}

.img_news img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center center;
    border-radius: 35px;
}

@media (min-width:1700px) {
    .img_news {
        height: 420px;
    }

    .img_news img {
        height: 420px;
    }

    .lastnews {
        margin-top: 10px !important;
    }

}

.sotial_news {
    background-color: #242424;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    padding: 0 20px;
    padding-top: 7px;
    border-radius: 0 0 20px 20px !important;
    align-items: center;
    z-index: 44;
}

.shersotio {
    display: flex;
    gap: 10px;
    color: #fff;
    margin-top: 8px;


}

.icon_sot {
    font-size: 25px;
    display: flex;
    gap: 10px;
}

.newssss {
    padding-bottom: 20px;
}

.left_newsdeta {
    width: 42%;
    overflow: hidden;
    margin-top: 0px;

}

.left_newsdeta h3 {
    color: #242424;
}

.line_news {
    background-color: #242424;
    width: 30%;
    height: 7px;
}

.allcnew {
    display: flex;
    flex-direction: column;
    line-height: 120%;

}

.lastnews {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    align-items: center;
}

.lastnews .imgnewsd {
    width: 150px !important;
    height: 100px !important;
    flex-shrink: 0;
    border-radius: 10px !important;
    overflow: hidden;
}

.lastnews .imgnewsd img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0 !important;
    border-radius: 10px !important;
}

@media (max-width:1137px) {
    .lastnews {
        display: flex;
        gap: 20px;
        margin-top: -15px;
        align-items: center;
    }
}

.lastnews h6 {
    font-size: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lastnews .textlnews>p {
    font-size: 14px;
    color: #707070;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lastnews .nononews {
    display: flex;
    gap: 5px;
    margin-top: -10px;
}

.lastnews .nononews p {
    font-size: 14px;
    text-align: justify;
}

.textnewsbetails h1 {
    color: #242424;
    font-weight: 600;
    margin-top: 20px;
}

.textnewsbetails p {
    color: #707070;
    margin-top: 30px;
    text-align: justify;
}

.mobile-only {
    display: none;
}

@media (max-width:1087px) {
    .allnewsdetails {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
    }

    .right_newsdeta {
        width: 100%;
    }

    .left_newsdeta {
        display: none;
    }

    .lastnews {
        display: flex;
        gap: 20px;
        margin-top: 10px;
        align-items: center;

    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
        margin: 10px auto;
        width: 90%;
    }

    .allnewsdetails {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .right_newsdeta {
        width: 100%;
    }
}

@media (min-width:1087px) {
    .left_newsdetaaaa {
        display: none;
    }
}

@media (max-width:640px) {
    .newss {
        flex-direction: column-reverse;
    }

    .newss h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .serch-news {
        width: 80%;
        height: 40px;
        margin-top: 0;
    }

    .serch-news input {
        font-size: 14px;
        width: 100%;
    }

    .right_newsdeta h5 {
        font-size: 16px;
    }

    .icons_ns {
        gap: 15px;
        font-size: 15px;
    }

    .icons_ns svg {
        width: 12px !important;
        margin-top: -5px !important;
    }

    .icons_ns .po {
        width: 16px;
    }
}


@media (max-width:400px) {
    .img_news {
        height: 300px;
        width: 98%;
    }

    .img_news img {
        height: 300px;
    }

    .newss h1 {
        font-size: 25px;
    }

    .icons_ns {
        gap: 10px;
        font-size: 13px;
    }

    .icons_ns p {
        margin-top: 4px;
    }

    .icons_ns svg {
        width: 20px;
    }

    .icons_ns .po {
        width: 14px;
    }

    .icon_sot {
        gap: 3px;
    }

}

.imgnewsd {
    width: 100%;
    height: 385px !important;
    border-radius: 20px !important;
    overflow: hidden;
    position: relative !important;
}

.imgnewsd img {
    width: 100%;
    border-radius: 20px 20px 0 0 !important;
    height: 100% !important;
    margin-top: -20px !important;
}

@media (max-width:550px) {
    .imgnewsd {
        height: 280px !important;
    }
}

@media (max-width:403px) {

    .img_news .swiper-button-next,
    .img_news .swiper-button-prev {
        margin-top: -55px !important;
    }
}

.keyword {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 20px;
    width: 50%;
    margin-top: 20px;
}

.alltagkey {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.keyword .tagkey {
    border: 1px solid rgba(112, 112, 112, 0.226);
    display: inline-block;
    border-radius: 20px;
    height: 40px;
}

.keyword h3 {
    color: #242424;
}

.keyword .tagkey p {
    padding: 0px 20px;
    margin-top: 5px;
}

.keyword .tagkey:hover {
    border: 1px solid rgba(112, 112, 112, 0.226);
    background-color: rgba(112, 112, 112, 0.226);
    color: #ffffff;
    display: inline-block;
    border-radius: 20px;
    height: 40px;
    cursor: pointer;
}

@media (max-width:850px) {
    .keyword {
        width: 80%;
    }
}

@media (max-width:550px) {
    .keyword {
        width: 100%;
    }
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    width: 100%;
    max-width: 240px;
    min-width: 140px;

    height: 22px;

    background: #333 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;

    padding: 0 10px;
    box-sizing: border-box;

    margin-bottom: 6px;
}

.share-btn:hover,
.share-btn:focus {
    background: #444 !important;
}