/* 搜索结果页面样式 */
.search-container {
    width: 1200px;
    margin: 30px auto 50px;
}

/* 搜索框区域 */
.search-box-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.search-box-section input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.search-box-section button {
    padding: 12px 35px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box-section button:hover {
    background-color: #0052a3;
}

.search-hotwords {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 14px;
}

.search-hotwords span:first-child {
    color: #999;
}

.search-hotwords a {
    color: #333;
    text-decoration: none;
    margin-right: 10px;
}

.search-hotwords a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* 搜索结果 */
.search-results {
    margin-top: 20px;
}

.result-category-section {
    margin-bottom: 30px;
}

.result-category-title {
    font-size: 30px;
    font-weight: 600; 
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-category-title::before {
    content: '';
    width: 30px;
    height: 30px;
    background: url("/files/pub/img/sjlycslhh/searchIcon.svg") no-repeat center center;
    background-size: contain;
}

.result-category-title .category-main {
    color: #333;
    font-weight: 600;
}

.result-category-title .category-sub {
    color: #999;
    font-weight: normal;
}

.result-item, .search-result-item {
    padding: 12px 0 18px 24px; 
    border-bottom: 1px solid #f0f0f0;
} 

.result-title {
    font-size: 14px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 8px;
    line-height: 1.5;
}

.result-title a {
    font-size: 20px;
    text-decoration:underline;
    color:#0000CC;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-content, .result-summary {
    font-size: 16px; 
    line-height: 1.7;
    margin-bottom: 8px;
    text-align: justify;
}

.result-info, .result-date {
    font-size: 16px; 
    text-align: right;
}

.result-category {
    font-size: 30px; 
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}

.result-category .icon-search {
    display: inline-block;
    width: 30px;
    height: 30px;   
    background-image: url("/files/pub/img/sjlycslhh/searchIcon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.no-results {
    text-align: center;
    padding: 100px 0;
    color: #999;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 20px 0; 
}

.pagination button {
    min-width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    background: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination button:hover:not(.disabled) {
    border-color: #0066cc;
    color: #0066cc;
}

.pagination button.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.pagination button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination span {
    color: #666;
    font-size: 14px;
}

.pagination .pagination-last {
    margin-left: 10px;
    cursor: pointer;
}

.pagination .pagination-last:hover {
    color: #0066cc;
}

/* 响应式设计 */
@media (max-width: 1240px) {
    .search-container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .search-box-section {
        flex-direction: column;
    }
    
    .search-hotwords {
        flex-wrap: wrap;
    }
}