.news-clear-a-tag,
.news-clear-a-tag:hover,
.news-clear-a-tag:focus,
.news-clear-a-tag:active {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.news-container {
    --gap: 15px;
    --line-color: #1f8ceb;
    min-height: 600px;
  
}
.news-navbar, .news-content, .news-index {
    width: 100%;
}
.news-content {
    padding: var(--gap);
}
.news-navbar .breadcrumb {
    background-color: transparent;
    height: auto;
}
.news-index {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--gap);
}

.news-list {
    width: 830px;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.news-list-item-link {
    display: block;
}
.news-list-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    background-color: #fff;
    border-radius: 10px;
    padding: var(--gap);
}
.news-list-item:hover .news-list-item-image-container > img {
    transform: scale(1.1);
}
.news-list-item-image {
    width: 250px;
}
.news-list-item-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.news-list-item-image-container > img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-list-item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    color: #333;
    font-size: 1.1rem;
}
.news-list-item-title {
    font-size: 1.25em;
    font-weight: bold;
}
.news-list-item-tip {
    font-size: 0.75em;
    color: #666;
}
.news-list-item-desc {
    font-size: 0.875em;
}
.news-list-item-view-more {
    font-size: .75em;
    color: #0f62fe;
}


.news-category {
    flex: 1;
    overflow: hidden;
}
.news-category-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    padding: var(--gap) 0;
    border-bottom: 1px solid var(--line-color);
}
.news-category-list {
    padding-top: 8px;
}

/* menu */
.news-menu-item-content {
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: calc(var(--gap) / 2) var(--gap);
    font-size: 14px;
    color: #333;
    background-color: transparent;
    border-radius: 5px;
    overflow: hidden;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.news-menu-item-content.selected {
    background-color: #1f8cebbf;
    color: #fff;
}
.news-menu-item-content:hover {
    background-color: var(--line-color);
    color: #fff;
}
.news-menu-item-title {
    display: inline-block;
    flex: 1;
    line-height: 2;
    white-space: nowrap;
    color: inherit;
    font-size: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-menu-item-title {
    padding-left: calc(.5em * var(--index));
}
.news-menu-item-arrow {
    color: inherit;
    font-size: inherit;
    transform: rotate(0deg);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.news-menu-item-content[aria-expanded="true"] .news-menu-item-arrow {
    transform: rotate(180deg);
}
.news-menu-item-arrow:hover {
    opacity: 0.5;
}

/* detail */
.news-detail {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: var(--gap);
}
.news-paragraph, .news-detail-recommend {
    position: sticky;
    top: 10px;
}

.news-detail-main {
    width: 680px;
    padding: var(--gap) 0;
    font-size: 14px;
}
.news-detail-title {
    font-size: 2rem;
    color: #000;
    font-weight: bold;
    line-height: 3rem;
    margin-bottom: 1rem;
}
.news-detail-info {
    color: #666;

}
.news-detail-content {
    color: #333;
    overflow: hidden;
    line-height: 26px;
}
.news-detail-content img {
    border-radius: 5px;
}

.news-detail-content p{padding-bottom: 12px;}
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4{
  padding-top: 1rem;
    font-weight: bold;
    font-size: 1.4rem;
    padding-bottom: 0.8rem;
}
.news-detail-recommend {
    --recommend-gap: 15px;
    flex: 1;
    overflow: hidden;
}
.news-detail-products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: var(--gap);
    background-color: #fff;
    border-radius: 5px;
}
.news-detail-products-title {
    width: 100%;
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    padding: 10px 0 10px calc(var(--recommend-gap) / 2);
}

.news-detail-product-item {
    cursor: pointer;
    width: 50%;
    padding: calc(var(--recommend-gap) / 2);
    color: #333;
    border-radius: 5px;
    transition: color 0.2s ease;
}
.news-detail-product-item:hover {
    color: #0f62fe;
}
.news-detail-product-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.news-detail-product-img img {
    width: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 0.5s ease;
}
.news-detail-product-item:hover .news-detail-product-img img {
    transform: scale(1.2);
}
.news-detail-product-title {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}

.news-detail-other-news {
    display: flex;
    flex-direction: column;
    margin-top: calc(var(--gap) * 2);
}
.news-detail-other-news-title {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.news-detail-other-news-title .other-news-title {
    flex: 1;
}
.news-detail-other-news-title .common-more {
    cursor: pointer;
    color: #0f62fe;
    transition: opacity 0.2s ease;
}
.news-detail-other-news-title .common-more a {
    color: inherit;
}
.news-detail-other-news-title .common-more:hover {
    opacity: 0.6;
}
.news-detail-other-news-item {
    cursor: pointer;
    padding: calc(var(--recommend-gap) / 2) 5px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid var(--line-color);
    transition: opacity 0.2s ease;
}
.news-detail-other-news-item:hover {
    opacity: 0.8;
}



/* MOBILE  */
@media (max-width: 768px) { 
.news-list-item-image {
width: 200px;
}    
.pagination{display: flex;
justify-content: center;
}
.pagination li{
    padding: 0 12px; border-radius: 6px
}
.pagination li a{
    color: #208ceb;
   
}
.pagination li.active{
background: #d7ecff;
}
.news-detail-main{width: auto;padding: 10px;}

section.user-title{
display: flex;
justify-content: center;
align-items: center;
height: 50px;
}
.news-menu {
width: 77px;
        margin-top: 0;
        position: absolute;
        right: 0;
        top: 0px;
        background: url(../../../../wap/images/wap_ico.png) no-repeat center center;
        background-position: 4px 1px;
        background-size: 232px;
}
section.user-title a.close-img-shade{height: 60px;}
.close-img-shade {
        right: 6px;
        top: 0px;
        width: 65px;
        cursor: pointer;
        background: transparent;
        position: fixed;
        z-index: 9999;
        height: 62px;
}

.close-img-shade::before,
.close-img-shade::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 37px;
    top: 31px;
    left: 11px;
    background-color: #0d0d0d;
}

.close-img-shade::before {
    transform: rotate(45deg);
}

.close-img-shade::after {
    transform: rotate(-45deg);
}

.news-category {
    position: fixed;
    background: #fffffff5;
    top: 0px;
    left: 0;
    height: 100vh;
    overflow: auto;
    padding: 16px;
    width: 40%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}
.news-category.active {
    transform: translateX(0);
}
.news-menu-item-content:hover{color: #000;}
.news-menu-item-title{padding: 4px 10px}
.news-menu-item-arrow{
     content:'';display:inline-block;width:20px;height:20px;margin-right:8px;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); background-repeat:no-repeat;background-position:center;background-size:contain;vertical-align:middle;transition:transform 0.3s ease
}

.news-list {
    width: auto;
    padding: 20px;
    gap: 16px;
}
.news-list-item-content {
    gap: 0;
    line-height: 22px;
}
.position-fixed{padding:0px;}
.news-detail {
    display: block;}
}