/* 搜索容器样式 */
.hrj-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* 左侧：当前导航样式 */
.hrj-search-nav {
    display: flex;
    align-items: center;
    flex: 1;
    font-size: 14px;
    color: #666;
}

.hrj-search-nav-label {
    color: #333;
    margin-right: 5px;
}

.hrj-search-nav-link {
    color: #666;
    text-decoration: none;
    margin-right: 5px;
}

.hrj-search-nav-link:hover {
    color: #e05b3d;
    text-decoration: underline;
}

.hrj-search-nav-separator {
    color: #999;
    margin: 0 8px;
}

.hrj-search-nav-current {
    color: #333;
}

/* 右侧：搜索框样式 */
.hrj-search-box {
    flex-shrink: 0;
    margin-left: 20px;
}

.hrj-search-form {
    display: flex;
    align-items: center;
}

/* 搜索输入框样式 */
.hrj-search-input {
    width: 300px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #e05b3d;
    border-right: none;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.hrj-search-input:focus {
    border-color: #e05b3d;
    background-color: #fff;
}

.hrj-search-input::placeholder {
    color: #999;
}

/* 搜索按钮样式 */
.hrj-search-btn {
    width: 100px;
    height: 40px;
    background-color: #e05b3d;
    color: #fff;
    border: 1px solid #e05b3d;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.hrj-search-btn:hover {
    background-color: #e05b3d;
    border-color: #e05b3d;
}

.hrj-search-btn:active {
    background-color: #e05b3d;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .hrj-search-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hrj-search-nav {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hrj-search-box {
        width: 100%;
        margin-left: 0;
    }
    
    .hrj-search-form {
        width: 100%;
    }
    
    .hrj-search-input {
        flex: 1;
        width: auto;
    }
    
    .hrj-search-btn {
        flex-shrink: 0;
    }
}

/* 内容区域左右布局 */
.hrj-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    gap: 20px;
}

/* 左侧：版块区域 */
.hrj-content-left {
    flex: 1;
    background-color: #fff;
    border-radius: 4px;
}

.hrj-category-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 版块块样式 */
.hrj-category-block {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.hrj-category-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 版块头部 */
.hrj-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hrj-category-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
}

.hrj-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hrj-category-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.hrj-category-title a {
    text-decoration: none;
}

.hrj-category-title a:hover {
    text-decoration: underline;
}

/* 版块链接区域 */
.hrj-category-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 15px;
}

.hrj-category-link {
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s;
}

.hrj-category-link:hover {
    text-decoration: underline;
}

