/* 现代化发布信息页面样式 */

/* 基础重置 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #eef1f7 100%);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #2c3e50;
}

.post-page {
    width: 100%;
}

/* 顶部横幅 */
.post-hero {
    max-width: 1200px;
    margin: 30px auto 10px;
    background: linear-gradient(135deg, #2976c2 0%, #1B4671 100%);
    color: #fff;
    border-radius: 18px;
    padding: 30px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(41, 118, 194, 0.15);
}

.post-hero-text h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.post-hero-text p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.post-hero-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.meta-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 120px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.meta-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.meta-label {
    font-size: 13px;
    opacity: 0.9;
}

/* 页面主体容器 */
.post-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px 16px;
}

.post-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

/* 步骤条 */
.post-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.post-steps span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f6fb;
    color: #7f8c8d;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    border: 1px solid #e6ebf2;
    min-width: 210px;
    justify-content: center;
    transition: all 0.3s ease;
}

.post-steps span .number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e6ebf2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #5a6b7b;
    font-size: 13px;
}

.post-steps span.cur {
    background: linear-gradient(135deg, #2976c2, #1B4671);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(41, 118, 194, 0.25);
}

.post-steps span.cur .number {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.post-steps span .number {
    font-style: normal;
}

/* 分类与搜索区域 */
#fenlei2 {
    background: #fff;
    border-radius: 14px;
    padding: 0;
    box-shadow: none;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.minheight#ymenu-side {
    padding: 24px;
    margin: 0;
    background: linear-gradient(180deg, #f9fbff 0%, #f4f6fb 100%);
    border: 1px solid #e6ebf2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    align-items: flex-start;
    height: 300px;
    line-height: 60px;
}

.ym-mainmnu {
    width: 100%;
    padding: 0;
    display: flex;
}

.ym-tab {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e7f0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ym-tab:hover,
.ym-tab:focus-within {
    border-color: #2976c2;
    box-shadow: 0 10px 30px rgba(41, 118, 194, 0.12);
}

.ym-tab a {
    color: #2c3e50;
    font-weight: 600;
}

.ym-submnu {
    display: flex !important;
    flex-wrap: wrap;
    position: static;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 10px 0 0;
    background: transparent;
}

.ym-submnu li {
    width: 100%;
    padding: 0 0 12px 0;
}

.ym-submnu li a {
    color: #4a5568;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border: 1px solid #e0e7f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.ym-submnu li a:hover {
    color: #2976c2;
    border-color: #2976c2;
    box-shadow: 0 10px 20px rgba(41, 118, 194, 0.12);
}

.backall {
    margin: 12px 0 0 0;
    border-top: 1px solid #e6ebf2;
    padding-top: 12px;
    text-align: center;
}

.backall a {
    color: #2976c2;
    text-decoration: none;
    font-weight: 600;
}

.backall a:hover {
    text-decoration: underline;
}

/* 搜索栏 */
.psearch {
    margin: 0;
    padding: 20px 24px 8px;
    display: flex;
    justify-content: center;
}

.pshead {
    background: #f6f8fc;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pshead em {
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url(../images/post/psearch.gif) no-repeat;
}

.pshead .pstxt {
    border: 1px solid #dce4ef;
    border-radius: 8px;
    padding: 0 10px;
    height: 34px;
    line-height: 34px;
    width: 280px;
    color: #2c3e50;
    background: #fff;
}

.pshead .psbtn {
    height: 34px;
    line-height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2976c2, #1B4671);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(41, 118, 194, 0.2);
}

.pshead .psbtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(41, 118, 194, 0.25);
}

/* 响应式 */
@media (max-width: 1024px) {
    .post-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .post-hero-meta {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .post-container {
        padding: 0 12px 12px;
    }
}

@media (max-width: 768px) {
    .post-steps span {
        min-width: 160px;
        font-size: 13px;
        padding: 10px 12px;
    }
    .post-hero {
        padding: 20px;
    }
    .pshead .pstxt {
        width: 200px;
    }
}
