.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;
    --container-border: 1px solid #e5e5e5;
    --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: 950px;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding: 5px;
    border: var(--container-border);
    border-radius: 10px;
}

.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.3rem;
}
.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: 0.75em;
    color: #0f62fe;
}


.news-category {
    flex: 1;
    overflow: hidden;
}
.news-category-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    padding: calc(var(--gap) + 6px) 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: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: bold;
    margin-top: 10px;
}
.news-menu-item-content:hover{color: var(--line-color);}
.news-menu-item-content.selected {
    color: #1f8ceb;
    font-weight: bold;

}
.news-menu-item-content[aria-expanded="true"] {

            border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.news-menu-item-content.selected:hover {
   color: #1f8ceb;

}
.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-child-list  .news-menu-item-title::before{content:'';display:inline-block;width:15px;height:12px;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='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.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; opacity: 0.5;}



.news-menu-child-list  .news-menu-item-content{
font-weight:normal;
background: #ffffffa1;
border-radius: 0px;
margin-top: 0px;
}




.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: 750px;
    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 {
    max-width: 100%;
    border-radius: 5px;
}

.news-detail-content a{
    text-decoration: underline;
    color: #0f62fe;
}
.news-detail-content a:hover{
    color: #da0707;
}
.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-content .h1, .news-detail-content .h2, .news-detail-content .h3, .news-detail-content h1, .news-detail-content h2, .news-detail-content h3 {
    margin: 0;
    padding: 15px 0;
}
.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;
}






.news-search{display:flex;align-items:center;gap:12px;padding:10px 20px;background:#ffffff;border-bottom: 1px solid #e5e5e5;transition: border-bottom 0.2s ease;}
.news-search:focus-within {border-color: #1f8ceb;}
.news-search input{flex:1;border:none;outline:none;color:#333;background:transparent;font-size: 16px;min-width:0;}
.news-search .btn{background: #1f8ceb;border:none;padding: 14px;color:#ffffff;cursor:pointer;min-width: 132px;}


/* MOBILE  */
@media (max-width: 768px) {
.news-list-item-image {
    width: 40%;
}
.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;
position: relative;
}
.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 {position: absolute;top: 50%;left: 1rem;transform: translateY(-50%);font-size: 1.5rem;color: #fff;}
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;
    padding: 5px;
    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: 100%;
    padding: 10px;
    gap: 16px;
    box-sizing: border-box;
}
.news-list-item-content {
    flex: 1;
    gap: 0;
    line-height: 22px;
    font-size: .8rem;
    overflow: hidden;
}
.news-list-item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.position-fixed{padding:0px;}
.news-detail {
    display: block;
}

.news-detail-title {
    font-size: 1.4rem;
    line-height: 1.2;
}
.news-detail-content {
    line-height: 1.4;
}
.news-detail-content h2, .news-detail-content h3, .news-detail-content h4 {
    font-size: 1.1rem;
}
.news-detail-content .h1, .news-detail-content .h2, .news-detail-content .h3, .news-detail-content h1, .news-detail-content h2, .news-detail-content h3 {
    padding: 6px 0;
}
}



/*  FAQ */
.faq-wrapper{
background-color: #fff;
padding: 20px;
border-radius: 8px;
margin-top: 15px;
}
.faq-wrapper .news-list-title{
     font-size: 18px;
     font-weight: bold;
     margin-bottom: 10px;
     position: relative;
     margin-top: 30px;
}
.faq-wrapper .news-list-title:first-child{margin-top: 0px;}
.faq-wrapper .news-list-title::before{
    content: '';
    display: inline-block;
    width: 4px;
    height: 12px;

    border-radius: 3px;
    position: absolute;
    left: -20px;
    top: 3px;

}
.faq-wrapper .news-list-item {
    position: relative;
    cursor: pointer;
    padding: 0px;
    background: transparent;
}
.faq-wrapper .news-list-item-desc p{padding-bottom: 12px;}
.faq-wrapper .news-list-item-desc p:last-child{padding-bottom: 0px;}
.faq-wrapper .news-list-item:hover span{color:#f60}
.faq-wrapper .news-list-item-title::before,
.faq-wrapper .news-list-item-desc::before {
    content: 'Q';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #8ca3ff;
    border-radius: 2px;
    COLOR: #fff;
    font-size: 14px;
    text-align: center;
        position: absolute;
        left:0px;
}
.faq-wrapper .news-list-item-desc::before{
    content: 'A';
    background-color: #ff8c7d;
    left: 30px;
}
.faq-wrapper  .news-list-item-content{margin-left:15px}

.faq-wrapper  .news-list-item-desc {
    font-size:1.2rem;
    display: none;
    background: #fff2f0;
    padding: 12px;
    border-radius: 8px;
    padding-left: 44px;
    color: #9e4141;
}

.faq-wrapper .news-list-item-title {
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    padding: 12px;
}

html{scroll-behavior: smooth}
.pager_main{display: flex;
    justify-content: space-between;
    align-items: center; }

@media (max-width: 768px) {
.faq-wrapper{margin-top: 0px;padding: 0px;}
.faq-wrapper .news-list-title::before{top:10px}
.faq-wrapper .news-list-item-title::before, .faq-wrapper .news-list-item-desc::before{
    width: 22px;
    height: 22px;
}
.news-category-list {
    height: 95vh;
    overflow: auto;
}
.news-search-icon svg{color:#fff}
.news-search {
    border-radius: 0;
    position: fixed;
    width: 100%;z-index: 1;
    border-bottom: 2px solid #ddd;
    margin-bottom: 23px;
     padding: 0;
     display: none;
}
.news-search.show{
    display: flex;
}

.news-list-item {
    padding: 12px;

}
.news-search input{font-size: 1rem;}
.news-search svg{padding-left:12px}
.news-search .btn { margin: 10px 10px 10px 0;padding: 2px;font-size: .875rem;min-width: 80px;}

.news-search-icon{position: absolute;top: 10px;right: 20px;}
.search-clear{padding:2px 4px;display: none;}
.search-clear.show{
    display: block;
 }
 .showtop{padding-top: 60px;}

.user-title i {top:5px}
}

