.crypto-summary {
    padding-top: 24px;
}

.crypto-summary__card {
    border: 1px solid var(--separator-default);
    border-radius: 24px;
    padding: 32px;
}

.crypto-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.crypto-summary__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.crypto-summary__title {
    color: var(--elements-main);
}

.crypto-summary__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    border: 1px solid var(--separator-default);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .2px;
    color: var(--gray-default);
    white-space: nowrap;
}

.crypto-summary__date::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-default, #2563eb);
    flex: none;
}

.crypto-summary__all-link {
    color: var(--primary-default, #2563eb);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.crypto-summary__all-link:hover {
    text-decoration: underline;
}

.crypto-summary__body {
    margin-top: 24px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.crypto-summary__text {
    flex: 1 1 55%;
    min-width: 0;
}

.crypto-summary__report-title {
    color: var(--elements-main);
}

.crypto-summary__report-body {
    margin: 16px 0 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: .25px;
    color: var(--elements-main);
}

.crypto-summary__report-body:first-of-type {
    margin-top: 20px;
}

.crypto-summary__news {
    flex: 1 1 40%;
    min-width: 0;
}

.crypto-summary__news-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--separator-default);
}

.crypto-summary__news-item:last-child {
    border-bottom: none;
}

.crypto-summary__news-title {
    color: var(--elements-main);
    font-weight: 500;
    text-decoration: none;
}

.crypto-summary__news-title:hover {
    text-decoration: underline;
}

.crypto-summary__news-read {
    color: var(--primary-default, #2563eb);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex: none;
}

.crypto-summary__news-read:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .crypto-summary__card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .crypto-summary__body {
        flex-direction: column;
        gap: 24px;
    }

    .crypto-summary__text,
    .crypto-summary__news {
        flex: 1 1 auto;
        width: 100%;
    }

    .crypto-summary__report-body {
        font-size: 16px;
    }

    .crypto-summary__date {
        font-size: 13px;
    }
}

@media (pointer: coarse) {
    .crypto-summary__news-title:hover,
    .crypto-summary__all-link:hover,
    .crypto-summary__news-read:hover {
        text-decoration: none;
    }
}

.direction-rtl .crypto-summary__head {
    flex-direction: row-reverse;
}

/* Market mood chip (bullish / bearish) shown beside a headline when the story was rated; a neutral or
   unrated story renders nothing. The colours read as positive/negative rather than the brand accent so the
   mood stays legible in every locale. */
.news-sentiment {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-inline-end: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: middle;
}

.news-sentiment__icon {
    display: block;
    flex: none;
}

.news-sentiment--bullish {
    color: #15803d;
    background: rgba(22, 163, 74, .14);
}

.news-sentiment--bearish {
    color: #b91c1c;
    background: rgba(220, 38, 38, .14);
}
