@charset "utf-8";

/* ===== CSS Variables (inherited from style.css, re-declared for safety) ===== */
:root {
    --primary: #cf181c;
    --primary-dark: #a81014;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f8f8f8;
    --bg-dark: #333;
    --white: #fff;
    --border: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 6px 24px rgba(0,0,0,.12);
    --radius: 8px;
    --transition: .3s ease;
    --font: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== Utility (supplements style.css) ===== */
.hide { display: none; }
.show { display: block; }

/* ===== Breadcrumb & Search (supplement) ===== */
.breadcrumb .current { color: var(--primary); }
.qcwl-search .search-key { padding-right: 10px; }
.qcwl-search .search-key a {
    color: var(--text-muted);
    padding: 0 4px;
    font-size: 12px;
}
.qcwl-search .search-key a:hover { color: var(--primary); }

/* ===== Section Title (inner pages) ===== */
.qcwl-title {
    padding: 12px 0;
    margin-bottom: 20px;
    position: relative;
}
.qcwl-title .title-box {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}
.qcwl-title h3 {
    border-bottom: 2px solid var(--primary);
    font-size: 20px;
    display: inline;
    color: var(--primary);
    padding-bottom: 4px;
}
.qcwl-title h3 a { color: var(--primary); }
.qcwl-title h3 small {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.qcwl-title .more {
    float: right;
    color: var(--text-muted);
    font-size: 13px;
}
.qcwl-title .more:hover { color: var(--primary); }
.qcwl-title .tagcell {
    background: #fff;
    padding: 6px 8px;
    position: absolute;
    right: 0;
    top: 8px;
}
.qcwl-title .tagcell span {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: var(--primary);
    background-image: url(../images/prev-next.png);
    background-position: left center;
    background-repeat: no-repeat;
    margin: 0 3px;
    cursor: pointer;
}
.qcwl-title .tagcell .next { background-position: right center; }

/* ===== Sidebar (supplement - submenu interactions) ===== */
.side-bar-tit i {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 5px;
}

/* dt icon replaced by SVG inline */

.side-bar dl dd {
    position: relative;
}
.side-bar dl dd a {
    display: block;
    height: 36px;
    line-height: 36px;
    background: var(--bg);
    border-top: 1px solid #fff;
    padding: 0 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all var(--transition);
}
.side-bar dl dd i { display: none; }
.side-bar dl .cur a,
.side-bar dl dd:hover a {
    background: var(--primary);
    color: #fff;
    padding-left: 38px;
}
.side-bar dl .cur i,
.side-bar dl dd:hover i {
    display: block;
    transform: scale(1, 0.2);
}

.side-bar dl .tag {
    padding: 12px 10px;
    line-height: 2;
}
.side-bar dl .tag a {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg);
    margin: 0 5px 8px 0;
    border-radius: 3px;
    font-size: 13px;
    transition: all var(--transition);
}
.side-bar dl .tag a:hover {
    background: var(--primary);
    color: #fff;
}

/* Sidebar hot product slider */
.side-bar #qcwl-side-hot {
    background: var(--bg);
    padding: 10px;
}
.side-bar dl ul { padding: 8px; }
.side-bar dl ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.side-bar dl ul li .img {
    width: 100%;
    margin: 0 auto;
    background: var(--border);
}
.side-bar dl ul li .img img {
    width: 100%;
    display: block;
}
.side-bar dl ul li .title-a {
    display: block;
    height: 32px;
    line-height: 32px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-bar #qcwl-side-hot span.prev,
.side-bar #qcwl-side-hot span.next {
    display: inline-block;
    width: 35px;
    height: 20px;
    margin: 0 5px;
    cursor: pointer;
}
.side-bar #qcwl-side-hot span.prev {
    background: url(../images/sidebar_left.png) no-repeat center;
}
.side-bar #qcwl-side-hot span.next {
    background: url(../images/sidebar_right.png) no-repeat center;
}
.side-bar #qcwl-side-hot .hot-btn {
    text-align: center;
    padding: 10px;
}

/* ===== Side Contact (supplement) ===== */
.side-contact-phone {
    transition: background-position var(--transition);
}
.side-contact-phone:hover {
    background-position: 20px 5px;
}

/* ===== Article Content Show (detail pages) ===== */
.content-show {
    border: 16px solid var(--bg);
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
}
.line {
    width: 100%;
    height: 4px;
    background: var(--bg);
}

