@charset "UTF-8";
/* ====== 首页样式表 /css/article-index.css ======
   包含：首页特定样式、Bootstrap核心布局、Font Awesome图标替代方案
   加拿大PC28预测算法专用样式模块
   版本：v3.0 (合并PC28预测算法完整样式)
   ================================================== */

/* ====== Bootstrap 核心重置 ====== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background: #f4f7fb;
    padding: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 移除所有列表的默认样式 */
ul, ol, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ====== 首页特定样式 ====== */
.home-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(0,20,30,0.15);
    border-radius: 28px;
    padding: 2.5rem 2.2rem;
    transition: all 0.2s ease;
}

@media (max-width: 576px) {
    .home-wrapper {
        padding: 1.5rem 1.2rem;
        border-radius: 20px;
        margin: 10px auto;
    }
}

/* 首页头部样式 */
.home-header {
    background: linear-gradient(135deg, #f0f4fa 0%, #e6edf6 100%);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    border: 1px solid rgba(59, 110, 156, 0.1);
}

.home-header h1 {
    font-size: 2.4rem;
    font-weight: 750;
    color: #0b1c2e;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.home-header p {
    font-size: 1.2rem;
    color: #4a5f73;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .home-header {
        padding: 1.8rem;
    }
    .home-header h1 {
        font-size: 1.9rem;
    }
    .home-header p {
        font-size: 1rem;
    }
}

/* ========== 加拿大PC28预测算法专用样式 ========== */

/* 预测面板 */
.prediction-panel {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.prediction-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.prediction-icon {
    font-size: 32px;
}

.prediction-header h2 {
    font-size: 24px;
    margin: 0;
    color: white;
}

.update-time {
    font-size: 12px;
    opacity: 0.7;
    margin-left: auto;
}

.prediction-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 24px;
}

