.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;  /* 减少间距 */
    padding: 10px 0;  /* 上下留间距，左右无间距 */
    background: transparent;
    margin: 15px 0 15px;
    border-radius: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #eaf7ef;
    color: #216d4a;
    border: 1px solid #c8ebd6;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* 触摸屏点击后移除默认 focus 高亮，避免残留 */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.quick-link:hover {
    background: #d6f0e1;
    border-color: #216d4a;
    color: #185a3c;
    box-shadow: 0 2px 6px rgba(1,142,66,0.15);
}

.quick-link-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    display: flex;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.quick-link-modal .modal-content {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    animation: none;
    transform: none;
}

/* 固定在顶部的标题栏（拉通显示，无变色） */
.quick-link-modal .modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: #fff;
    color: #216d4a;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}

.quick-link-modal .modal-header-title {
    margin: 0;
    padding: 5px 18px 10px 8px;
    font-size: 28px;
    font-weight: 700;
    color: #216d4a;
    line-height: 1.2;
}

.quick-link-modal .modal-close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f0f3f1;
    color: #216d4a;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
    margin-right: -2px;
    margin-top: -10px;
    font-size: 26px;
    line-height: 1;
}

.quick-link-modal .modal-close:hover {
    background: #e3e9e5;
    color: #185a3c;
    transform: rotate(90deg);
}

.quick-link-modal .modal-close:active {
    transform: rotate(90deg) scale(0.88);
    background: #d6ddd9;
}

/* 封面图（来自图片设置，独立字段，不在正文中显示） */
.quick-link-modal .quick-link-cover {
    width: 100%;
    margin: 0 0 12px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.quick-link-modal .quick-link-cover img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* 后台管理页面 - 卡片预览区封面图 */
.preview-cover img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 10px;
}

/* 可滚动内容区域 */
.quick-link-modal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 0 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 弹窗内容加载中 / 失败提示 */
.quick-links-loading {
    width: 100%;
    max-width: 800px;
    padding: 40px 8px;
    text-align: center;
    color: #888;
    font-size: 15px;
    line-height: 1.6;
}

.quick-link-modal .modal-body::-webkit-scrollbar {
    display: none;
}

.quick-link-modal img {
    max-width: 100%;
    margin-top: 0;
    border-radius: 4px;
}

.company-profile, 
.company-culture, 
.company-history, 
.management-concept, 
.social-responsibility, 
.company-honors {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
}

/* 隐藏内容中原有的居中标题（标题已显示在顶部栏） */
.profile-title,
.culture-title,
.history-title,
.concept-title,
.responsibility-title,
.honors-title {
    display: none;
}

.profile-content {
    display: flex;
    gap: 20px;
}

.profile-image {
    flex: 1;
    margin-top: 15px;
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-text {
    flex: 1;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.company-info {
    margin-bottom: 15px;
}

.info-label {
    font-weight: bold;
    color: #216d4a;
}

.company-desc p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.company-desc p:last-child {
    margin-bottom: 0;
}

.company-culture {
    max-width: 800px;
    padding: 0 8px;
}

.culture-title {
    display: none;
}

.culture-image,
.history-image,
.concept-image,
.responsibility-image {
    margin-bottom: 20px;
    margin-top: 15px;
}

.culture-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.culture-content {
    line-height: 1.6;
}

.culture-content h3 {
    color: #216d4a;
    margin: 15px 0 10px;
    font-size: 16px;
}

.culture-content p {
    margin-bottom: 10px;
}

.company-history {
    max-width: 800px;
    padding: 0 8px;
}

.history-title {
    display: none;
}

.history-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.history-content {
    line-height: 1.6;
}

.history-content h3 {
    color: #216d4a;
    margin: 15px 0 10px;
    font-size: 16px;
}

.history-content p {
    margin-bottom: 10px;
}
.management-concept {
    max-width: 800px;
    padding: 0 8px;
}

.concept-title {
    display: none;
}

.concept-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.concept-content {
    line-height: 1.6;
}

.concept-content h3 {
    color: #216d4a;
    margin: 15px 0 10px;
    font-size: 16px;
}

.concept-content p {
    margin-bottom: 10px;
}
.social-responsibility {
    max-width: 800px;
    padding: 0 8px;
}

.responsibility-title {
    display: none;
}

.responsibility-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.responsibility-content {
    line-height: 1.6;
}

.responsibility-content h3 {
    color: #216d4a;
    margin: 15px 0 10px;
    font-size: 16px;
}

.responsibility-content p {
    margin-bottom: 10px;
}

.company-honors {
    max-width: 800px;
    padding: 0 8px;
}

.honors-title {
    display: none;
}

.timeline {
    position: relative;
    padding-left: 20px;
    margin-top: 15px;
    padding-right: 4px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #216d4a;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 14px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #216d4a;
}

.timeline-year {
    font-weight: bold;
    color: #216d4a;
    margin-bottom: 5px;
}

.timeline-content {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 6px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .quick-link-modal .modal-header-title {
        font-size: 22px;
    }
}