/* Start custom CSS for text-editor, class: .elementor-element-28295d74 */.canada-immigration-article {
  max-width: 850px;
  margin: 0 auto;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #222;
  line-height: 1.8;
}

/* ========== 圖片設定 ========== */
.canada-immigration-article img,
.canada-immigration-content img,
.canada-immigration-article .aligncenter {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* 圖片 hover 效果 */
.canada-immigration-article img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ========== CTA 區塊 ========== */
.cta-box {
  background: #f5f9ff;
  border-left: 4px solid #0066cc;
  padding: 25px;
  border-radius: 6px;
  margin: 35px 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}
.cta-box.highlight {
  background: #fff6e5;
  border-left-color: #ff9800;
}
.cta-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #003366;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.cta-button {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
  color: #fff;
}
.cta-button.whatsapp { background: #25d366; }
.cta-button.phone { background: #0073e6; }
.cta-button.primary { background: #0073e6; }
.cta-button:hover { filter: brightness(0.9); }

/* ========== FAQ 區塊 ========== */
.faq-container {
  margin: 30px 0;
  border-top: 2px solid #eee;
  padding-top: 20px;
}
.faq-container details {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.faq-container summary {
  cursor: pointer;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  position: relative;
  background: #f9f9f9;
  transition: background 0.2s ease;
}
.faq-container summary::marker { display: none; }
.faq-container summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  font-size: 20px;
  color: #888;
  transition: transform 0.2s ease;
}
.faq-container details[open] summary::after {
  content: "－";
  color: #0073e6;
}
.faq-container details[open] summary {
  background: #eef6ff;
}
.faq-container p {
  margin: 0;
  padding: 15px 18px;
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
}

/* ========== 響應式設定 ========== */
@media (max-width: 768px) {
  .cta-buttons { flex-direction: column; }
  .cta-button { text-align: center; }
  .faq-container summary { font-size: 15px; }
  .faq-container p { font-size: 14px; }
  .canada-immigration-article img {
    margin: 15px auto;
    border-radius: 4px;
  }
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-5cd15f47 *//* 基礎樣式 */
.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;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.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);
}

.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-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .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 */