/* Crypto News Sidebar Widget */

.bs-cn-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-cn-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bs-cn-item:last-child {
    border-bottom: none;
}

.bs-cn-link,
.bs-cn-link:link,
.bs-cn-link:visited {
    display: flex;
    gap: 10px;
    padding: 8px 4px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    border-radius: 6px;
}

.bs-cn-link:hover {
    background: #f5f7fa;
}

.bs-cn-thumb {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.bs-cn-thumb img {
    display: block;
    object-fit: cover;
}

.bs-cn-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.bs-cn-title {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-cn-date {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    white-space: nowrap;
}

/* Compact (40x40 thumb) */
.bs-cn-list--compact .bs-cn-thumb {
    width: 40px;
    height: 40px;
}

.bs-cn-list--compact .bs-cn-thumb img {
    width: 40px;
    height: 40px;
}

.bs-cn-list--compact .bs-cn-link {
    align-items: center;
    padding: 6px 4px;
}

/* Standard (56x56 thumb) */
.bs-cn-list--standard .bs-cn-thumb {
    width: 56px;
    height: 56px;
}

.bs-cn-list--standard .bs-cn-thumb img {
    width: 56px;
    height: 56px;
}

.bs-cn-list--standard .bs-cn-link {
    align-items: center;
}

/* Card (full-width image top) */
.bs-cn-list--card .bs-cn-link {
    flex-direction: column;
    gap: 8px;
    padding: 10px 4px;
}

.bs-cn-list--card .bs-cn-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.bs-cn-list--card .bs-cn-thumb img {
    width: 100%;
    height: 100%;
}

.bs-cn-list--card .bs-cn-title {
    font-size: 14px;
}

.bs-cn-list--card .bs-cn-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Throwback (1 Year Ago) */
.bs-cn-throwback {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bs-cn-throwback__label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.bs-cn-throwback .bs-cn-thumb {
    width: 40px;
    height: 40px;
}

.bs-cn-throwback .bs-cn-thumb img {
    width: 40px;
    height: 40px;
}

.bs-cn-throwback .bs-cn-link {
    align-items: center;
}

/* CTA Button */
.bs-cn-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.elementor-widget-crypto-news a.bs-cn-cta,
.elementor-widget-crypto-news a.bs-cn-cta:link,
.elementor-widget-crypto-news a.bs-cn-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #1DB0E1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
}

.elementor-widget-crypto-news a.bs-cn-cta:hover {
    background: #1899c5;
    color: #fff;
}
