.main-container { width: 100%; max-width: 1330px; margin: 0 auto; position: relative; padding: 0 15px; box-sizing: border-box; } .right-sidebar { position: fixed; left: calc(50% + 665px); margin-left: 100px; bottom: 30px; z-index: 9999; } @media screen and (max-width: 1430px) { .right-sidebar { left: auto; right: 20px; margin-left: 0; } } @media screen and (max-width: 767px) { .right-sidebar { width: 100%; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; background: rgba(57, 110, 209, 0.95); padding: 8px 0; margin: 0; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); } .sidebar-item { width: 40px; height: 40px; margin: 0; border-radius: 50%; position: relative; } .sidebar-item:hover { transform: none; } .sidebar-item i { font-size: 18px; } .sidebar-text { display: none; } .sidebar-item[lay-on="backtop"] { display: none !important; } } .sidebar-item { width: 60px; height: 60px; margin-bottom: 10px; border-radius: 50%; background-color: #396ED1; color: white; text-align: center; line-height: 60px; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: all 0.3s; position: relative; } .sidebar-item:hover { background-color: #2d5db3; transform: scale(1.1); } .sidebar-item i { font-size: 38px; } .sidebar-text { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); background-color: #396ED1; color: white; padding: 5px 15px; border-radius: 4px; font-size: 14px; white-space: nowrap; opacity: 0; transition: all 0.3s; pointer-events: none; } .sidebar-text:after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-left: 6px solid #396ED1; border-top: 6px solid transparent; border-bottom: 6px solid transparent; } .sidebar-item:hover .sidebar-text { opacity: 1; right: 65px; } .form-popup { position: fixed; right: calc(50% - 665px - 100px + 100px); bottom: 100px; background: white; border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 99999; padding: 0; width: 380px; max-height: 80vh; overflow-y: auto; overflow-x: hidden; } .form-popup:after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-left: 6px solid white; border-top: 6px solid transparent; border-bottom: 6px solid transparent; } .wechat-popup { position: fixed; right: calc(50% - 665px - 100px + 100px); bottom: 100px; background: white; border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 99999; padding: 15px; width: 220px; text-align: center; overflow: hidden; } .wechat-popup:after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-left: 6px solid white; border-top: 6px solid transparent; border-bottom: 6px solid transparent; } @media (max-width: 1430px) { .form-popup, .wechat-popup { right: 100px; } } @media (max-width: 767px) { .form-popup, .wechat-popup { width: calc(100% - 40px); left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: 80px; } .form-popup:after, .wechat-popup:after { display: none; } } .form-card { background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); overflow: hidden; position: relative; } .form-header { background: linear-gradient(135deg, #396ED1, #2a5cb8); color: #fff; padding: 12px 35px 12px 12px; text-align: center; font-size: 15px; font-weight: 500; position: relative; } .close-btn { position: absolute; right: 10px; top: 10px; color: #fff; font-size: 18px; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; } .close-btn:hover { opacity: 1; } .form-body { padding: 15px; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 6px; color: #555; font-size: 13px; font-weight: 500; } .form-group .required { color: #ff4d4f; font-size: 13px; } .form-control { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; transition: all 0.2s; box-sizing: border-box; } .form-control:focus { border-color: #396ED1; box-shadow: 0 0 0 2px rgba(57, 110, 209, 0.1); outline: none; } .radio-group { display: flex; flex-wrap: wrap; gap: 5px; } .radio-item { flex: 1 0 calc(33.333% - 5px); min-width: 0; } .radio-item input[type="radio"] { display: none; } .radio-item label { display: block; padding: 6px 4px; background: #f5f7fa; border: 1px solid #ddd; border-radius: 4px; text-align: center; cursor: pointer; transition: all 0.2s; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .radio-item input[type="radio"]:checked + label { background: rgba(57, 110, 209, 0.1); border-color: #396ED1; color: #396ED1; font-weight: 500; } .submit-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 8px; background: linear-gradient(135deg, #396ED1, #2a5cb8); color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: button; transition: all 0.2s; margin-top: 12px; position: relative; overflow: hidden; } .submit-btn:hover { opacity: 0.9; } .submit-btn.loading { pointer-events: none; } .submit-btn.loading .btn-text { visibility: hidden; } .submit-btn.loading:after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .form-footer { padding: 10px; background: #f5f5f5; text-align: center; font-size: 12px; color: #666; border-top: 1px solid #eee; } .error-message { color: #ff4d4f; font-size: 11px; margin-top: 4px; display: none; } .error { border-color: #ff4d4f !important; } .popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 99998; display: none; } .custom-alert { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 1000; justify-content: center; align-items: center; } .alert-content { background: white; border-radius: 6px; width: 260px; padding: 20px; text-align: center; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); animation: fadeIn 0.3s; position: relative; overflow: hidden; } .alert-close { position: absolute; right: 12px; top: 12px; font-size: 16px; color: #999; cursor: pointer; } .alert-close:hover { color: #666; } .alert-icon { color: #4CAF50; font-size: 36px; margin-bottom: 12px; } .alert-title { font-size: 16px; font-weight: 500; margin-bottom: 8px; color: #333; } .alert-message { font-size: 13px; color: #666; margin-bottom: 16px; } .alert-button { background: #396ED1; color: white; border: none; border-radius: 4px; padding: 8px 16px; font-size: 13px; cursor: pointer; transition: all 0.2s; } .alert-button:hover { background: #2a5cb8; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: translateY(0); } } .wechat-popup img { width: 150px; height: 150px; margin-bottom: 8px; } .wechat-popup p { color: #666; font-size: 13px; margin: 5px 0; } .news-container { width: 1330px; margin: 0 auto; background-color: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); } .news-header { padding: 40px 60px 20px; border-bottom: 1px solid #f0f0f0; } .news-title { font-size: 36px; font-weight: 700; margin-bottom: 20px; line-height: 1.4; color: #222; } .news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 16px; color: #666; } .news-source { display: flex; align-items: center; } .news-source img { width: 24px; height: 24px; border-radius: 50%; margin-right: 10px; } .news-date { color: #999; } .news-image { width: 100%; height: auto; margin: 0 auto; position: relative; } .news-image img { width: 100%; height: 500px; object-fit: cover; display: block; } .image-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 15px 60px; font-size: 14px; } .news-content { padding: 40px 60px; font-size: 18px; color: #444; } .news-content p { margin-bottom: 25px; text-align: justify; line-height: 1.8; } .news-content h2 { font-size: 24px; margin: 40px 0 20px; color: #222; font-weight: 600; } .news-content blockquote { border-left: 4px solid #4a90e2; padding: 15px 20px; background-color: #f5f9ff; margin: 20px 0; font-style: italic; color: #555; } .news-footer { padding: 30px 60px; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; } .tags { display: flex; gap: 10px; } .tag { background-color: #f0f0f0; padding: 5px 12px; border-radius: 15px; font-size: 14px; color: #666; } .social-share { display: flex; gap: 15px; } .share-btn { width: 36px; height: 36px; border-radius: 50%; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; } .share-btn:hover { background-color: #e0e0e0; } @media (max-width: 1400px) { .news-container { width: 90%; } .news-header, .news-content, .news-footer { padding: 30px 40px; } .news-title { font-size: 32px; } .news-image img { height: 400px; } } @media (max-width: 768px) { .news-header, .news-content, .news-footer { padding: 20px; } .news-title { font-size: 26px; } .news-image img { height: 250px; } .news-content { font-size: 16px; } }