.newsbox6 {
    padding: 20px 15px;
}

.newsbox6-iner {
    border: 1px solid #F6A914;
    padding: 15px;
    position: relative;
}


.newsbox6-iner .stitle {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    justify-content: center;
    z-index: 1;

}

.newsbox6-iner .tab-content .fade {
    max-height: 740px;
    overflow-y: auto;
}

.newsbox6-iner .tab_nav {
    width: 100%;
    align-items: center;
}

.newsbox6-iner .tab_nav p {
    margin: 0;
    color: #000;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
    padding: 0 5px;
    border-bottom: 2px solid #f6ab1484;
    flex-grow: 1;
    text-align: center;
}

.newsbox6-iner .tab_nav p.active {
    color: #ED1C24;
    border-bottom: 8px solid #f6ab14;
}

.newsbox6-iner .stitle a {
    color: #00A651;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    text-transform: capitalize;
}

.newsbox6-iner .lsmall-item {
    padding: 10px 0;
}

.newsbox6-iner .lsmall-item .number span {
    width: 42px;
    height: 42px;
    background: #D9D9D9;
    border-radius: 50%;
    display: block;
    line-height: 42px;
    color: #000;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
}

.newsbox6-iner .lsmall-item:last-child {
    border: none;
}

.newsbox6-iner .lsmall-item h3 {
    color: #000;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
    min-height: 50px;
}

.ajkersobkhobor {
    border-radius: 5px;
    border: 1px solid #3080DE;
    background: rgba(48, 128, 222, 0.16);
    color: #3080DE;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    display: block;
    text-align: center;
    line-height: 50px;
}

/* --- Box 6: Dark Mode Styles --- */
body.dark-mode .newsbox6-iner,
html.dark-mode .newsbox6-iner {
    background: #181d24 !important;
    border-color: #f6ab14 !important;
}

body.dark-mode .newsbox6-iner .tab_nav p,
html.dark-mode .newsbox6-iner .tab_nav p {
    color: #cbd5e1 !important;
    border-bottom-color: rgba(246, 171, 20, 0.4) !important;
}

body.dark-mode .newsbox6-iner .tab_nav p.active,
html.dark-mode .newsbox6-iner .tab_nav p.active {
    color: #ff4d4f !important;
    border-bottom-color: #f6ab14 !important;
}

body.dark-mode .newsbox6-iner .lsmall-item .number span,
html.dark-mode .newsbox6-iner .lsmall-item .number span {
    background: #2d3748 !important;
    color: #f3f4f6 !important;
}

body.dark-mode .newsbox6-iner .lsmall-item h3,
body.dark-mode .newsbox6-iner .lsmall-item h3 a,
html.dark-mode .newsbox6-iner .lsmall-item h3,
html.dark-mode .newsbox6-iner .lsmall-item h3 a {
    color: #f3f4f6 !important;
}

body.dark-mode .newsbox6-iner .lsmall-item h3 a:hover,
html.dark-mode .newsbox6-iner .lsmall-item h3 a:hover {
    color: #DF2027 !important;
}

body.dark-mode .ajkersobkhobor,
html.dark-mode .ajkersobkhobor {
    background: rgba(48, 128, 222, 0.25) !important;
    border-color: #3b82f6 !important;
    color: #60a5fa !important;
}