/* ==========================================================================
   SKYSTONE WIDGET - NEWS V11
   Layout compacto inspirado na referência:
   CATEGORIA | TÍTULO | DATA
   ========================================================================== */

body.template-skystone .sky-news {
    width: 100%;
    margin: 0;
    padding: 0;

    border: 1px solid #d6e6ea;
    background: rgba(255, 255, 255, .97);
}

body.template-skystone .sky-news__header {
    height: 44px;

    padding: 0 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #dce8eb;
    background: #f9fcfd;
}

body.template-skystone .sky-news__header h2 {
    margin: 0;

    color: #075f78;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;
}

body.template-skystone .sky-news__more {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d9e9ed;

    color: #315d69;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
}

body.template-skystone .sky-news__more:hover {
    background: #c9e1e6;
}

body.template-skystone .sky-news__list {
    width: 100%;
}

body.template-skystone .sky-news-row {
    width: 100%;
    min-height: 31px;

    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 70px;
    gap: 6px;
    align-items: center;

    padding: 5px 9px;

    border-bottom: 1px solid #e0eaed;

    color: inherit;
    text-decoration: none;
}

body.template-skystone .sky-news-row:last-child {
    border-bottom: 0;
}

body.template-skystone .sky-news-row__category {
    justify-self: start;

    min-width: 52px;
    max-width: 74px;

    padding: 4px 6px;

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

    background: var(--news-category-color);

    color: #fff;

    font-size: 6px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

body.template-skystone .sky-news-row__title {
    min-width: 0;

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

    color: #0775a6;

    font-size: 8px;
    font-weight: 500;
    line-height: 1.15;
}

body.template-skystone .sky-news-row__date {
    justify-self: end;

    color: #365d68;

    font-size: 7px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
}

body.template-skystone .sky-news-row:hover {
    background: #f5fbfc;
}

body.template-skystone .sky-news-row:hover .sky-news-row__title {
    color: #045d80;
}

body.template-skystone .sky-news__empty {
    padding: 18px 10px;

    color: #7999a4;

    font-size: 8px;
    text-align: center;
}