/* 右侧：发布信息和最新信息 */
.hrj-content-right {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 联系电话 */
.hrj-contact-section {
    color: #666;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
}
.hrj-contact-section span {
    color: #e05b3d;
    font-weight: bold;
}
/* 发布信息按钮区域 */
.hrj-post-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

a.hrj-post-btn-primary {
    display: block;
    flex: 1;
    padding: 12px 10px;
    background-color: #e05b3d;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.hrj-post-btn-primary:hover {
    background-color: #e05b3d;
    color: #fff;
    text-decoration: none;
}

.hrj-post-btn-secondary {
    display: block;
    flex: 1;
    padding: 12px 10px;
    background-color: #f5f5f5;
    color: #666;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.hrj-post-btn-secondary:hover {
    background-color: #e8e8e8;
    color: #666;
    text-decoration: none;
}

/* 最新信息区域 */
.hrj-latest-section {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px;
}

.hrj-latest-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.hrj-latest-title-bar {
    width: 4px;
    height: 18px;
    background-color: #e05b3d;
    margin-right: 8px;
    flex-shrink: 0;
}

.hrj-latest-title {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.hrj-latest-more {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.hrj-latest-more:hover {
    color: #e05b3d;
    text-decoration: underline;
}

/* 最新信息列表 */
.hrj-latest-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hrj-latest-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.hrj-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hrj-latest-item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hrj-latest-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hrj-latest-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hrj-latest-item-title {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hrj-latest-item-title:hover {
    color: #e05b3d;
    text-decoration: underline;
}

.hrj-latest-item-tag {
    font-size: 12px;
    color: #42b712;
    margin-top: 5px;
}

/* 文本样式辅助类 */
.hrj-text-red {
    color: red !important;
}

.hrj-text-bold {
    font-weight: bold !important;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .hrj-content-wrapper {
        flex-direction: column;
    }
    
    .hrj-content-right {
        width: 100%;
    }
    
    .hrj-category-links {
        grid-template-columns: 1fr;
    }
}
/* 
 * index_hrj_category 模块独立样式
 * 设计目标：
 * 1) 仅影响 index_hrj_category 输出区域（通过 .hrj-index-category 作用域隔离）
 * 2) 不依赖 index.css 的旧规则，避免与全站样式互相污染
 * 3) 兼容模板中大量内联 style="width:275px;float:left" 的遗留写法（用 !important 覆盖）
 */

 .hrj-index-category{
    box-sizing: border-box;
    width: 100%;
    background: #fff;
}

.hrj-index-category *{
    box-sizing: border-box;
}

/* ===== 兼容旧结构：deguo-nav（德国/英国/等国家在用）===== */
.hrj-index-category .deguo-nav{
    width: 100%;
}

.hrj-index-category .deguo-nav-c{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

/* 覆盖模板里内联 float/width，避免受旧写法影响布局 */
.hrj-index-category .deguo-nav-c > div{
    float: none !important;
    width: auto !important;
    flex: 1 1 260px;
    min-width: 240px;
}

.hrj-index-category .deguo-3{
    float: none !important;
    width: auto !important;
    flex: 1 1 260px;
    min-width: 240px;
}

.hrj-index-category .deguo-nav dl{
    margin: 0 0 14px 0;
    padding: 0;
}

.hrj-index-category .deguo-nav dt{
    margin: 0 0 10px 0;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.hrj-index-category .deguo-nav dt a{
    color: #333;
    text-decoration: none;
}

.hrj-index-category .deguo-nav dt a:hover{
    color: #e05b3d;
    text-decoration: underline;
}

.hrj-index-category .deguo-nav dd{
    margin: 0;
    padding: 0;
    display: inline-block;
}

.hrj-index-category .deguo-nav dd a{
    display: inline-block;
    padding: 6px 10px;
    margin: 0 8px 8px 0;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.hrj-index-category .deguo-nav dd a:hover{
    color: #e05b3d;
    border-color: rgba(224,91,61,.35);
    background: rgba(224,91,61,.06);
}

/* ===== 兼容旧结构：ni-flist（法国/意大利等国家在用）===== */
.hrj-index-category #ni-flist{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.hrj-index-category #ni-flist > div{
    flex: 1 1 260px;
    min-width: 240px;
}

.hrj-index-category .ni-fbg{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.hrj-index-category .ni-f-icon{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.hrj-index-category .ni-f-icon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hrj-index-category .ni-fbg span a{
    color: #333;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.hrj-index-category .ni-fbg span a:hover{
    color: #e05b3d;
    text-decoration: underline;
}

.hrj-index-category .ni-glist-section{
    margin: 10px 0 14px 0;
    padding: 0;
}

.hrj-index-category .ni-glist-section li{
    list-style: none;
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 0;
}

.hrj-index-category .ni-glist-section li a{
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.hrj-index-category .ni-glist-section li a:hover{
    color: #e05b3d;
    border-color: rgba(224,91,61,.35);
    background: rgba(224,91,61,.06);
}

/* 清除遗留的 .clear */
.hrj-index-category .clear{
    clear: both;
    height: 0;
    overflow: hidden;
}

.index_taobao_ul li{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap:10px;
    margin-bottom: 15px;
}
.index_taobao_ul li img{
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.index_taobao_ul li h3{
    flex:1;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}
.index_taobao_ul li h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word; /* 可选：处理长单词换行 */
}