
/* 使用特定前缀避免全局样式冲突 */
.foam-article-wrapper {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.8;
    color: #333;
}

.foam-article-wrapper .fa-main-title {
    color: #223777;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #223777;
}

.foam-article-wrapper .fa-section-title {
    color: #223777;
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 6px solid #223777;
}

.foam-article-wrapper .fa-sub-title {
    color: #000000;
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
}

.foam-article-wrapper .fa-paragraph {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.9;
}

.foam-article-wrapper .fa-strong {
    color: #223777;
    font-weight: 700;
}

.foam-article-wrapper .fa-emphasis {
    color: #000000;
    font-style: italic;
}

.foam-article-wrapper .fa-list,
.foam-article-wrapper .fa-ordered-list {
    margin-left: 35px;
    margin-bottom: 25px;
}

.foam-article-wrapper .fa-list-item {
    margin-bottom: 12px;
    line-height: 1.8;
}

.foam-article-wrapper .fa-highlight-box {
    background: linear-gradient(135deg, #e8eef7 0%, #f0f4fb 100%);
    border-left: 5px solid #223777;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(34, 55, 119, 0.1);
}

.foam-article-wrapper .fa-inquiry-box {
    background: linear-gradient(135deg, #223777 0%, #1a2a5e 100%);
    color: #fff;
    padding: 40px 30px;
    margin: 50px 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(34, 55, 119, 0.3);
}

.foam-article-wrapper .fa-inquiry-box h3 {
    color: #fff !important;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.foam-article-wrapper .fa-inquiry-box p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.foam-article-wrapper .fa-cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #223777;
    padding: 15px 35px;
    margin: 10px 8px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.foam-article-wrapper .fa-cta-button:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.foam-article-wrapper .fa-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.foam-article-wrapper .fa-table-header {
    background-color: #223777;
    color: #fff;
    padding: 16px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 1.05em;
}

.foam-article-wrapper .fa-table-cell {
    padding: 14px 18px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
}

.foam-article-wrapper .fa-table tr:hover .fa-table-cell {
    background-color: #f8f9fa;
}

.foam-article-wrapper .fa-table tr:last-child .fa-table-cell {
    border-bottom: none;
}

.foam-article-wrapper .fa-question-box {
    background-color: #f5f5f5;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 6px;
    border-left: 5px solid #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.foam-article-wrapper .fa-question-box h4 {
    color: #223777;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 700;
}

.foam-article-wrapper .fa-faq-section {
    margin-top: 60px;
}

.foam-article-wrapper .fa-faq-item {
    margin-bottom: 30px;
    padding: 25px 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid #223777;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.foam-article-wrapper .fa-faq-item h4 {
    color: #223777;
    margin-bottom: 15px;
    font-size: 1.25em;
    font-weight: 700;
}

.foam-article-wrapper .fa-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 35px 0;
}

.foam-article-wrapper .fa-pros,
.foam-article-wrapper .fa-cons {
    padding: 25px 30px;
    border-radius: 8px;
}

.foam-article-wrapper .fa-pros {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-left: 5px solid #4caf50;
}

.foam-article-wrapper .fa-cons {
    background: linear-gradient(135deg, #ffebee 0%, #fdf5f6 100%);
    border-left: 5px solid #f44336;
}

.foam-article-wrapper .fa-pros h3,
.foam-article-wrapper .fa-cons h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.foam-article-wrapper .fa-checklist {
    background: linear-gradient(135deg, #fff9e6 0%, #fffdf5 100%);
    padding: 25px 30px;
    margin: 35px 0;
    border-left: 5px solid #ffc107;
    border-radius: 6px;
}

.foam-article-wrapper .fa-checklist h4 {
    color: #223777;
    margin-bottom: 15px;
    font-weight: 700;
}

.foam-article-wrapper .fa-checklist ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.foam-article-wrapper .fa-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.foam-article-wrapper .fa-checklist li:before {
    content: "✓";
    color: #223777;
    font-weight: 900;
    font-size: 1.3em;
    position: absolute;
    left: 0;
    top: 0;
}

.foam-article-wrapper .fa-footer-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid #223777;
    text-align: center;
    color: #666;
}

.foam-article-wrapper .fa-footer-info p {
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .foam-article-wrapper .fa-main-title {
        font-size: 1.6em;
    }
    
    .foam-article-wrapper .fa-section-title {
        font-size: 1.4em;
    }
    
    .foam-article-wrapper .fa-sub-title {
        font-size: 1.2em;
    }
    
    .foam-article-wrapper .fa-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .foam-article-wrapper .fa-cta-button {
        display: block;
        margin: 10px 0;
    }
    
    .foam-article-wrapper .fa-table {
        font-size: 0.9em;
    }
    
    .foam-article-wrapper .fa-table-header,
    .foam-article-wrapper .fa-table-cell {
        padding: 10px 12px;
    }
}
