/* ===== 基础样式 ===== */
body { 
    padding-top: 80px !important; 
}

.left-aligned { 
    margin-left: auto; 
}

.bg-dark { 
    background-color: #343a40 !important; 
}

.bg-hero { 
    background-color: #45b06cff; 
}

/* CALLOUT */
.bd-callout { 
    padding:1.25rem; 
    margin-top:1.25rem; 
    margin-bottom:1.25rem; 
    border:1px solid #e9ecef; 
    border-left-width:.25rem; 
    border-radius:.25rem 
}

.bd-callout h4 { 
    margin-bottom: 1.25rem 
}

.bd-callout p:last-child { 
    margin-bottom:0 
}

.bd-callout code { 
    border-radius:.25rem 
}

.bd-callout+.bd-callout { 
    margin-top:-.25rem 
}

.bd-callout-info { 
    border-left-color:#5bc0de 
}

.bd-callout-warning { 
    border-left-color:#f0ad4e 
}

.bd-callout-danger { 
    border-left-color:#d9534f 
}

/* footer */
footer a { 
    color: white; 
    font-weight: bold; 
    text-decoration: none; 
}

footer a:hover { 
    color: white; 
    text-decoration: underline; 
}



/* ===== 首页特定样式 ===== */
body.home-page {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

.fullscreen-background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background-image: url('https://static.igem.wiki/teams/5543/home-background/home-background.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    z-index: 1 !important;
}

.home-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 120px 20px 40px !important;
    color: white !important;
    text-align: center !important;
    background-color: transparent !important;
}

/* 内容项样式 */
.content-item {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin-bottom: 20px !important;
}

.content-item h3 {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
}

.content-item p {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
}

/* ===== 其他页面样式 ===== */
.other-page {
    background-image: url("https://static.igem.wiki/teams/5543/background/background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