/* ===== Article Header ===== */
.page-about h3 {
    height: 60px;
    border-bottom: 1px dashed var(--border);
    line-height: 60px;
    color: var(--text);
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
.page-about .news_author {
    width: 100%;
    height: 32px;
    line-height: 32px;
    color: var(--text-light);
    font-size: 13px;
    text-align: center;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 20px;
}
.page-about .news_author .scan {
    color: var(--text-light);
    padding: 5px 0 5px 25px;
}

/* ===== Article Body ===== */
.page-content {
    line-height: 2;
    color: var(--text);
    font-size: 15px;
    overflow: hidden;
}
.page-content a { color: var(--primary); font-weight: bold; }
.page-content img { max-width: 100%; height: auto; border-radius: 4px; }

.txx {
    line-height: 1.9;
    font-size: 15px;
    white-space: normal;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#maximg img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block;
}

/* ===== Generic Image Hover ===== */
.img {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 4px;
}
.img img { transition: transform .5s ease; }
li:hover .img img,
li:hover > .img img { transform: scale(1.05); }

/* ===== News List ===== */
.news-list ul { list-style: none; padding: 0; margin: 0; }
.news-list ul li {
    position: relative;
    display: flex;
    align-items: stretch;
    padding: 18px 20px 18px 0;
    margin-bottom: 14px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.news-list ul li::before {
    z-index: 0;
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(207,24,28,.03) 0%, rgba(255,255,255,0) 60%, transparent);
    opacity: 0;
    transition: opacity .35s ease;
}
.news-list ul li::after {
    z-index: 1;
    content: '';
    position: absolute;
    bottom: 0;
    left: 90px;
    width: calc(100% - 100px);
    height: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: .08;
    transition: height .35s cubic-bezier(.4, 0, .2, 1);
}
.news-list ul li:hover {
    border-color: rgba(207,24,28,.15);
    box-shadow: 0 6px 28px rgba(207,24,28,.09), 0 2px 8px rgba(0,0,0,.05);
    transform: translateY(-2px);
}
.news-list ul li:hover::before { opacity: 1; }
.news-list ul li:hover::after { height: 2px; }

/* --- Date Block --- */
.news-list ul li .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding: 10px 6px;
    background: linear-gradient(145deg, #f9f9fb, #f2f2f5);
    border-radius: 6px 0 0 6px;
    margin-right: 20px;
    border-right: 1px solid #eee;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
	margin-left: 5px;
}
.news-list ul li .date em {
    display: block;
    font-style: normal;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.news-list ul li .date i {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 2px;
}
.news-list ul li:hover .date {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-right-color: var(--primary);
	
}
.news-list ul li:hover .date em,
.news-list ul li:hover .date i {
    color: #fff;
}

/* --- Content Area --- */
.news-list ul li > a {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    color: inherit;
    text-decoration: none;
}
.news-list ul li .txt {
    flex: 1;
    min-width: 0;
}
.news-list ul li .txt h5 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease;
}
.news-list ul li:hover .txt h5 { color: var(--primary); }
.news-list ul li .txt p {
    color: var(--text-light);
    line-height: 22px;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* --- MORE Button --- */
.news-list ul li .more {
    flex-shrink: 0;
    align-self: center;
    padding: 5px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
}
.news-list ul li:hover .more {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 3px 12px rgba(207,24,28,.25);
    transform: translateX(-2px);
}
.news-list ul li .more {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    align-self: center;
    padding: 5px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
}
.news-list ul li:hover .more {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 3px 12px rgba(207,24,28,.25);
    transform: translateX(-2px);
}

/* ===== Pagination ===== */
.pages {
    margin: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pages a, .pages span {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--transition);
}
.pages a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pages .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

#pagelist {
    line-height: 30px;
    color: var(--text-light);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
#pagelist a {
    min-width: 30px;
    text-align: center;
    border: 1px solid #bfbfc7;
    background: #fff;
    height: 30px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 30px;
    border-radius: 4px;
    padding: 0 6px;
    transition: all var(--transition);
}
#pagelist a.next, #pagelist a.prev { min-width: 45px; }
#pagelist a.curr {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
#pagelist a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
#pagelist span {
    line-height: 30px;
    font-size: 13px;
    margin-left: 6px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px 0;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    font-size: 14px;
	margin: 0 2px;
}
.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 24, 28, .3);
}
.pagination .fcur {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: bold;
}

/* ===== Prev/Next Navigation ===== */
.adjacent { margin-top: 25px; }
.adjacent ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.adjacent ul li {
    flex: 1;
    min-width: 280px;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid var(--border);
    background: #fafafa;
    height: 34px;
    line-height: 34px;
    border-radius: 4px;
    font-size: 14px;
}
.adjacent ul li a {
    color: var(--text);
    font-size: 14px;
}
.adjacent ul li a:hover { color: var(--primary); }

/* ===== Related Articles ===== */
.relevant {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 25px;
    overflow: hidden;
}
.relevant .title {
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid var(--border);
    padding: 0 15px;
    background: var(--bg);
}
.relevant .title h3 {
    display: inline;
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}
.relevant .title .tag {
    display: inline;
    color: var(--text-light);
}
.relevant .title .tag a {
    margin-right: 10px;
    color: var(--text-light);
}
.relevant .title .back {
    float: right;
    color: var(--primary);
    padding-right: 18px;
}
.relevant .content { padding: 15px 20px; }
.relevant .content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 30px;
}
.relevant .content ul li {
    height: 36px;
    line-height: 36px;
    padding-left: 16px;
    position: relative;
    transition: transform var(--transition);
}
.relevant .content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}
.relevant .content ul li:hover { transform: translateX(6px); }
.relevant .content ul li a {
    color: var(--text-light);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.relevant .content ul li:hover a { color: var(--primary); }

/* ===== Image Gallery Grid (cp.htm) ===== */
.tupianli { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tupianli li {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    background: #fff;
}
.tupianli li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.tupianli li img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.tupianli li p {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: var(--text);
}

/* ===== Responsive ===== */
@media screen and (max-width: 1100px) {
    .side-bar { width: 240px; }
    .qcwl-main { width: calc(100% - 260px); }
    .tupianli { grid-template-columns: repeat(2, 1fr); }
    .ys_features { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .side-bar, .qcwl-main { width: 100% !important; float: none !important; }
    .side-bar { margin-bottom: 20px; }
    .adjacent ul { flex-direction: column; gap: 10px; }
    .relevant .content ul { grid-template-columns: 1fr; }
    .tupianli { grid-template-columns: 1fr; }
    .contact .container { flex-direction: column; }
    .ys_features { grid-template-columns: 1fr; }
    .ys::before { font-size: 50px; letter-spacing: 4px; }
    .ys_form form { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 15px; }
    .ys_fi input[type="text"] { width: 100%; flex: 1; min-width: auto; }
    .ds_button { width: 100%; text-align: center; }
}

