.article-recommendations {
    box-sizing: border-box;
    margin: 18px 0 24px;
}

.article-recommendations *,
.article-recommendations *::before,
.article-recommendations *::after {
    box-sizing: border-box;
}

#single-widget.article-recommendations .single-wt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
    gap: 16px;
}

#single-widget.article-recommendations .article-recommendations__card {
    display: flex;
    float: none;
    flex-direction: column;
    width: auto;
    min-width: 0;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#single-widget.article-recommendations .article-recommendations__card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .09);
    transform: translateY(-2px);
}

#single-widget.article-recommendations .article-recommendations__title {
    position: relative;
    height: auto;
    margin: 0;
    padding: 15px 18px 14px 31px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    border-radius: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 72%);
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

#single-widget.article-recommendations .article-recommendations__title::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: #328ff6;
    content: "";
    transform: translateY(-50%);
}

#single-widget.article-recommendations .article-recommendations__hot .article-recommendations__title::before {
    background: #ff8a34;
}

#single-widget.article-recommendations .article-recommendations__random .article-recommendations__title::before {
    background: #8b5cf6;
}

#single-widget.article-recommendations .article-recommendations__card > ul,
#single-widget.article-recommendations .article-recommendations__card > div > ul {
    display: grid;
    align-content: start;
    gap: 2px;
    margin: 0;
    padding: 10px 14px 12px;
    list-style: none;
}

#single-widget.article-recommendations .article-recommendations__card > div {
    flex: 1;
}

#single-widget.article-recommendations .article-recommendations__card li {
    display: flex;
    min-width: 0;
    min-height: 38px;
    align-items: center;
    margin: 0;
    padding: 7px 4px;
    border-bottom: 1px solid #f1f4f8;
    line-height: 1.55;
}

#single-widget.article-recommendations .article-recommendations__card li:last-child {
    border-bottom: 0;
}

#single-widget.article-recommendations .article-recommendations__card li.the-icon::before {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: #a8b3c4;
    content: "";
}

#single-widget.article-recommendations .article-recommendations__card a {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#single-widget.article-recommendations .article-recommendations__card a:hover {
    color: #217cf0;
    transform: none;
}

#single-widget.article-recommendations .article-recommendations__card li.the-icon > a::before {
    display: none;
}

#single-widget.article-recommendations .article-recommendations__hot .li-icon {
    flex: 0 0 22px;
    margin-right: 8px;
}

.night #single-widget.article-recommendations .article-recommendations__card,
.night #single-widget.article-recommendations .article-recommendations__title {
    border-color: #343a46;
    background: #252a33;
}

.night #single-widget.article-recommendations .article-recommendations__card li {
    border-color: #343a46;
}

.night #single-widget.article-recommendations .article-recommendations__title {
    color: #f1f5f9;
}

.night #single-widget.article-recommendations .article-recommendations__card a {
    color: #cbd5e1;
}

@media screen and (max-width: 640px) {
    .article-recommendations {
        margin-top: 14px;
    }

    #single-widget.article-recommendations .single-wt {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #single-widget.article-recommendations .article-recommendations__card {
        border-radius: 10px !important;
    }
}
