* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    background: #f5f5f5;
    min-height: 100vh;
}

.navbar {
    background: #1a3a5c;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar a {
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.navbar a:hover {
    background-color: #2c5282;
    color: white;
}

.anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.profile {
    background: none;
    padding: 0;
    margin-bottom: 0;
    text-align: center;
}

.profile p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
}

.title-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.notice-bar {
    background: linear-gradient(90deg, #1a3a5c 0%, #2c5282 100%);
    color: white;
    padding: 12px 20px;
    margin: 0 20px;
    border-radius: 0 0 6px 6px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.notice-label {
    background: #e74c3c;
    color: white;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-text {
    color: rgba(255,255,255,0.95);
}

.notice-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.notice-link:hover {
    color: #fff;
}

h1 {
    color: #1a3a5c;
    margin: 40px 20px 20px 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a3a5c;
    font-size: 1.6em;
    font-weight: normal;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

#lastModified {
    color: #999;
    font-size: 0.85em;
}

.section-content {
    background: white;
    padding: 30px;
    margin: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.section-content h2 {
    color: #1a3a5c;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 1.3em;
    font-weight: normal;
}

.section-content h2.news-headline-alert {
    color: #c62828;
    font-weight: bold;
    border-bottom-color: #ffcdd2;
    text-shadow: 0 0 1px rgba(198, 40, 40, 0.15);
    animation: news-headline-bounce 1.1s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes news-headline-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    35% {
        transform: translateY(-5px);
    }
    70% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-content h2.news-headline-alert {
        animation: none;
    }
}

.section-content h3 {
    color: #444;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
    font-weight: normal;
}

.section-content ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    padding: 3px 0;
    border-bottom: 1px dashed #ddd;
    display: inline-block;
}

/* QRST2026 会议通知子页 */
.section-content.qrst-notice-page h2.news-headline-alert {
    text-align: center;
}

.qrst-en-title {
    text-align: center;
    color: #1a3a5c;
    font-size: 1.05em;
    line-height: 1.55;
    margin: -4px 0 12px 0;
    font-family: Georgia, "Times New Roman", serif;
}

.section-content.qrst-notice-page h2.qrst-doc-title {
    text-align: center;
    margin: 22px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a3a5c;
    font-size: 1.25em;
    color: #1a3a5c;
    font-weight: bold;
}

.section-content.qrst-notice-page h3.qrst-section-title {
    color: #1a3a5c;
    font-weight: bold;
    margin: 22px 0 10px 0;
    font-size: 1.05em;
}

.qrst-schedule li {
    margin-bottom: 8px;
}

.qrst-qr-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 36px;
    justify-content: center;
    align-items: flex-start;
    margin: 20px 0 28px 0;
}

.qrst-qr-figure {
    margin: 0;
    text-align: center;
    max-width: 220px;
}

.qrst-qr-figure figcaption {
    margin-top: 8px;
    font-weight: bold;
    color: #333;
    font-size: 0.95em;
}

.qrst-qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border: 2px dashed #bbb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    color: #666;
    background: #fafafa;
    line-height: 1.45;
    padding: 10px;
    box-sizing: border-box;
}

.qrst-qr-img {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.qrst-signature {
    text-align: right;
    margin-top: 36px;
    color: #444;
    line-height: 1.9;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    margin-top: 10px;
}

/* 理事会折叠样式 */
.council-details {
    margin-top: 25px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: white;
}

.council-details summary {
    padding: 12px 20px;
    font-size: 1.1em;
    color: #1a3a5c;
    cursor: pointer;
    background: #f8f9fa;
    list-style: none;
    position: relative;
    transition: all 0.3s;
    border-bottom: 1px solid #eee;
}

.council-details summary:hover {
    background: #e9ecef;
}

.council-details summary::-webkit-details-marker {
    display: none;
}

.council-details summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
    color: #1a3a5c;
    font-weight: normal;
}

.council-details[open] summary::after {
    content: '−';
}

.council-details[open] summary {
    border-bottom: 1px solid #ddd;
}

.council-content {
    padding: 20px;
    background: white;
}

.council-content h3 {
    color: #1a3a5c;
    margin: 20px 0 10px 0;
    font-size: 0.95em;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-weight: bold;
}

.council-list {
    font-size: 0.9em;
    color: #555;
    line-height: 1.8;
    margin: 10px 0;
}

/* 友情链接样式 */
.links-box {
    background: white;
    border: 1px solid #e0e0e0;
    margin: 20px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.links-box h2 {
    color: #1a3a5c;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 1.3em;
    font-weight: normal;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.links-grid a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #1a3a5c;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    font-size: 0.95em;
}

.links-grid a:hover {
    background: #1a3a5c;
    color: white;
    border-color: #1a3a5c;
}

.footer {
    text-align: center;
    color: #666;
    font-size: 0.85em;
    margin: 40px 20px 20px 20px;
    padding: 20px;
    background: white;
    border-top: 2px solid #1a3a5c;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .navbar a {
        float: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .profile {
        padding: 0;
    }
    
    .title-img {
        max-height: 200px;
    }
    
    .notice-bar {
        margin: 0 10px;
        padding: 10px 15px;
        font-size: 0.9em;
        flex-wrap: wrap;
    }
    
    .section-content {
        margin: 10px;
        padding: 20px;
    }
    
    h1 {
        margin: 30px 10px 15px 10px;
    }
}
