/* =========================================
          3. 页面专用样式 (Page Styles)
          ========================================= */
.page-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.page-tag {
    background: var(--accent-gold);
    color: white;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.page-title {
    font-family: "Times New Roman", serif;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin: 15px 0 10px;
    font-weight: bold;
    line-height: 1.2;
}

.page-meta {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* News Ticker Section */
.news-ticker-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.news-title {
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 125, 86, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(61, 125, 86, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 125, 86, 0); }
}

/* Toggle Button */
#toggle-ticker-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
}

#toggle-ticker-btn:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

/* 滚动容器 */
.ticker-container {
    height: 160px; /* 默认固定高度 */
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
}

.ticker-wrapper {
    animation: scrollUp 15s linear infinite;
}

/* 展开状态的样式 */
.ticker-container.expanded {
    height: 300px; /* 展开后的高度 */
    overflow-y: auto; /* 允许垂直滚动 */
}

.ticker-container.expanded .ticker-wrapper {
    animation: none !important; /* 停止动画 */
    transform: translateY(0) !important; /* 重置位置 */
}

.ticker-container.expanded::-webkit-scrollbar {
    width: 6px;
}
.ticker-container.expanded::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* 鼠标悬停时暂停滚动 */
.ticker-container:hover .ticker-wrapper {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.news-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
    color: #555;
    transition: 0.2s;
}

.news-item:hover {
    background-color: #f9fcfb;
    padding-left: 10px;
    color: var(--primary-green);
}

.news-date {
    color: #999;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-left: 15px;
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.proposal-content {
    background: white;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.section-head {
    font-size: 1.4rem;
    color: var(--primary-blue);
    border-left: 5px solid var(--primary-green);
    padding-left: 15px;
    margin: 40px 0 20px;
    font-weight: bold;
}

.section-head:first-child { margin-top: 0; }

.text-block {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1rem;
}

.highlight-box {
    background: #F9FAFB;
    border: 1px dashed #ccc;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.highlight-title {
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 10px;
    display: block;
}

/* Sidebar */
.sidebar-box {
    background: var(--primary-blue);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.btn-action {
    display: block;
    text-align: center;
    background: var(--primary-blue);
    color: white;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 0;
    transition: 0.3s;
    border: 1px solid var(--primary-blue);
}

.btn-action:hover {
    background: white;
    color: var(--primary-blue);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .content-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .proposal-content { padding: 30px; }
    aside { width: 100%; }
}


@media screen and (max-width: 768px) {
    .page-title {font-size: 1.5rem;}
}