body {
    font-family: "Segoe UI", sans-serif;
    color: #333;
    background-color: #fff;
    padding-top: 56px;
}

.attachment-box {
    width: 100px;
    height: 100px;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 4px;
    font-size: 12px;
    word-break: break-word;
}

.attachment-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.attachment-box audio {
    width: 90%;
    height: 30px;
}

.doc-box {
    width: 100%;
    padding: 4px;
    color: #333;
}

.remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #d41d18;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    padding: 0 6px;
    cursor: pointer;
}

.bg-red-top {
    background-color: #d41d18;
    color: #fff;
}
.bg-red-top p {
    color: #e5e5e5;
}
.section-title {
    color: #d41d18;
    font-weight: 700;
    margin-bottom: 40px;
}
.btn-red {
    background-color: #d41d18;
    border: none;
    color: #fff;
}
.btn-red:hover {
    background-color: #d41d18;
    color: #ccc;
}
.btn-outline-danger:hover {
    color: #ccc;
}
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d41d18;
}
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonial-slider::-webkit-scrollbar {
    display: none;
}
.testimonial-box {
    min-width: 280px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.05);
    flex-shrink: 0;
}
.contact-highlight {
    background-color: #d41d18;
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.contact-highlight a {
    color: #fff !important;
    font-size: 1.2rem;
    text-decoration: underline;
}
.logo-large {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 20px;
}
.mission-lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
}
.mission-card {
    display: flex;
    align-items: center;
    background: none;
    border: solid 1px #f1f1f1;
    padding: 1rem;
    color: #666;
}

.mission-icon {
    font-size: 2rem;
    margin-right: 16px;
    color: #d41d18;
}
.navbar-nav .nav-link {
    padding-left: 24px !important;
    padding-right: 24px !important;
    height: 44px;
    line-height: 30px;
    color: #333;
    font-weight: 500;
    border-right: 1px solid #eee;
    transition: all 0.3s ease;
    white-space: nowrap; /* 防止换行 */
    display: inline-block; /* 不占满父元素宽度 */
}
.navbar-nav .nav-item:last-child .nav-link {
    border-right: none;
}
.navbar-nav .nav-link:hover {
    background-color: #f8f9fa;
    color: #a31e2d;
}
.navbar-nav .nav-link.active {
    font-weight: 700;
    border-bottom: 3px solid #d41d18;
}
.offer-icon {
    font-size: 60px;
}
@media (max-width: 575.98px) {
    .row-cols-2 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        line-height: 32px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .mission-card {
        font-size: 0.9rem;
    }
}
.avatar-thumb {
    transition: border 0.2s;
    cursor: pointer;
}

nav[role="navigation"] {
    margin-top: 2rem;
    text-align: center;
}

nav[role="navigation"] .relative.inline-flex {
    display: inline-flex;
    gap: 4px;
}

nav[role="navigation"] a {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

nav[role="navigation"] a:hover {
    background: #e9ecef;
}

nav[role="navigation"] span {
    padding: 6px 12px;
    color: #999;
}