.related-news-to-tag-section{
    font-family: 'yekanbakh';
}
.related-news-to-tag-section {
    display: flex;
    align-items: center;
}

.related-news-to-tag-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 30px;
}
 
/* ---------------- NEWS ---------------- */

.related-news-to-tag-news-col {
    width: 50%;
}

.related-news-to-tag-news-header {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.related-news-to-tag-news-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 !important;
    color: rgba(21, 34, 66, 1);
}

.related-news-to-tag-view-all {
    color: #2979ff;
    text-decoration: none !important;
    margin-right: 16px;
    font-size: 14px;
}

.related-news-to-tag-news-items {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e6e9ec;
}

.related-news-to-tag-news-item {
    padding: 15px;
    border-bottom: 1px solid #e6e9ec;
    display: flex;
    align-items: center;
}

.related-news-to-tag-news-item:last-child {
    border-bottom: none;
}

.related-news-to-tag-news-content {
    display: inline-flex;
    align-items: center;
    flex-grow: 1;
}

.related-news-to-tag-news-marker {
    width: 6px;
    height: 6px;
    background-color: #166FFF;
    margin-left: 6px;
}

.related-news-to-tag-news-text {
    font-size: 14px;
    max-width:90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    color: #152242 !important;
    text-decoration: none;
}

/* ---------------- analysis ---------------- */

.related-news-to-tag-analysis-items {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-news-to-tag-analysis-item {
    border: 1px solid #e6e9ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.related-news-to-tag-news-image img {
    display: block;
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.related-news-to-tag-analysis-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 10px;
}

.related-news-to-tag-news-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #777;
}

.related-news-to-tag-news-source {
    display: flex;
    align-items: center;
}

.related-news-to-tag-news-source span {
    direction: ltr;
}

/* ---------------- GENERAL CLEAN ---------------- */

.related-news-to-tag-news-text:hover,
.related-news-to-tag-view-all:hover {
    opacity: 0.8;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
    .related-news-to-tag-news-col {
    width: 100%;
}

    .related-news-to-tag-row {
        flex-direction: column;
    }

    .related-news-to-tag-news-image img {
        width: 120px;
        height: 80px;
    }

    .related-news-to-tag-news-text {
        max-width: 98%;
        padding-right: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .related-news-to-tag-news-content{
        max-width: 90%;
    }
}