/* Start custom CSS for text-editor, class: .elementor-element-65a06ee1 *//* 基础样式 */
.canada-immigration-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.8;
    color: #333;
}

.canada-immigration-content h3 {
    color: #3366ff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.canada-immigration-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.canada-immigration-content li {
    margin-bottom: 10px;
}

.canada-immigration-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.canada-immigration-content a {
    color: #3366ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.canada-immigration-content a:hover {
    color: #2244cc;
    text-decoration: underline;
}

.canada-immigration-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.canada-immigration-content table td {
    border: 1px solid #ddd;
    padding: 15px;
    vertical-align: top;
}

/* CTA 样式 */
.cta-section {
    background-color: #f0f7ff;
    border-left: 5px solid #3366ff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    text-align: center;
}

.cta-section p {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* 按钮容器 - 用于左右排列按钮 */
.cta-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: #3366ff;
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(51, 102, 255, 0.2);
    flex: 0 0 auto; /* 防止按钮拉伸 */
}

.cta-button:hover {
    background-color: #2244cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(51, 102, 255, 0.3);
}

.final-cta {
    background-color: #e6f7ff;
    border-left-color: #0099cc;
    margin-top: 40px;
}

.whatsapp-cta {
    background-color: #25d366;
}

.whatsapp-cta:hover {
    background-color: #1da851;
}

.phone-cta {
    background-color: #0099cc;
}

.phone-cta:hover {
    background-color: #0077aa;
}

/* 重温部分样式 - 上圖下標題布局 */
.canada-immigration-content strong + a img,
.canada-immigration-content a + img,
.canada-immigration-content .elementor-widget-container img {
    display: block; /* 确保图片单独占一行 */
    margin: 0 0 15px 0; /* 图片下方留出空间给标题 */
    clear: both; /* 清除浮动 */
}

.canada-immigration-content strong a,
.canada-immigration-content a strong,
.canada-immigration-content .elementor-widget-container + div a,
.canada-immigration-content div[data-widget_type="theme-post-title.default"] a {
    display: block; /* 标题单独占一行 */
    margin: 0 0 30px 0; /* 标题下方留出更大空间 */
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .canada-immigration-content {
        padding: 10px;
    }
    
    .cta-section {
        padding: 15px;
    }
    
    /* 移动端按钮仍堆叠显示，提升可用性 */
    .cta-buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
    }
    
    .canada-immigration-content table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .canada-immigration-content table tr {
        margin-bottom: 20px;
        display: block;
    }
    
    /* 移动端调整重温部分 */
    .canada-immigration-content strong a,
    .canada-immigration-content a strong {
        font-size: 1rem;
    }
}/* End custom CSS */