@import url("../../../assets/css/dev-skins.css");

.dev-theme-latest {
    margin: 26px 0 38px;
    border-top: 3px solid #101418;
    border-bottom: 1px solid #cbd5e1;
    background: #fff;
}

.dev-theme-latest__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 16px;
    border-bottom: 1px solid #d8dee8;
}

.dev-theme-latest__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.dev-theme-latest__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(16, 20, 24, 0.14);
    color: #101418;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.dev-theme-latest__more:hover,
.dev-theme-latest__more:focus {
    border-color: #0f766e;
    color: #0f766e;
}

.dev-theme-latest__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dev-theme-latest__list li {
    min-width: 0;
    border-bottom: 1px solid #edf1f6;
}

.dev-theme-latest__list li:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.dev-theme-latest__list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: start;
    min-height: 88px;
    padding: 16px 0;
    color: #101418;
    text-decoration: none;
}

.dev-theme-latest__list a:hover strong,
.dev-theme-latest__list a:focus strong {
    color: #0f766e;
    text-decoration: underline;
}

.dev-theme-latest__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #eab308;
    color: #8a5d00;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.dev-theme-latest__copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.dev-theme-latest__copy em,
.dev-theme-latest__copy span {
    min-width: 0;
    color: #667085;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.dev-theme-latest__copy strong {
    min-width: 0;
    color: #101418;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.dev-theme-latest__empty {
    display: grid;
    gap: 6px;
    padding: 34px 0;
    color: #667085;
    border-top: 1px solid #edf1f6;
}

.dev-theme-latest__empty strong {
    color: #101418;
    font-size: 16px;
    font-weight: 900;
}

.dev-theme-latest__empty span {
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .dev-theme-latest {
        margin: 20px 0 30px;
    }

    .dev-theme-latest__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dev-theme-latest__actions {
        width: 100%;
        justify-content: space-between;
    }

    .dev-theme-latest__list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dev-theme-latest__list li:nth-last-child(-n + 2) {
        border-bottom: 1px solid #edf1f6;
    }

    .dev-theme-latest__list li:last-child {
        border-bottom: 0;
    }
}
