/* Wrapper layout */
.eqvor-news-dashboard {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    padding: 36px;
    box-sizing: border-box;
}

.brxe-eqvor-news {
    width: 100%;
}
.news .eqvor-news-outer {
    padding: 60px;
}
.news .eqvor-news-outer .eqvor-news-head{
    justify-content: center;
    align-items: center;
}
.eqvor-news-outer {
    background: #101828;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    row-gap: 20px;
    flex-direction: column;
    color: #d7dde6;
    max-height: 713px;
}

/* Heading + search row */
.eqvor-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.eqvor-news-head h2 {
    margin: 0;
    color: #eff6ff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.eqvor-news-search {
    width: 320px;
    max-width: 40%;
    position: relative;
}

.eqvor-news-search input {
    width: 100%;
    background-color: #283145;
    border: 0;
    border-radius: 20px;
    color: #ffffff;
    font-size: 12px;
    height: 36px;
}

.eqvor-news-search input:focus-visible {
    outline: 1px solid #ffffff;
}

.eqvor-news-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* List container */
.eqvor-news-list {
    display: none;
    scrollbar-width: none; /* hide scrollbar thumb */
    scrollbar-color: transparent; /* make track transparent */
    -ms-overflow-style: none; /* hide scrollbar in IE and Edge */
    display: flex;
    overflow: scroll;
    height: 686px;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.eqvor-news-more:after {
    content: '';
    width: 14px;
    position: relative;
    top: 2px;
    height: 14px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDYgMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjYwMTU2IDAuODAwNzgxTDUuMTAxNTYgNS4wMDA3OEwxLjYwMTU2IDkuMjAwNzgiIHN0cm9rZT0iIzRCOTRGOSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
    background-repeat: no-repeat;

}

/* One item (card) */
.eqvor-news-item {
    display: flex;
    row-gap: 24px;
    column-gap: 10px;
    align-items: flex-start;
    padding: 20px;
    background: #283145;
    border-radius: 20px;
}

/* logo */
.eqvor-news-logo {
    width: 28px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

}

.eqvor-news-logo img {
    object-fit: cover;
    display: block;
}

/* content */
.eqvor-news-content {
    flex: 1;
    min-width: 0;
}

.eqvor-news-title-row {
    display: flex;
    align-items: center;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

.eqvor-news-title-row h3 {
    margin-bottom: 0px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

a.eqvor-news-title {
    color: #4b94f9;
    font-size: 12px;
    text-decoration: underline;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.eqvor-news-subtitle {
    font-size: 12px;
    color: #ffffff;
    font-weight: 800;
}

.eqvor-news-meta {
    color: rgba(203, 213, 225, 0.6);
    font-size: 13px;
    margin-left: 8px;
    white-space: nowrap;
}

/* description */
.eqvor-news-desc {
    color: rgba(203, 213, 225, 0.8);
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.66;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* footer links */
.eqvor-news-footer {
    font-size: 12px;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    flex-direction: column;
}

.eqvor-news-category-row span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: grey;
}

.eqvor-news-category-row {
    display: flex;
    position: relative;
    font-size: 12px;
    align-items: center;
    gap: 12px;
}

.eqvor-news-origin {
    font-size: 13px;
    color: rgba(203, 213, 225, 0.7);
}

.eqvor-news-more {
    color: #73AEFF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eqvor-news-footer .news-link-wrapper{
    width: 200px;
}

.eqvor-news-more:hover{
    color: #1570ef;
}
/* smaller screens */
@media (max-width: 760px) {
    .eqvor-news-subtitle{
        margin-bottom: 4px;
    }
    .eqvor-news-item{
       height: 100%;
    }
    .eqvor-news-outer {
        padding: 15px;
        row-gap: 0px;
    }
    .news .eqvor-news-outer {
        padding: 30px 15px;
    }
    .eqvor-news-item {
        flex-direction: column;
    }

    .eqvor-news-logo {
        width: 26px;
        height: 26px;
    }
    .eqvor-news-desc{
        max-height: 100%;
    }
    .eqvor-news-title-row {
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: flex-start;
        margin-bottom: 16px;
        row-gap: 0;
    }

    .eqvor-news-meta {
        margin-left: 0px;
    }

    .eqvor-news-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .eqvor-news-search {
        width: 100%;
        max-width: 100%;
    }

    .eqvor-news-item {
        padding: 14px;
        gap: 12px;
    }

}

