.CompactNewsList {
    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 8px;

    direction: rtl;
}


.CompactNewsList__item {
    width: 100%;
}


.CompactNewsList__card {
    display: block;

    width: 100%;

    padding: 8px;

    overflow: hidden;

    border-radius: 10px;

    background: #fff;

    color: inherit;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


a.CompactNewsList__card:hover,
a.CompactNewsList__card:focus {
    color: inherit;
    text-decoration: none;
}


.CompactNewsList__inner {
    display: flex;
    flex-direction: row;

    align-items: stretch;

    width: 100%;

    gap: 14px;
}


/*
|--------------------------------------------------------------------------
| Image
|--------------------------------------------------------------------------
*/

.CompactNewsList__media {
    flex: 0 0 155px;

    width: 155px;

    min-width: 0;
}


.CompactNewsList__image,
.CompactNewsList__placeholder {
    display: block;

    width: 100%;
    height: 105px;

    border-radius: 8px;
}


.CompactNewsList__image {
    object-fit: cover;
}


.CompactNewsList__placeholder {
    background: #eee;
}


/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/

.CompactNewsList__content {
    display: flex;
    flex: 1 1 auto;

    flex-direction: column;
    justify-content: space-between;

    min-width: 0;

    padding: 3px 0 2px;

    text-align: right;
}


.CompactNewsList__title {
    margin: 0;
    font-family: "shabnam";
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    text-align: right;
}

.CompactNewsList__date {
    display: block;

    margin-top: 8px;

    color: #b7b7b7;

    font-size: 11px;
    line-height: 1.7;

    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Hover
|--------------------------------------------------------------------------
*/

a.CompactNewsList__card:hover {
    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| Responsive count
|--------------------------------------------------------------------------
*/

@media (min-width: 1025px) {

    .CompactNewsList__item--hide-desktop {
        display: none !important;
    }

}


@media (min-width: 768px) and (max-width: 1024px) {

    .CompactNewsList__item--hide-tablet {
        display: none !important;
    }

}


@media (max-width: 767px) {

    .CompactNewsList__item--hide-mobile {
        display: none !important;
    }

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {

    .CompactNewsList__media {
        flex-basis: 135px;
        width: 135px;
    }


    .CompactNewsList__image,
    .CompactNewsList__placeholder {
        height: 100px;
    }


    .CompactNewsList__title {
        font-size: 15px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .CompactNewsList {
        gap: 7px;
    }


    .CompactNewsList__card {
        padding: 7px;
        border-radius: 9px;
    }


    .CompactNewsList__inner {
        gap: 10px;
    }


    .CompactNewsList__media {
        flex: 0 0 125px;
        width: 125px;
    }


    .CompactNewsList__image,
    .CompactNewsList__placeholder {
        height: 95px;
        border-radius: 7px;
    }


    .CompactNewsList__title {
        font-size: 14px;
        line-height: 1.8;
    }


    .CompactNewsList__date {
        margin-top: 5px;
        font-size: 10px;
    }

}


/*
|--------------------------------------------------------------------------
| Very Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .CompactNewsList__media {
        flex-basis: 115px;
        width: 115px;
    }


    .CompactNewsList__image,
    .CompactNewsList__placeholder {
        height: 90px;
    }


    .CompactNewsList__title {
        font-size: 13px;
    }

}