/* 
   ============================================
   版权所有 © 2026 墨迹语CMS 
   https://www.mojiyucms.com/
   ============================================ 
*/

/* 搜索信息区域 */
.search-info-box {
    text-align: center;
    padding: 40px 20px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 30px;
}

.search-keyword {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.search-keyword i {
    color: #0e4081;
    margin-right: 10px;
}

.search-keyword strong {
    color: #0e4081;
}

.search-count {
    font-size: 16px;
    color: #666;
}

.search-count strong {
    color: #0e4081;
    font-weight: 600;
}

/* 搜索结果列表 */
.search-results-list {
    margin-bottom: 40px;
}

.search-result-item {
    display: flex;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0e4081;
}

.search-result-item a {
    display: flex;
    width: 100%;
    text-decoration: none;
}

.result-thumb {
    width: 260px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-item:hover .result-thumb img {
    transform: scale(1.05);
}

.result-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-title {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.result-title em {
    color: #0e4081;
    font-style: normal;
    font-weight: 700;
}

.result-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-desc em {
    color: #0e4081;
    font-style: normal;
    font-weight: 600;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.result-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-meta i {
    color: #0e4081;
}

.meta-more {
    margin-left: auto;
    color: #0e4081;
    font-weight: 500;
}

/* 无结果提示 */
.no-results-wrapper {
    text-align: center;
    padding: 80px 20px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 40px;
}

.no-results-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-results-tips {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.no-results-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 500px;
    text-align: left;
}

.no-results-list li {
    font-size: 15px;
    color: #666;
    padding: 8px 0;
    line-height: 1.6;
}

.no-results-list i {
    color: #0e4081;
    margin-right: 8px;
}

.no-results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-home,
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-home {
    background: #0e4081;
    color: #fff;
    border: 2px solid #0e4081;
}

.btn-home:hover {
    background: #0c3569;
    border-color: #0c3569;
}

.btn-back {
    background: #fff;
    color: #0e4081;
    border: 2px solid #0e4081;
}

.btn-back:hover {
    background: #f7f7f7;
}

/* 热门推荐 */
.hot-recommend-section {
    margin-top: 50px;
}

.recommend-heading {
    font-size: 22px;
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recommend-heading i {
    color: #ff6b6b;
    font-size: 26px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.recommend-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recommend-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0e4081;
}

.recommend-card a {
    display: block;
    text-decoration: none;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommend-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-date i {
    color: #0e4081;
}

/* 404错误页 */
.error-404-wrapper {
    text-align: center;
    padding: 80px 20px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 40px;
}

.error-404-icon {
    font-size: 100px;
    color: #0e4081;
    margin-bottom: 20px;
}

.error-404-title {
    font-size: 120px;
    color: #0e4081;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.error-404-subtitle {
    font-size: 28px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.error-404-tips {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.error-404-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 500px;
    text-align: left;
}

.error-404-list li {
    font-size: 15px;
    color: #666;
    padding: 8px 0;
    line-height: 1.6;
}

.error-404-list i {
    color: #0e4081;
    margin-right: 8px;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-info-box {
        padding: 30px 15px;
    }

    .search-keyword {
        font-size: 20px;
    }

    .search-count {
        font-size: 14px;
    }

    .search-result-item {
        flex-direction: column;
    }

    .result-thumb {
        width: 100%;
        height: 220px;
    }

    .result-content {
        padding: 15px;
    }

    .result-title {
        font-size: 18px;
    }

    .result-desc {
        font-size: 14px;
    }

    .result-meta {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 13px;
    }

    .meta-more {
        margin-left: 0;
    }

    .no-results-wrapper {
        padding: 60px 15px;
    }

    .no-results-icon {
        font-size: 60px;
    }

    .no-results-title {
        font-size: 20px;
    }

    .no-results-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-home,
    .btn-back {
        width: 100%;
        justify-content: center;
    }

    .recommend-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card-image {
        height: 180px;
    }

    .error-404-wrapper {
        padding: 60px 15px;
    }

    .error-404-icon {
        font-size: 80px;
    }

    .error-404-title {
        font-size: 80px;
    }

    .error-404-subtitle {
        font-size: 22px;
    }

    .error-404-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* 平板适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-thumb {
        width: 220px;
        height: 160px;
    }
}