.relative-news-list {
    width: 100%;
    direction: rtl;
}

.relative-news-list .owl-theme {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.relative-news-list .relative-news-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.relative-news-list .relative-news-link:hover,
.relative-news-list .relative-news-link:focus {
    text-decoration: none;
    color: inherit;
}

/* News box */
.relative-news-list .relative-news-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;

    width: 100%;
    min-height: 100px;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;

    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            transform 0.2s ease;
}

.relative-news-list .relative-news-link:hover .relative-news-item {
    border-color: #d5d5d5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Image - RIGHT side */
.relative-news-list .relative-news-thumbnail {
    flex: 0 0 110px;
    width: 110px;
    min-height: 100px;

    overflow: hidden;
    background: #f5f5f5;
}

.relative-news-list .relative-news-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 100px;

    object-fit: cover;
}

/* Content - LEFT side */
.relative-news-list .relative-news-body {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 10px 12px;
}

/* Title */
.relative-news-list .relative-news-title {
    margin: 0 0 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    direction: rtl;
}

/* Footer - date only */
.relative-news-list .relative-news-footer {
    margin-top: auto;
}

.relative-news-list .relative-news-date {
    margin: 0;

    color: #999;
    font-size: 11px;
    line-height: 1.5;

    white-space: nowrap;
}


/* =========================================
   Smaller sidebar
   ========================================= */

@media (max-width: 767px) {
    .relative-news-list .relative-news-item {
        min-height: 90px;
    }

    .relative-news-list .relative-news-thumbnail {
        flex-basis: 95px;
        width: 95px;
        min-height: 90px;
    }

    .relative-news-list .relative-news-thumbnail img {
        min-height: 90px;
    }

    .relative-news-list .relative-news-body {
        padding: 8px 10px;
    }

    .relative-news-list .relative-news-title {
        font-size: 13px;
        line-height: 1.6;
    }
}


/* =========================================
   Very narrow sidebar
   ========================================= */

@media (max-width: 480px) {
    .relative-news-list .relative-news-item {
        min-height: 80px;
    }

    .relative-news-list .relative-news-thumbnail {
        flex-basis: 80px;
        width: 80px;
        min-height: 80px;
    }

    .relative-news-list .relative-news-thumbnail img {
        min-height: 80px;
    }

    .relative-news-list .relative-news-body {
        padding: 7px 9px;
    }

    .relative-news-list .relative-news-title {
        margin-bottom: 5px;
        font-size: 12px;
    }

    .relative-news-list .relative-news-date {
        font-size: 10px;
    }
}