.nano-news-tabs{
    border:2px solid var(--nano-border-color,#1d458f);
    border-radius:4px;
    overflow:hidden;
    background:#fff;
    box-sizing:border-box;
}

.nano-news-tab-menu{
    display:flex;
    margin:0;
    padding:0;
    list-style:none;
    border-bottom:3px solid var(--nano-border-color,#1d458f);
}

.nano-news-tab-menu li{
    flex:1;
    text-align:center;
    padding:12px 10px;
    cursor:pointer;
    background:var(--nano-tab-bg,#eeeeee);
    color:var(--nano-tab-text,#1d458f);
    font-weight:bold;
    border-right:1px solid #ccc;
    box-sizing:border-box;
}

.nano-news-tab-menu li:last-child{
    border-right:none;
}

.nano-news-tab-menu li.active{
    background:var(--nano-tab-active-bg,#1d458f);
    color:#fff;
}

.nano-news-tab-content{
    display:none;
    padding:24px 34px;
}

.nano-news-tab-content.active{
    display:block;
}

.nano-news-tab-content ul{
    list-style:none;
    margin:0;
    padding:0;
}

.nano-news-tab-content li{
    display:flex;
    align-items:center;
    gap:20px;
    padding:13px 0;
    border-bottom:1px dashed #ddd;
}

.nano-news-tab-content li:last-child{
    border-bottom:none;
}

.nano-news-tab-content .date{
    width:150px;
    flex:0 0 150px;
    font-size:var(--nano-date-size,14px);
    color:#555;
    font-weight:normal;
}

.nano-news-tab-content a{
    text-decoration:none;
    color:#1d458f;
    font-size:var(--nano-title-size,16px);
    line-height:1.5;
}

.nano-news-tab-content a:hover{
    text-decoration:underline;
}

.nano-news-empty{
    margin:0;
    padding:20px 0;
}

@media (max-width: 640px){
    .nano-news-tab-menu{
        flex-wrap:wrap;
    }

    .nano-news-tab-menu li{
        flex:1 1 50%;
    }

    .nano-news-tab-content{
        padding:16px;
    }

    .nano-news-tab-content li{
        display:block;
    }

    .nano-news-tab-content .date{
        display:block;
        width:auto;
        margin-bottom:6px;
    }
}
