/* General Styles */
body {
    margin: 0;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "-apple-system", BlinkMacSystemFont, sans-serif;
    color: #000; /* Text color */
}

a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
}
a:hover {
    text-decoration: underline;
}

/* Header */
.container_header {
    max-width: 1100px;
    margin: 0 auto;
}

.header {
    display: flex;
    align-items: center;
}

.header .logo {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
}
.title-wrapper {
            margin-left: 0px; /* Logo 和标题之间的间距 */
            display: flex;
            flex-direction: column; /* 垂直排列 */
        }
.main-title {
            font-size: 18px;
            font-weight: bold;
        }

        .subtitle {
            font-size: 14px;
            color: #666;
            margin-top: 0px; /* 小标题与大标题的间距 */
        }


.header .logo img {
    margin-right: 8px;
    height: 100px;
}

.header .user-area {
    display: flex;
    align-items: center;
}

.header .user-area img {
    width: 24px;
    height: 240px;
    border-radius: 50%;
    margin-right: 8px;
}

.header .user-area span {
    font-size: 14px;
    margin-right: 10px;
}

.header .user-area a {
    font-size: 12px;
    color: #d70015;
    text-decoration: none;
}

.header .user-area a:hover {
    text-decoration: underline;
}
.subtitle {

            font-size: 14px;
            color: #666;

}

/* Navigation */
.nav-wrapper {
    border-bottom: 1px solid #ddd;
    background-color:  #0a385b;
    width: 100%;
}

.nav-container {
    background-color:  #0a385b;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.nav li {
    flex: 0 0 auto;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

.nav a {
    
    color: #ffffff;
    font-size: 18px;
    display: block;
    white-space: nowrap;
}

.nav a:hover {
    text-decoration: underline;
    color: #0064c8;
}

.menu-icon {
            width: 22px;
            height: 22px;
            margin-right: 4px;
            vertical-align: middle;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-wrap: nowrap;
    }

    .nav li {
        flex: 1 1 25%;
        margin: 0;
        text-align: center;
    }

    .nav a {
        font-size: 15px;
        padding: 10px;
    }
}

/* Table Styles */
table {
    width: 100%;
    margin: 5px auto;
    border-collapse: collapse;
    font-size: 16px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
    border: 1px 0 solid #ddd;
    padding: 10px;
    font-weight: bold;
}

td {
    border: 1px 0 solid #ddd;
    padding: 8px;
}

tr:nth-child(odd) {
    background-color: #f9f9f9;
}

tr:nth-child(even) {
    background-color: #ffffff;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Detail Layout */
.container_detail {
    display: flex;
    max-width: 1100px;
    margin: auto;
    gap: 10px;
}

.left {
    width: 720px;
    padding: 5px;
    box-sizing: border-box;
}

.right {
    width: 380px;
    padding: 5px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container_detail {
        flex-direction: column;
    }

    .left, .right {
        width: 100%;
    }
}

/* Search Form */
.form-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}
.form-quote {
    max-width: 1100px;
    margin: 5px auto;
    display: flex;
    gap: 10px;
     padding: 10px;
}
.form-container input {
    max-width: 200px;
    flex: 1;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #666;
}

.form-container button {
    padding: 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f7f7f7;
    color: #333;
    border: 1px solid #666;
    width: 100%;
    max-width: 300px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
}

/* Pagination */
.pagination1 {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination1 a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #0073aa;
    color: #0073aa;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination1 a:hover {
    background-color: #0073aa;
    color: white;
}

.pagination1 strong {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    color: #fff;
    background-color: #333;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination2 strong {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    color: #000;
    background-color: #fff;
    border-radius: 5px;
}

/* Articles */
.articles-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
}

.article {
    margin-bottom: 5px;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.article:last-child {
    border-bottom: none;
}

.article1 {
    padding: 5px;
}

h4 {
    color: #007BFF;
    margin: 0 0 5px;
}

.content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.date {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

/* Type Section */
.type {
    max-width: 1100px;
    margin: auto;
    padding: 5px;
}

/* Flex Layout */
.container_1 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.left_1 {
    width: 40%;
    display: flex;
    justify-content: left;
    padding: 20px;
    box-sizing: border-box;
}

.right_1 {
    width: 60%;
    display: flex;
    justify-content: right;
    padding: 20px;
    box-sizing: border-box;
}


         .articles-container-yx {
            width: 100%;
            
        }

        .article1-yx {
            display: flex;
            align-items: flex-start;
            border-bottom: 1px solid #ddd;
            margin-bottom: 5px; /* 减少行距 */

}

        .thumbnail-s {
            width: 100px; /* 设置缩略图的宽度 */
            height: 100px; /* 设置缩略图的高度，使其成为正方形 */
            overflow: hidden;
            margin-right: 5px; /* 减少图片和内容的距离 */
        }

        .thumbnail-s img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 确保图片填充整个正方形区域 */
            border-radius: 0; /* 去掉圆角 */
        }

        .content-yx {
            flex: 1;
        }

        .content-yx strong a {
            text-decoration: none;
            color:#333;
        }
.content-yx strong a:hover {
            text-decoration: underline;
            color:#2086EF;
        }
        .content-yx .date {
            color: #666;
            font-size: 0.9em;
            margin-top: 5px;
        }

        .more-link {
            text-align: right;
            padding-top: 5px;
        }

        .more-link a {
            text-decoration: none;
            color: #3f4be7; /* 链接颜色 */
        }

        .more-link a:hover {
            text-decoration: underline; /* 鼠标悬停时显示下划线 */
        }

.icon {
    display: flex; /* 启用 Flexbox */
    align-items: center; /* 垂直居中对齐 */
    gap: 5px; /* 图标和文本之间的间距 */
    border-bottom: 2px solid #333;
    padding-bottom: 5px; /* 减少文章底部间距 */
    margin: 5px 0;
}
.more {
    display: flex; /* 启用 Flexbox */
    align-items: center; /* 垂直居中对齐 */
    justify-content: flex-end; /* 将内容对齐到右侧 */
    gap: 0px; /* 图标和文本之间的间距 */
    color:#2086EF;
    margin: 5px;
}
.stock {
    display: inline; 
    vertical-align: middle;
}