body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top-bar {
    background-color: #f0f0f0;
    padding: 10px 0;
    font-size: 0.9em;
    color: #555;
    border-bottom: 1px solid #eee;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a {
    color: #555;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.navbar-brand .logo-img {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand .logo-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}

.nav-item .nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item.active .nav-link {
    color: #007bff !important;
}

.search-form {
    margin-left: 20px;
}

.user-actions .btn {
    margin-left: 10px;
}

/* Marquee Styles */
.marquee-section {
    background-color: #ffc107; /* Bootstrap warning color */
    color: #333;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-size: 0.95em;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.marquee-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.marquee-icon {
    flex-shrink: 0;
    margin-right: 10px;
}

.marquee-icon-emoji {
    font-size: 1.2em;
}

.marquee-wrapper {
    overflow: hidden;
    flex-grow: 1;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: marquee-animation 20s linear infinite;
}

.marquee-content a {
    color: #333;
    text-decoration: none;
    margin-right: 20px;
}

.marquee-content a:hover {
    text-decoration: underline;
}

.marquee-separator {
    margin: 0 10px;
    color: rgba(0,0,0,0.3);
}

@keyframes marquee-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Footer Styles */
.main-footer {
    background-color: #212529 !important; /* Bootstrap dark */
    color: #f8f9fa !important;
    font-size: 0.9em;
}

.main-footer h5 {
    color: #f8f9fa;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.main-footer ul {
    padding-left: 0;
    list-style: none;
}

.main-footer ul li {
    margin-bottom: 10px;
}

.main-footer ul li a {
    color: #ced4da !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: #007bff !important;
}

.main-footer .social-icons a {
    color: #f8f9fa;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.main-footer .social-icons a:hover {
    color: #007bff;
}

.main-footer p {
    color: #ced4da;
    margin-bottom: 10px;
}

.main-footer .text-center a {
    color: #ced4da;
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