.next-prediction {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.prediction-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.prediction-number {
    font-size: 64px;
    font-weight: bold;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.prediction-range {
    font-size: 14px;
    margin-bottom: 15px;
}

.confidence-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    height: 30px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.confidence-fill {
    background: #4caf50;
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease;
}

.confidence-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.prediction-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.detail-item {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 13px;
    opacity: 0.8;
}

.detail-value {
    font-size: 16px;
    font-weight: bold;
}

.prediction-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.strategy-box, .risk-box {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
}

.strategy-box {
    background: rgba(76, 175, 80, 0.2);
    border-left: 4px solid #4caf50;
}

.risk-box {
    background: rgba(255, 152, 0, 0.2);
    border-left: 4px solid #ff9800;
}

/* 精准度面板 */
.accuracy-panel {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.accuracy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.accuracy-icon {
    font-size: 28px;
}

.accuracy-header h2 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.accuracy-card {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s;
}

.accuracy-card:hover {
    transform: translateY(-3px);
}

.accuracy-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}

.accuracy-value {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.accuracy-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.accuracy-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* 历史数据表格 */
.history-panel {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.history-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.history-icon {
    font-size: 28px;
}

.history-header h2 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.history-note {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
}

.history-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.history-table th, .history-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.history-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.history-table tr:hover {
    background: #f8f9fa;
}

.sum-cell {
    font-weight: bold;
    font-size: 16px;
    color: #667eea;
}

.color-cell {
    font-weight: bold;
}

.color-红 { color: #e74c3c; }
.color-蓝 { color: #3498db; }
.color-绿 { color: #2ecc71; }

/* 统计面板 */
.statistics-panel {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.statistics-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.statistics-icon {
    font-size: 28px;
}

.statistics-header h2 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    border-left: 3px solid #667eea;
    padding-left: 12px;
}

.stat-content {
    font-size: 14px;
    line-height: 1.8;
}

.stat-content strong {
    color: #667eea;
}

.color-distribution {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.tip-text {
    font-size: 12px;
    color: #ff9800;
    margin-top: 10px;
    padding: 8px;
    background: #fff3e0;
    border-radius: 8px;
}

/* 数组表格 */
.arrays-panel {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.arrays-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.arrays-icon {
    font-size: 28px;
}

.arrays-header h2 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.arrays-header span:last-child {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
}

.arrays-table-wrapper {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 16px;
}

.arrays-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.arrays-table th, .arrays-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.arrays-table th {
    background: #f8f9fa;
    position: sticky;
    top: 0;
    font-weight: 600;
    color: #2c3e50;
}

.arrays-table tr:hover {
    background: #f8f9fa;
}

/* 算法卡片 */
.algorithms-panel {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.algorithms-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.algorithms-icon {
    font-size: 28px;
}

.algorithms-header h2 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.algorithms-header span:last-child {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
}

.algorithms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.algo-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.algo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.algo-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.algo-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.algo-card p {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

/* FAQ模块 */
.faq-reference-module {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.faq-ref-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.faq-ref-icon {
    font-size: 28px;
}

.faq-ref-header h2 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

.faq-ref-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.faq-ref-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s;
}

.faq-ref-item:hover {
    transform: translateX(3px);
}

.faq-ref-item p {
    margin: 5px 0;
    font-size: 13px;
}

.faq-ref-item p:first-child {
    font-weight: bold;
    color: #2c3e50;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .prediction-main {
        grid-template-columns: 1fr;
    }
    .accuracy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    .algorithms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-ref-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .prediction-details {
        grid-template-columns: 1fr;
    }
    .prediction-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .accuracy-grid {
        grid-template-columns: 1fr;
    }
    .algorithms-grid {
        grid-template-columns: 1fr;
    }
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    .prediction-number {
        font-size: 48px;
    }
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* ====== 首页网格布局 ====== */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* 文章卡片 */
.article-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    display: flex;
    border: 1px solid #eef2f6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(59, 110, 156, 0.2);
}

.article-thumb {
    width: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.article-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-thumb:hover img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.8rem;
    flex: 1;
}

.article-title {
    font-size: 1.6rem;
    font-weight: 680;
    margin-bottom: 12px;
    color: #0b1c2e;
}

.article-title a {
    color: #0b1c2e;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: #3b6e9c;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: #4a5f73;
    background: #f0f4fa;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 110, 156, 0.1);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-summary {
    color: #2a3b4c;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #3b6e9c;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.read-more:hover {
    color: #1a3e5c;
    border-bottom-color: #1a3e5c;
}

.read-more i {
    margin-left: 6px;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .article-card {
        flex-direction: column;
    }
    .article-thumb {
        width: 100%;
        height: 200px;
    }
    .article-title {
        font-size: 1.4rem;
    }
}

/* 侧边栏卡片 */
.sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    margin-bottom: 25px;
    border: 1px solid #eef2f6;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 620;
    color: #153e5a;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #cbdbe9;
}

.sidebar-title i {
    color: #3b6e9c;
    margin-right: 8px;
}

/* 推荐阅读项 */
.recommend-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    color: inherit;
    padding: 8px;
    border-radius: 16px;
    transition: background 0.2s;
    list-style: none;
}

.recommend-item:hover {
    background: #f0f4fa;
}

.recommend-thumb {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid #eef2f6;
}

.recommend-title {
    font-size: 1rem;
    font-weight: 540;
    color: #1e4d6f;
    margin-bottom: 4px;
    line-height: 1.4;
}

.recommend-item small {
    color: #6c7a8a;
    font-size: 0.85rem;
}

/* 友情链接 */
.friend-link {
    display: inline-block;
    background: #f0f4fa;
    padding: 6px 16px;
    border-radius: 30px;
    margin: 4px;
    color: #3b6e9c;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 110, 156, 0.1);
    transition: all 0.2s;
    list-style: none;
}

.friend-link:hover {
    background: #3b6e9c;
    color: white;
    border-color: #3b6e9c;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 2.5rem 0 1rem;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 30px;
    background: #f0f4fa;
    color: #2b4f6e;
    text-decoration: none;
    border: 1px solid rgba(59, 110, 156, 0.15);
    font-weight: 500;
    transition: all 0.2s;
    list-style: none;
}

.page-link i {
    font-size: 14px;
}

.page-link:hover {
    background: #3b6e9c;
    color: white;
    border-color: #3b6e9c;
}

.page-link.active {
    background: #2b4f6e;
    color: white;
    border-color: #2b4f6e;
}

.page-link.disabled {
    color: #a0b3c5;
    pointer-events: none;
    background: #f5f7fa;
    border-color: #d8e2ed;
}

.page-dots {
    color: #6c7a8a;
    padding: 0 5px;
    list-style: none;
}

.page-info {
    margin-left: 10px;
    color: #4a5f73;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .pagination {
        gap: 5px;
    }
    .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* 站点地图按钮 */
.sitemap-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #f0f4fa;
    color: #2b4f6e;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(59, 110, 156, 0.15);
    transition: all 0.2s;
    font-weight: 500;
}

.sitemap-btn:hover {
    background: #3b6e9c;
    color: white;
}

/* 页脚 */
.site-footer {
    text-align: center;
    padding: 2rem 0 0.8rem 0;
    margin-top: 3.2rem;
    color: #5b6f82;
    border-top: 1px solid #d8e2ed;
    font-size: 0.95rem;
}

.site-footer p {
    margin-bottom: 0.2rem;
}

/* ====== Font Awesome 图标替代方案（使用 Emoji）====== */

/* 通用图标基类 */
[class^="icon-"]::before,
[class*=" icon-"]::before,
.fas::before,
.far::before,
.fa::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 4px;
}

/* 书籍图标 */
.fa-book-open::before,
.icon-book::before {
    content: "📖";
}

/* 报纸图标 */
.fa-newspaper::before,
.icon-newspaper::before {
    content: "📰";
}

/* 用户图标 */
.fa-user::before,
.icon-user::before {
    content: "👤";
}

/* 日历图标 */
.fa-calendar::before,
.fa-calendar-alt::before,
.icon-calendar::before {
    content: "📅";
}

/* 眼睛图标 */
.fa-eye::before,
.icon-eye::before {
    content: "👁️";
}

/* 箭头右 */
.fa-arrow-right::before,
.icon-arrow-right::before {
    content: "→";
    margin-left: 4px;
    margin-right: 0;
}

/* 箭头左 */
.fa-chevron-left::before,
.icon-chevron-left::before {
    content: "←";
}

/* 箭头右（小） */
.fa-chevron-right::before,
.icon-chevron-right::before {
    content: "→";
}

/* 星星图标 */
.fa-star::before,
.icon-star::before {
    content: "⭐";
}

/* 链接图标 */
.fa-link::before,
.icon-link::before {
    content: "🔗";
}

/* 站点地图图标 */
.fa-sitemap::before,
.icon-sitemap::before {
    content: "🗺️";
}

/* 文件代码图标 */
.fa-file-code::before,
.icon-file-code::before {
    content: "📄";
}

/* 时钟图标 */
.fa-clock::before,
.icon-clock::before {
    content: "⏰";
}

/* 主页图标 */
.fa-home::before,
.icon-home::before {
    content: "🏠";
}

/* 搜索图标 */
.fa-search::before,
.icon-search::before {
    content: "🔍";
}

/* 设置图标 */
.fa-cog::before,
.fa-cogs::before,
.icon-settings::before {
    content: "⚙️";
}

/* 上传图标 */
.fa-upload::before,
.icon-upload::before {
    content: "📤";
}

/* 下载图标 */
.fa-download::before,
.icon-download::before {
    content: "📥";
}

/* 打印图标 */
.fa-print::before,
.icon-print::before {
    content: "🖨️";
}

/* 分享图标 */
.fa-share::before,
.fa-share-alt::before,
.icon-share::before {
    content: "📤";
}

/* 心形图标 */
.fa-heart::before,
.icon-heart::before {
    content: "❤️";
}

/* 评论图标 */
.fa-comment::before,
.fa-comments::before,
.icon-comment::before {
    content: "💬";
}

/* 标签图标 */
.fa-tag::before,
.fa-tags::before,
.icon-tag::before {
    content: "🏷️";
}

/* 文件夹图标 */
.fa-folder::before,
.fa-folder-open::before,
.icon-folder::before {
    content: "📁";
}

/* 信息图标 */
.fa-info::before,
.fa-info-circle::before,
.icon-info::before {
    content: "ℹ️";
}

/* 警告图标 */
.fa-exclamation::before,
.fa-exclamation-triangle::before,
.fa-exclamation-circle::before,
.icon-warning::before {
    content: "⚠️";
}

/* 错误图标 */
.fa-times::before,
.fa-times-circle::before,
.fa-close::before,
.icon-error::before {
    content: "❌";
}

/* 成功图标 */
.fa-check::before,
.fa-check-circle::before,
.icon-success::before {
    content: "✅";
}

/* 问号图标 */
.fa-question::before,
.fa-question-circle::before,
.icon-question::before {
    content: "❓";
}

/* 电话图标 */
.fa-phone::before,
.icon-phone::before {
    content: "📱";
}

/* 邮件图标 */
.fa-envelope::before,
.fa-envelope-open::before,
.fa-mail::before,
.icon-mail::before {
    content: "📧";
}

/* 位置图标 */
.fa-map-marker::before,
.fa-map-marker-alt::before,
.fa-location::before,
.icon-location::before {
    content: "📍";
}

/* 确保图标和文字之间有适当的间距 */
.fas, .far, .fa, [class^="icon-"], [class*=" icon-"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 只有图标没有文字的情况 */
.fas:only-child, 
.far:only-child, 
.fa:only-child,
[class^="icon-"]:only-child,
[class*=" icon-"]:only-child {
    margin-right: 0;
}

/* 按钮中的图标 */
.btn i,
button i,
a i {
    display: inline-block;
}