/* 大赛风采页面样式 */
.competition_sub_page {
    padding: 0;
    background-color: #fff;
}

/* 全局日期样式，确保在所有分辨率下都能正确显示 */
.competition_sub_page-date-day {
    font-size: 26px;
    font-weight: bold;
    color: #f0a030 !important;
    /* 强制应用橙色 */
    line-height: 1;
}

.competition_sub_page-date-year {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.competition_sub_page-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    text-align: center;
    padding-right: 20px;
    border-right: none;
    align-self: stretch;
    /* 确保日期区域高度与父容器一致 */
    position: relative;
    /* 为垂直分隔线定位 */
}

/* 使用伪元素创建垂直分隔线，确保其高度与父容器一致 */
.competition_sub_page-date::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e0e0e0;
}

/* 确保新闻项目在垂直方向上正确对齐 */
.competition_sub_page-item {
    display: flex;
    align-items: flex-start;
    /* 改为顶部对齐，以便在标题换行时保持良好的视觉效果 */
    position: relative;
    /* 为可能的长标题提供相对定位上下文 */
}

/* 标题容器样式调整 */
.competition_sub_page-title {
    padding-left: 20px;
    /* 为标题添加左侧内边距，与分隔线保持距离 */
    display: flex;
    align-items: center;
    min-height: 60px;
    /* 确保标题区域有最小高度 */
    flex: 1;
    position: relative;
    /* 为可能的长标题提供相对定位上下文 */
}

/* 确保标题文本换行时不会破坏布局 */
.competition_sub_page-title a {
    word-break: break-word;
    /* 允许在任何字符处换行 */
    overflow-wrap: break-word;
    /* 确保长单词也能正确换行 */
    hyphens: auto;
    /* 在适当的位置添加连字符 */
}

/* ===== 左侧菜单样式 ===== */
.competition_sub_page-menu-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    /* position: relative; */
    border-left: 3px solid transparent;
}

.competition_sub_page-menu-item:hover {
    background-color: #f0f7ff;
    border-left-color: #1874d5;
}

.competition_sub_page-menu-item.active {
    background-color: #1874d5;
    color: white;
    border-left-color: #f0a030;
}

.competition_sub_page-menu-item.parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.competition_sub_page-menu-item.parent:hover {
    background-color: #f0f7ff;
    border-left-color: #1874d5;
}

.competition_sub_page-menu-item.parent.active {
    background-color: #1874d5;
    color: white;
    border-left-color: #f0a030;
}

.competition_sub_page-menu-item.child {
    padding-left: 30px;
    background-color: #f8f9fa;
    margin-bottom: 5px;
    font-size: 14px;
}

.competition_sub_page-menu-item.child:hover {
    background-color: #e9f0f7;
    border-left-color: #1874d5;
}

.competition_sub_page-menu-item.child.active {
    background-color: #e9f0f7;
    color: #1874d5;
    border-left-color: #f0a030;
    font-weight: 500;
}

.competition_sub_page-menu-item .el-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.competition_sub_page-menu-item.parent.active .el-icon,
.competition_sub_page-menu-item.parent.expanded .el-icon {
    transform: rotate(180deg);
}

