html{
    height: 100vh;
    line-height: 1.5;
}

/* 主体布局样式 */
.mainbox {
    gap: 0.25rem;
}

.mainbox .column {
    flex: 1;
    height: 80vh;
}

/* 左侧侧边栏样式 */
.mainbox .sidebar {
    flex: 0.6;
}

/* 右侧内容区样式 */
.mainbox .content-area {
    flex: 4;
}

/* 面板通用样式 */
.column .panel {
    height: 80vh;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
}

/* 面板标题样式 */
.panel h2 {
    line-height: 0.9375rem;
    color: #fff;
    text-align: center;
    font-size: 0.3rem;
    padding: 0.2rem 0;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 侧边栏面板样式 */
.sidebar-panel {
    display: flex;
    flex-direction: column;
    padding: 0.2rem;
}

/* 事件列表样式 */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.1rem;
}

/* 事件项样式 */
.event-item {
    padding: 0.15rem 0.3rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.25rem;
    line-height: 1.5;
}

.event-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.event-item.active {
    background-color: rgba(65, 158, 239, 0.5);
    box-shadow: 0 0 10px rgba(65, 158, 239, 0.3);
}

/* 内容区样式 */
.content-panel {
    padding: 0.2rem;
}

.event-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-content h2 {
    margin-bottom: 0.3rem;
}

/* 滚动条样式 */
.content::-webkit-scrollbar {
    width: 4px;
    height: 5px;
}

.content::-webkit-scrollbar-thumb {
    background-color: rgba(65, 158, 239, 0.5);
    border-radius: 5px;
}

.content::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* 内容样式 */
.content {
    font-size: 0.2rem;
    height: calc(100% - 1rem);
    padding: 0.2rem;
    overflow-y: auto;
    line-height: 1.6;
}

.content p {
    margin-bottom: 0.2rem;
    text-indent: 2em;
}

/* 内容头部样式 */
.content-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    padding: 0.1rem 0.2rem;
    background-color: rgba(65, 158, 239, 0.2);
    border-radius: 0.1rem;
}

.event-date, .event-location {
    font-size: 0.22rem;
    color: #fff;
    font-weight: bold;
}

/* 图片容器样式 */
.image-container {
    margin: 0.3rem 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.2rem;
    border-radius: 0.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.event-image {
    max-width: 100%;
    max-height: 4rem;
    border-radius: 0.1rem;
    object-fit: cover;
}

.image-caption {
    margin-top: 0.1rem;
    font-size: 0.18rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* 高亮框样式 */
.highlight-box {
    margin: 0.3rem 0;
    padding: 0.2rem;
    background-color: rgba(65, 158, 239, 0.15);
    border-left: 4px solid rgba(65, 158, 239, 0.8);
    border-radius: 0.1rem;
}

.highlight-box h3 {
    font-size: 0.22rem;
    margin-bottom: 0.15rem;
    color: #fff;
}

.highlight-box ul {
    padding-left: 0.4rem;
}

.highlight-box li {
    margin-bottom: 0.1rem;
    font-size: 0.18rem;
}

/* 引用框样式 */
.quote-box {
    margin: 0.3rem 0;
    padding: 0.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.1rem;
}

.quote-box blockquote {
    font-size: 0.22rem;
    font-style: italic;
    color: #fff;
    margin: 0;
    padding: 0.1rem 0.2rem;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.quote-author {
    text-align: right;
    font-size: 0.18rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.1rem;
}

/* 成就网格样式 */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
    margin: 0.3rem 0;
}

.achievement-item {
    background-color: rgba(65, 158, 239, 0.2);
    border-radius: 0.1rem;
    padding: 0.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background-color: rgba(65, 158, 239, 0.4);
    transform: translateY(-3px);
}

.achievement-number {
    font-size: 0.4rem;
    font-weight: bold;
    color: #fff;
}

.achievement-label {
    font-size: 0.18rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.05rem;
}

   /*左侧边栏选项新增样式*/
    .event-item {
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .event-item::after {
        position: absolute;
        right: 10px;
        transition: all 0.3s ease;
    }


    .event-info {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 10px;
       text-align: justify;
        border-radius: 4px;
        margin-top: 5px;
        width: 100%;
        font-size: 15px;
    }
