/* ===================================================
   ffwz.html - 企业信息发布 / 武术培训列表页样式
   =================================================== */

:root {
    --primary-color: #ff6600;
    --secondary-color: #f5f5f5@
    --text-color: #333;
    --text-secondary: #666;
    --border-color: #e5e5e5;
    --header-bg: #fff;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ========== Banner ========== */
.ffwz-banner {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}
/* 装饰纹理 */
.ffwz-banner::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198,40,40,0.15) 0%, transparent 70%);
    top: -200px;
    right: -120px;
}
.ffwz-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,111,0,0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -80px;
}
.ffwz-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ffwz-banner-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 1;
}
.ffwz-banner-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: 4px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    animation: bannerFadeIn 0.3s ease-out;
}
.ffwz-banner-subtitle {
    font-size: 17px;
    font-weight: 300;
    margin: 0;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.75);
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    animation: bannerFadeIn 0.3s ease-out 0.15s both;
}
@keyframes bannerFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    max-width: 1240px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    background: transparent;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
}

/* ========== 栏目标题 ========== */
.navtitle {
    max-width: 1240px;
    margin: 0 auto 5px;
    padding: 18px 20px 15px;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navtitle::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff6600, #ff9800);
    flex-shrink: 0;
}

/* ========== 武林资讯列表 ========== */
.news-list-container {
    max-width: 1240px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 单条资讯 */
.news-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.news-item a {
    text-decoration: none;
    color: inherit;
}

/* 左侧缩略图 */
.news-thumb {
    flex: 0 0 280px;
    width: 280px;
    height: 190px;
    overflow: hidden;
    background: #f0f0f0;
    display: block;
    position: relative;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-item:hover .news-thumb img {
    transform: scale(1.06);
}

/* 右侧内容区 */
.news-content {
    flex: 1;
    padding: 20px 24px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* 标题 */
.news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-title a {
    color: #1a1a1a;
    transition: color 0.2s;
}
.news-title a:hover {
    color: #c62828;
}

/* 元信息：作者 + 发布时间 */
.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #999;
}
.news-meta i {
    font-size: 12px;
    margin-right: 4px;
}
.news-author {
    display: inline-flex;
    align-items: center;
    color: #888;
    font-weight: 500;
}
.news-time {
    display: inline-flex;
    align-items: center;
    color: #bbb;
}

/* 简介 */
.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* 查看详情 */
.news-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #c62828;
    align-self: flex-start;
    transition: gap 0.25s;
}
.news-more:hover {
    gap: 8px;
    color: #8e0000;
}
.news-more i {
    font-size: 11px;
    transition: transform 0.25s;
}
.news-more:hover i {
    transform: translateX(3px);
}

/* ========== 武术培训模块 ========== */
.wushu-section {
    max-width: 1240px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.wushu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
}

.wushu-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wushu-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #c62828, #b71c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.25);
}

.wushu-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.wushu-subtitle {
    font-size: 13px;
    color: #aaa;
    margin: 2px 0 0;
    letter-spacing: 2px;
}

.wushu-filter {
    display: flex;
    gap: 6px;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 4px;
}

.wushu-filter a {
    padding: 8px 18px;
    border-radius: 22px;
    font-size: 13px;
    color: #777;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.wushu-filter a:hover {
    color: #c62828;
}

.wushu-filter a.active {
    background: #c62828;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.3);
}

/* 网格 */
.wushu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* 卡片 */
.wushu-card {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.wushu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(198, 40, 40, 0.2);
}

.wushu-cover {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
}

.wushu-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.wushu-card:hover .wushu-cover img {
    transform: scale(1.08);
}

.wushu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.wushu-card:hover .wushu-overlay {
    opacity: 1;
}

.wushu-view-btn {
    padding: 8px 22px;
    border: 2px solid #ff6f00;
    border-radius: 4px;
    color: #ff6f00;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.wushu-view-btn:hover {
    background: #ff6f00;
    color: #fff;
}

/* 卡身 */
.wushu-body {
    padding: 18px;
}

.wushu-level {
    margin-bottom: 8px;
    font-size: 13px;
    color: #ffc107;
}

.wushu-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wushu-name a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s;
}

.wushu-name a:hover {
    color: #ff6f00;
}

.wushu-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wushu-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #2a2a3e;
}

.wushu-tag {
    display: inline-block;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 3px 12px;
    background: #2a1f1f;
    border: 1px solid #c62828;
    color: #ef5350;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.wushu-qrcode {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.wushu-qrcode:hover {
    color: #ff6f00;
}

/* ========== 分页 ========== */
.pagination-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination-simple li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination-simple li a:hover {
    background: #f0f0f0;
    color: #ff6600;
    border-color: #ff6600;
}

.pagination-simple li.active a {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
    font-weight: 600;
}

.pagination-simple li.disabled a {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    text-align: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .wushu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ffwz-banner { height: 280px; }
    .ffwz-banner-title { font-size: 28px; letter-spacing: 2px; }
    .ffwz-banner-subtitle { font-size: 14px; letter-spacing: 3px; }
    .news-item {
        flex-direction: column;
    }
    .news-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: 220px;
    }
    .news-content {
        padding: 18px 20px 20px;
    }
    .news-title {
        font-size: 16px;
    }
    .news-desc {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .ffwz-banner { height: 220px; }
    .ffwz-banner-title { font-size: 24px; letter-spacing: 2px; margin-bottom: 10px; }
    .ffwz-banner-subtitle { font-size: 13px; letter-spacing: 2px; }
    .navtitle {
        font-size: 18px;
        padding: 12px 15px 10px;
    }
    .news-thumb {
        height: 180px;
    }
    .news-content {
        padding: 14px 16px 16px;
        gap: 8px;
    }
    .news-title {
        font-size: 15px;
    }
    .news-meta {
        font-size: 12px;
        gap: 12px;
    }
    .news-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .wushu-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .wushu-filter {
        width: 100%;
        overflow-x: auto;
    }
    .wushu-filter a {
        padding: 6px 14px;
        font-size: 12px;
    }
    .wushu-grid {
        grid-template-columns: 1fr;
    }
    .wushu-title {
        font-size: 20px;
    }
}
