/* 网站地图专用样式 */
.map-container {
    background: #fff;
    padding: 20px 0;
}
.map-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.linkbox {
    width: 33.333%;
    padding: 0 10px;
    margin-bottom: 25px;
    box-sizing: border-box;
}
.linkbox h3 {
    font-size: 16px;
    font-weight: bold;
    border-left: 4px solid #f60;
    padding-left: 10px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.linkbox h3 a {
    color: #333;
    text-decoration: none;
}
.linkbox h3 a:hover {
    color: #f60;
}
.linkbox ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.linkbox ul li {
    width: 50%;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
}
.linkbox ul li a {
    color: #666;
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
}
.linkbox ul li a:hover {
    color: #f60;
    text-decoration: underline;
}
@media (max-width: 800px) {
    .linkbox {
        width: 50%;
    }
}
@media (max-width: 500px) {
    .linkbox {
        width: 100%;
    }
    .linkbox ul li {
        width: 100%;
    }
}
.map-title {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 8px;
    overflow: hidden;
}
.map-title h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
    float: left;
    font-weight: bold;
}
.map-title .more {
    float: right;
    font-size: 13px;
    line-height: 30px;
}
.map-title .more a {
    color: #f60;
    text-decoration: none;
}
.map-title .more a:hover {
    text-decoration: underline;
}
/* 最近更新样式 */
.recent-box {
    margin-bottom: 25px;
}
.recent-box h3 {
    font-size: 18px;
    border-left: 5px solid #f60;
    padding-left: 12px;
    margin-bottom: 15px;
    font-weight: bold;
}
.recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.recent-list li {
    width: 25%;
    margin-bottom: 8px;
    font-size: 13px;
}
.recent-list li a {
    color: #005aff;
    text-decoration: none;
}
.recent-list li a:hover {
    color: #f60;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .recent-list li {
        width: 50%;
    }
}

.recent-box {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 0 5px;
}

.recent-box h3 {
    font-size: 20px;
    font-weight: 600;
    border-left: 5px solid #f60;
    padding-left: 15px;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #333;
}

.recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.recent-list li {
    width: calc(25% - 12px);   /* 4列，减去gap补偿 */
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.recent-item {
    display: flex;
    flex-direction: column;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 12px 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
}

.recent-item:hover {
    background: #fff;
    border-color: #f60;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.recent-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-item:hover .recent-title {
    color: #f60;
}

.recent-date {
    font-size: 12px;
    color: #999;
    display: inline-block;
    border-top: 1px dashed #eee;
    padding-top: 6px;
    margin-top: 4px;
    align-self: flex-start;
}

/* 空提示样式 */
.empty-tip {
    width: 100%;
    text-align: center;
    color: #999;
    padding: 30px 0;
}

/* 响应式布局 */
@media (max-width: 900px) {
    .recent-list li {
        width: calc(33.333% - 12px);   /* 3列 */
    }
}

@media (max-width: 600px) {
    .recent-list li {
        width: calc(50% - 12px);   /* 2列 */
    }
}

@media (max-width: 480px) {
    .recent-list li {
        width: 100%;               /* 1列 */
    }
}