/* CSS Document - �ִ���Ӧʽ��� */
:root {
    --primary-color: #063F86;
    --secondary-color: #1a5fb4;
    --accent-color: #ff6b35;
    --text-color: #333333;
    --light-gray: #f5f7fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    background: var(--light-gray);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: var(--white);
}

.main-content {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.left-col {
    flex: 1;
    min-width: 300px;
}

.center-col {
    flex: 1;
    min-width: 300px;
}

.right-col {
    flex: 0 0 300px;
}

.news-box,
.section-box,
.video-box {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.news-box:hover,
.section-box:hover {
    box-shadow: var(--shadow-hover);
}

.box-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.box-title a {
    color: var(--white);
}

.box-title a:hover {
    color: var(--white);
    opacity: 0.9;
}

.news-list {
    padding: 15px;
}

.news-list .news-item {
    padding: 12px 0;
}

.intro-content {
    padding: 15px;
    line-height: 2;
    text-indent: 2em;
    height: 426px;
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    padding-left: 10px;
}

.news-item .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.news-item a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item .date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 10px;
}

.video-box {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.section-row.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.product-section {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 20px 0;
    overflow: hidden;
}

.product-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
}

.product-title a {
    color: var(--white);
}

.product-scroll {
    padding: 20px;
}

#demo {
    background: var(--white);
    overflow: hidden;
    width: 100%;
}

#demo img {
    border: 3px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

#demo img:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

#indemo {
    float: left;
    width: 800%;
}

#demo1,
#demo2 {
    float: left;
}

.product-item {
    width: 200px;
    float: left;
    text-align: center;
    padding: 10px;
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-img {
    padding: 5px;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 10px;
    width: 180px;
    margin: 0 auto 10px;
}

.product-img img {
    width: 100%;
}

.product-name {
    font-size: 14px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-list {
    height: 1%;
    border-spacing: 10px;
}

.pp-list li {
    border: 1px solid var(--border-color);
    width: 130px;
    height: 110px;
    text-align: center;
    vertical-align: middle;
    margin: 10px;
    border-radius: 4px;
}

#MM1,
#MM2,
#MM3 {
    width: 120px;
}

.ii {
    display: none;
    background: var(--white);
    cursor: pointer;
    position: absolute;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-radius: 4px;
    overflow: hidden;
}

.ii li {
    padding: 0;
    border-top: 1px solid var(--border-color);
    margin: 0;
    line-height: 40px;
    list-style-type: none;
    height: 40px;
    transition: var(--transition);
}

.ii li:hover {
    background: var(--light-gray);
}

.ii li a {
    display: block;
    padding: 0 15px;
}

.i2 {
    width: 85px;
    height: 21px;
    float: left;
    padding-top: 10px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.f14 {
    font-size: 14px;
}

.f9 {
    font-size: 12px;
}

.white {
    font: bold 14px "Microsoft YaHei", Arial;
    color: var(--white);
    text-decoration: none;
    margin-top: 4px;
    margin-left: 10px;
    margin-bottom: 2px;
    margin-right: 10px;
}

.white a {
    font: bold 14px "Microsoft YaHei", Arial;
    color: var(--white);
    text-decoration: none;
    margin-top: 4px;
    margin-left: 10px;
    margin-bottom: 2px;
    margin-right: 10px;
}

.white a:link {
    font: bold 14px "Microsoft YaHei", Arial;
    color: var(--white);
    text-decoration: none;
}

.white a:hover {
    color: var(--accent-color);
    font: bold 14px "Microsoft YaHei", Arial;
    text-decoration: none;
}

.white a:visited {
    color: var(--white);
}

.lankuang {
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.tip {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.tip a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.tip:link {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.tip:visited {
    font-size: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.tip:hover {
    font-size: 12px;
    color: var(--white);
    text-decoration: underline;
    font-weight: bold;
}

table {
    font-size: 14px;
    line-height: 1.6;
    word-break: break-all;
}

select,
input {
    font-size: 14px;
    line-height: 1.6;
}

ul {
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    list-style: none;
}

li {
    font-size: 14px;
    line-height: 1.6;
}

form {
    padding: 0;
    margin: 0;
}

@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .left-col,
    .center-col,
    .right-col {
        width: 100%;
        flex: none;
    }
    
    .section-row {
        grid-template-columns: 1fr;
    }
    
    .section-row.three-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-row {
        grid-template-columns: 1fr;
    }
    
    .section-row.three-col {
        grid-template-columns: 1fr;
    }
    
    .product-item {
        width: 140px;
    }
}

/* ��ҵ����ҳ����ʽ */
.qualification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.qualification-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.qualification-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ͨ���������� */
.content-area {
    padding: 20px;
    line-height: 1.6;
}
