/* 特定于Declaration of Interests页面的样式 */
.declaration-section {
    background-color: white;
    padding: 60px 0 80px; /* 调整上边距，因为banner已经提供了空间 */
}

.declaration-content {
    max-width: 800px;
    margin: 0 auto;
}

.declaration-section h1 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--primary-color);
    font-size: 40px;
}

.declaration-intro {
    font-size: 17.6px;
    line-height: 1.7;
    margin-bottom: 48px;
    color: var(--text-color);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.declaration-section h2 {
    color: var(--primary-color);
    margin: 48px 0 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.declaration-section h2:first-of-type {
    margin-top: 0;
}

.declaration-section p {
    margin-bottom: 24px;
    line-height: 1.7;
    color: var(--text-color);
}

.declaration-section ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.declaration-section li {
    margin-bottom: 12.8px;
    line-height: 1.6;
    color: var(--text-color);
}

.placeholder-text {
    color: #888;
    font-style: italic;
}

.highlighted-name {
    font-weight: 600;
}

.last-updated {
    text-align: center;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.last-updated strong {
    color: var(--accent-color);
}

/* 移除原来的面包屑导航样式，因为现在使用banner中的面包屑 */
.breadcrumb {
    display: none;
}

/* 修改外部链接样式 - 移除所有悬停和点击效果 */
.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* 为特定链接移除所有交互效果 */
a.external-link[href="#"],
a.external-link[href="https://conqueraging.org/"] {
    color: var(--primary-color);
    text-decoration: none;
    cursor: default;
    pointer-events: none; /* 防止点击事件 */
}

a.external-link[href="#"]:hover,
a.external-link[href="https://conqueraging.org/"]:hover,
a.external-link[href="#"]:active,
a.external-link[href="https://conqueraging.org/"]:active,
a.external-link[href="#"]:focus,
a.external-link[href="https://conqueraging.org/"]:focus {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: none;
    transform: none;
}

:root {
    --dark-bg: #37883f; /* 导航栏绿色背景 */
}

header {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 添加与bilu-huang.html相同的banner样式 */
.page-header {
    background: linear-gradient(135deg, #1a4d2a 0%, #2E8B57 50%, #1a4d2a 100%);
    padding: 64px 0 96px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

/* 面包屑导航 */
.page-header .breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    font-size: 14.4px;
    justify-content: flex-start;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb a:hover {
    color: white;
}

.page-header .breadcrumb .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* Banner内容 */
.banner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 44.8px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.page-subtitle {
    font-size: 19.2px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

/* 背景图形元素 */
.banner-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 25%;
    background: rgba(233, 30, 99, 0.15);
    animation-delay: 2s;
}

.graphic-line {
    position: absolute;
    background: rgba(233, 30, 99, 0.2);
    animation: float 8s ease-in-out infinite;
}

.line-1 {
    width: 2px;
    height: 200px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.graphic-dna {
    position: absolute;
    width: 150px;
    height: 300px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    opacity: 0.1;
}

.graphic-dna::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: white;
    left: 50%;
    transform: translateX(-50%);
}

.graphic-dna::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(233, 30, 99, 0.3) 3px, transparent 3px),
        radial-gradient(circle at 70% 40%, rgba(233, 30, 99, 0.3) 3px, transparent 3px),
        radial-gradient(circle at 30% 60%, rgba(233, 30, 99, 0.3) 3px, transparent 3px),
        radial-gradient(circle at 70% 80%, rgba(233, 30, 99, 0.3) 3px, transparent 3px);
    animation: dna-float 10s ease-in-out infinite;
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes dna-float {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) rotate(10deg);
    }
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .page-header h1 {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 36.8px;
    }
}

@media (max-width: 672px) {
    .page-header {
        padding: 42px 0 56px;
        text-align: center;
    }
    
    .banner-content {
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 15.4px;
    }
    
    .circle-1,
    .circle-2,
    .line-1,
    .graphic-dna {
        display: none;
    }
}

@media (max-width: 420px) {
    .page-header {
        padding: 28px 0 42px;
    }
    
    .page-header h1 {
        font-size: 25.2px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
}

/* 修改外部链接样式 - 只保留下划线效果 */
.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* 为特定链接添加悬停和点击效果 - 只有下划线 */
a.external-link[href="#"],
a.external-link[href="https://conqueraging.org/"] {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto; /* 恢复点击事件 */
}

a.external-link[href="#"]:hover,
a.external-link[href="https://conqueraging.org/"]:hover,
a.external-link[href="#"]:active,
a.external-link[href="https://conqueraging.org/"]:active,
a.external-link[href="#"]:focus,
a.external-link[href="https://conqueraging.org/"]:focus {
    color: var(--primary-color);
    text-decoration: underline;
    border-bottom: none;
    transform: none;
}

/* 修改导航栏样式 - 实现滚动效果 */
header {
    background-color: transparent !important;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 确保页面内容不被固定导航栏遮挡 */
body {
    padding-top: 80px; /* 根据导航栏高度调整 */
}

/* 透明状态下导航栏文字颜色 */
header:not(.scrolled) .nav-links a {
    color: white;
}

header:not(.scrolled) .logo span {
    color: white;
}

header:not(.scrolled) .mobile-menu-btn {
    color: white;
}

/* 确保banner区域有足够的上边距来容纳固定导航栏 */
.page-header {
    margin-top: -80px; /* 抵消body的padding-top */
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* 添加页脚logo图片样式 */
.footer-logo-img {
    width: 280px; /* 根据实际图片尺寸调整 */
    height: auto;
    filter: brightness(0) invert(1); /* 将图片变为全白色 */
    transition: var(--transition);
}

/* 确保logo容器居中显示 */
.footer-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

/* 响应式调整 */
@media (max-width: 672px) {
    .footer-logo-img {
        width: 160px; /* 移动端适当缩小 */
    }
    .footer-logo {
        justify-content: center; /* 移动端居中显示 */
    }
}

.mc_logo_def {
    filter: brightness(0) invert(1);
}