/* 子菜单滑动动画 */
.competition_sub_page-menu-item.child {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
.competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child {
    max-height: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.photo-ui {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.common-width {
    width: 100%;
    padding: 0;
}

.photo-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eaecef;
    padding: 0 24px;
}

.nav-item {
    padding: 16px 16px;
    cursor: pointer;
    font-weight: 500;
    color: #606266;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #409eff;
}

.nav-active {
    color: #409eff;
    font-weight: 600;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #409eff;
    border-radius: 3px 3px 0 0;
}

.video-main,
.photo-main-content {
    padding: 24px;
}

.video-text,
.photo-text {
    margin-bottom: 24px;
}

.video-content,
.photo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.video-content-back,
.photo-content-back {
    padding: 24px;
}

.video-title,
.photo-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
}

.video-more,
.photo-more {
    font-size: 14px;
    color: #409eff;
    cursor: pointer;
}

.video-more:hover,
.photo-more:hover {
    text-decoration: underline;
}

.video-line,
.photo-line {
    height: 2px;
    background: linear-gradient(90deg, #409eff, transparent);
    border-radius: 1px;
}

.video-items,
.photo-items,
.video-items-back,
.photo-items-back {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.video-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-item video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #000;
    display: block;
}

.video-dec {
    padding: 16px;
}

.video-dec span {
    display: block;
    margin-bottom: 8px;
}

.video-dec span:first-child {
    font-weight: 500;
    color: #303133;
}

.video-dec span:last-child {
    font-size: 14px;
    color: #909399;
}

.photo-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 200px;
}

.photo-item:hover {
    transform: translateY(-5px);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.back {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    color: #409eff;
    font-weight: 500;
}

.back:hover {
    color: #66b1ff;
}

.back i {
    margin-right: 8px;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #909399;
}

.no-data i {
    font-size: 60px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-data p {
    font-size: 16px;
}

.hidden {
    display: none;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 通知公告容器 */
.competition-dynamics {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* 头部样式 - 修改为白底黑字 */
.dynamics-header {
    background: #ffffff;
    color: #333;
    padding: 0 0 25px;
    text-align: center;
    /* 居中显示 */
    border-bottom: 1px solid #f0f0f0;
}

.dynamics-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.dynamics-subtitle {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 3px;
}

/* 列表容器 */
.dynamics-list {
    padding: 0;
}

/* 单个公告项 */
.dynamics-item {
    display: flex;
    padding: 5px 30px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    align-items: center;
}

.dynamics-item:hover {
    background-color: #f9faff;
    transform: translateX(5px);
}

/* 日期样式 */
.dynamics-date {
    flex-shrink: 0;
    text-align: center;
    margin-right: 20px;
    padding-top: 5px;
    color: #daa520;
}

.dynamics-day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}

.dynamics-month {
    font-size: 20px;
    font-weight: 500;
}

/* 内容样式 */
.dynamics-content {
    flex: 1;
}

.dynamics-item-title {
    width: 700px;
    font-size: 20px;
    font-weight: 400;
    color: #666;
    margin-bottom: 0px;
    line-height: 1.4;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分页组件样式 */
.page_tab {
    margin: 30px 0;
}

.pagination-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-link,
.page-link.disabled,
.ellipsis {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    min-width: 42px;
    margin: 5px;
    padding: 0 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link {
    color: #3498db;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.page-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.page-link.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.page-link.disabled {
    color: #adb5bd;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    cursor: not-allowed;
}

.page-link.disabled:hover {
    transform: none;
    color: #adb5bd;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    box-shadow: none;
}

.ellipsis {
    color: #6c757d;
    background: transparent;
    border: none;
    cursor: default;
}

/* 软件支持 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.software-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #f0f0f0;
    overflow: hidden;
}

.software-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.software-duration {
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.software-play-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.software-play-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.software-play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}

.software-info {
    padding: 15px;
}

.software-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    /* display: -webkit-box; */
    display: flex;
    justify-content: space-between;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-title-1 {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-btn {
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.software-icon {
    width: 20px;
    height: 20px;
}

.software-view {
    cursor: pointer;
}

.software-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.software-date {
    color: #999;
    font-size: 12px;
}


@media (max-width: 768px) {
    .software-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .software-title {
        font-size: 13px;
    }

    .software-title-1 {
        white-space: normal;
    }
}

/* 详情页样式 */
.detail-page {
    display: none;
    width: 100%;
    height: 100%;
    background: white;
    overflow-y: auto;
    padding: 20px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.back-btn {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-content .title {
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: bold;
    font-size: clamp(18px, 4vw, 24px);
    color: #333333;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
    width: 100%;
}

.detail-content>p {
    width: 100%;
    max-width: 787px;
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: #666666;
    font-size: clamp(14px, 2vw, 16px);
    text-indent: 2em;
    text-align: justify;
    line-height: 1.6;
    margin: 15px 0;
}

.detail-content>img {
    width: 100%;
    max-width: 538px;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 平板设备 */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .detail-content {
        padding: 20px;
    }

    .detail-content>p {
        text-indent: 1.5em;
        line-height: 1.5;
        margin: 12px 0;
    }

    .detail-content>img {
        margin: 15px 0;
    }
}

/* 手机设备 */
@media screen and (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .detail-content {
        padding: 15px;
    }

    .detail-header {
        margin-bottom: 20px;
    }

    .back-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .detail-content .title {
        margin-bottom: 20px;
    }

    .detail-content>p {
        text-indent: 1em;
        line-height: 1.4;
        margin: 10px 0;
    }

    .detail-content>img {
        margin: 12px 0;
    }
}

/* 大屏幕设备 */
@media screen and (min-width: 1200px) {
    .detail-content>p {
        line-height: 1.8;
    }
}

/* 高分辨率屏幕优化 */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .detail-content>p {
        max-width: 900px;
    }

    .detail-content>img {
        max-width: 600px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pagination-horizontal {
        margin: 20px 0;
    }

    .page-link,
    .page-link.disabled,
    .ellipsis {
        height: 36px;
        min-width: 36px;
        padding: 0 10px;
        font-size: 14px;
        margin: 3px;
    }
}

@media (max-width: 480px) {
    .pagination-horizontal {
        gap: 3px;
    }

    .page-link,
    .page-link.disabled {
        height: 36px;
        min-width: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dynamics-item {
        flex-direction: column;
        padding: 20px;
    }

    .dynamics-date {
        width: 100%;
        text-align: left;
        margin-right: 0;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .dynamics-day {
        font-size: 24px;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .dynamics-month {
        font-size: 14px;
    }

    .dynamics-header {
        padding: 20px;
    }

    .dynamics-title {
        font-size: 24px;
    }

    .dynamics-item-title {
        width: 325px;
    }
}

/* ===== PC端样式 ===== */
@media (min-width: 992px) {
    .competition_sub_page .container {
        max-width: none;
        padding: 0;
    }

    .competition_sub_page-main-content,
    .competition_sub_page-breadcrumb-header,
    .competition_sub_page-logo-section {
        width: 77%;
        margin: 0 auto;
    }

    .competition_sub_page-main-content>.container,
    .competition_sub_page-breadcrumb-header>.container,
    .competition_sub_page-logo-section>.container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .competition_sub_page-layout {
        display: flex;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .competition_sub_page-sidebar {
        width: 220px;
        background-color: #fff;
        padding: 10px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }

    .competition_sub_page-menu-header {
        width: 200px;
        margin-bottom: 15px;
        text-align: center;
    }

    .competition_sub_page-menu-header img {
        max-width: 100%;
        height: auto;
    }

    .competition_sub_page-content {
        flex: 1;
        background-color: #fff;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    }

    .competition_sub_page-container {
        /* display: grid;
        grid-template-columns: repeat(2, 1fr); */
        /* 每行2张卡片 */
        /* gap: 25px; */
    }

    .competition_sub_page-container.detail-view {
        /* display: block; */
        /* 详情视图时，切换回块布局 */
    }

    .competition_sub_page-logo-section {
        background-color: #1874d5;
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .competition_sub_page-title-main {
        color: #fff;
        margin: 0;
        font-size: 28px;
        font-weight: bold;
        text-align: center;
    }

    .competition_sub_page-breadcrumb-header {
        background-color: transparent;
        padding: 15px 0;
        margin-bottom: 15px;
    }

    .competition_sub_page-breadcrumb {
        font-size: 14px;
    }

    .competition_sub_page-breadcrumb-item {
        display: inline-block;
    }

    .competition_sub_page-breadcrumb-separator {
        margin: 0 8px;
        color: #ccc;
    }

    .competition_sub_page-breadcrumb-item.current {
        color: #1874d5;
        font-weight: 500;
    }

    .competition_sub_page-loading {
        text-align: center;
        padding: 30px;
        font-size: 16px;
        color: #666;
    }

    .competition_sub_page-error-message {
        color: #dc3545;
        text-align: center;
        padding: 30px 0;
        font-size: 16px;
    }

    /* 大赛风采卡片样式 */
    .competition-card {
        background-color: #fff;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .competition-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .competition-card-link {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .competition-card-image-wrapper {
        width: 100%;
        padding-top: 56.25%;
        /* 16:9 宽高比 */
        position: relative;
        overflow: hidden;
    }

    .competition-card-image-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* 保证图片不变形 */
    }

    .competition-card-content {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
        background-color: #f8f9fa;
    }

    .competition-card-title {
        font-size: 16px;
        font-weight: 500;
        margin: 0 0 10px 0;
        line-height: 1.4;
        flex-grow: 1;
    }

    .competition-card-action {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .competition-card-button {
        color: #1874d5;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        padding: 5px 10px;
        border: 1px solid #1874d5;
        border-radius: 20px;
        transition: background-color 0.3s, color 0.3s;
    }

    .competition-card-button:hover {
        background-color: #1874d5;
        color: #fff;
    }

    .competition_sub_page-no-data {
        text-align: center;
        padding: 30px 0;
        color: #999;
        font-size: 16px;
        grid-column: 1 / -1;
        /* 让此元素占据整行 */
    }

    /* 大赛风采详情内容样式 */
    .competition-detail-content {
        padding: 20px;
        background-color: #fff;
        grid-column: 1 / -1;
        /* 占据整个网格宽度 */
    }

    .competition-detail-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 25px;
        color: #333;
        font-weight: 600;
    }

    .competition-detail-body {
        font-size: 16px;
        line-height: 1.8;
        color: #555;
    }

    .competition-detail-body img {
        max-width: 100%;
        height: auto;
        margin: 20px auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

/* ===== 平板过渡样式 ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .competition_sub_page-layout {
        flex-direction: column;
        max-width: 90%;
        margin: 0 auto;
    }

    .competition_sub_page-sidebar {
        width: 100%;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .competition_sub_page-menu-header {
        display: none;
    }

    .competition_sub_page-menu-item.parent {
        padding: 12px 20px;
        margin: 0 0 10px 0;
    }

    .competition_sub_page-menu-item.child {
        padding: 8px 30px;
        margin: 0 0 5px 0;
    }

    .competition_sub_page-content {
        padding: 20px;
    }

    .competition_sub_page-container {
        /* grid-template-columns: repeat(2, 1fr); */
        /* 平板上仍然是2列 */
    }
}

/* ===== PC端子菜单修复 ===== */
@media (min-width: 992px) {

    /* 确保子菜单正确显示 */
    .competition_sub_page-menu-item.child {
        max-height: 50px;
        /* 设置一个固定高度，确保子菜单可见 */
        padding-top: 10px;
        padding-bottom: 10px;
        overflow: visible;
        opacity: 1;
        pointer-events: auto;
        transition: all 0.3s ease;
        margin-bottom: 5px;
        display: block;
    }

    /* 当父菜单未展开时隐藏子菜单 */
    .competition_sub_page-menu-item.parent:not(.expanded):not(.active)+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent:not(.expanded):not(.active)+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent:not(.expanded):not(.active)+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent:not(.expanded):not(.active)+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        overflow: hidden;
        opacity: 0;
    }

    /* 当父菜单展开或激活时显示子菜单 */
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child {
        max-height: 50px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-bottom: 5px;
        overflow: visible;
        opacity: 1;
    }

    /* 确保箭头图标正确旋转 */
    .competition_sub_page-menu-item.parent .el-icon {
        transition: transform 0.3s ease;
    }

    .competition_sub_page-menu-item.parent.expanded .el-icon,
    .competition_sub_page-menu-item.parent.active .el-icon {
        transform: rotate(180deg);
    }

    /* 确保激活的父菜单项样式正确 */
    .competition_sub_page-menu-item.parent.active,
    .competition_sub_page-menu-item.parent.expanded {
        background-color: #1874d5;
        color: white;
        border-left-color: #f0a030;
    }

    /* 确保激活的子菜单项样式正确 */
    .competition_sub_page-menu-item.child.active {
        background-color: #e9f0f7;
        color: #1874d5;
        border-left-color: #f0a030;
        font-weight: 500;
    }
}

/* ===== 手机端样式 ===== */
@media (max-width: 767px) {
    .competition_sub_page .container {
        padding-left: 0;
        padding-right: 0;
    }

    .competition_sub_page-content {
        background-color: transparent;
        box-shadow: none;
        padding: 10px;
    }

    .competition_sub_page-layout {
        flex-direction: column;
        gap: 0;
    }

    /* 父级菜单容器 */
    .competition_sub_page-sidebar {
        width: 100%;
        display: block;
        /* 改回块级布局 */
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        background-color: #f8f9fa;
        /* 为固定菜单头部留出空间 */
    }

    /* 创建父级菜单水平滚动容器 */
    .competition_sub_page-sidebar::before {
        display: none;
        /* 不需要这个伪元素了 */
    }

    .competition_sub_page-menu-header {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        display: flex;
        flex-wrap: wrap;
        overflow: visible !important;
        padding: 10px 0;
        scrollbar-width: none;
        position: relative;
    }

    /* 父级菜单水平排列 */
    .competition_sub_page-menu-header .competition_sub_page-menu-item.parent {
        display: flex;
        justify-content: center;
        width: 45%;
        border-bottom: none;
        /* 关键修复：确保相对定位的父元素有合适的尺寸和溢出设置 */
        flex-shrink: 0;
        margin-left: 12px;
        min-width: 150px;
        overflow: visible !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 10px;
        margin-bottom: 0px;
    }

    /* 隐藏原始父菜单 */
    .competition_sub_page-sidebar>.competition_sub_page-menu-item.parent {
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .competition_sub_page-menu-header::-webkit-scrollbar {
        display: none;
    }

    /* 为固定定位的菜单头部添加空间 */
    .competition_sub_page-main-content {
        padding-top: 0;
    }

    /* 子菜单垂直排列，不是克隆的需要隐藏 */
    .competition_sub_page-menu-item.child {
        display: none;
    }

    .competition_sub_page-menu-child-items {
        position: absolute;
        min-height: 120px;
        width: 25%;
        top: 100%;
        /* 从父元素底部开始 */
        left: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 3;
        /* 提高层级确保显示在最前面 */
        background: url('../images/下拉底框.png');
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .competition_sub_page-menu-child-items>.competition_sub_page-menu-item.child {
        display: flex;
        flex-direction: column;
        color: #ffffff;
        overflow: visible;
        min-height: 25px;
        margin: 10px;
        background: none;
        /* padding-left: 0; */
        border-left: none;
        padding: 0;
    }

    /* 父级菜单激活状态 */
    .competition_sub_page-menu-header .competition_sub_page-menu-item.parent.active,
    .competition_sub_page-menu-header .competition_sub_page-menu-item.parent.expanded {
        background-color: #e9f0f7;
        color: #1874d5;
        font-weight: 500;
        border-left: none;
        border-bottom: 3px solid #f0a030;
    }

    /* 子菜单激活状态 */
    .competition_sub_page-menu-item.child.active {
        /* background-color: #e0f0ff;
        color: #1874d5;
        border-left: 3px solid #f0a030; */
    }

    /* 处理没有子菜单的父菜单项 */
    .competition_sub_page-menu-item.parent.no-children .el-icon {
        display: none;
    }

    /* 恢复显示下拉图标 */
    .competition_sub_page-menu-item.parent .el-icon {
        display: flex;
        margin-left: 5px;
    }

    .competition_sub_page-breadcrumb-header {
        padding: 8px 0;
    }

    .competition_sub_page-breadcrumb {
        padding: 0 10px;
        font-size: 16px;
    }

    .competition_sub_page-logo-section {
        padding: 15px 0;
        margin-bottom: 15px;
    }

    .competition_sub_page-title-main {
        font-size: 20px;
    }

    /* 添加动画效果，提示用户可以滚动 */
    @keyframes scrollHint {
        0% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(10px);
        }

        50% {
            transform: translateX(0);
        }

        75% {
            transform: translateX(-10px);
        }

        100% {
            transform: translateX(0);
        }
    }

    /* 仅在页面加载时显示一次滚动提示动画 */
    .competition_sub_page-sidebar {
        animation: scrollHint 1.5s ease-in-out 1;
    }
}

/* ===== 超小屏幕优化 ===== */
/* @media (max-width: 480px) {
    .competition_sub_page-menu-item.parent {
        padding: 0 12px;
        font-size: 14px;
    }

    .competition_sub_page-menu-item.child {
        padding: 8px 15px;
        font-size: 13px;
    }

    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.active+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child,
    .competition_sub_page-menu-item.parent.expanded+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child+.competition_sub_page-menu-item.child {
        max-height: 40px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
} */

/* 直接针对分页器元素的样式，确保在任何分辨率下都能正确显示 */
.competition_sub_page-pagination-container {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 5px !important;
    text-align: center !important;
    width: auto !important;
}

.competition_sub_page-pagination-footer {
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.competition_sub_page-page-btn,
.competition_sub_page-page-number,
button[class*="competition_sub_page-page-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    height: 32px !important;
    margin: 2px !important;
    padding: 0 8px !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #fff !important;
    color: #333 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}

.competition_sub_page-page-number.active,
button[class*="competition_sub_page-page-"].active {
    background-color: #1874d5 !important;
    color: white !important;
    border-color: #1874d5 !important;
}

.competition_sub_page-page-ellipsis {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    height: 32px !important;
}

@media (max-width: 767px) {

    .competition_sub_page-page-info,
    .competition_sub_page-page-size-select {
        display: none !important;
    }
}