/* Start custom CSS for text-editor, class: .elementor-element-4d58eee */.uk-living-costs {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  color: #2f3e46;
  background-color: #f9fbfd;
  line-height: 1.8;
  padding: 20px;
}

.uk-living-costs h2 {
  color: #1e4e79;
  border-left: 5px solid #5a8bb0;
  padding-left: 10px;
  margin-top: 30px;
  font-size: 1.6em;
}

.uk-living-costs h3 {
  color: #3e5c76;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.uk-living-costs p {
  margin-bottom: 16px;
}

/* -------- 表格樣式 -------- */
.city-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
}

.city-table th {
  background-color: #e1eaf2;
  color: #1e4e79;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

.city-table td {
  border: 1px solid #d0d8df;
  padding: 8px;
  text-align: center;
}

/* ✅ 表格 RWD 容器 */
.city-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}

/* 手機下優化表格字體與間距 */
@media (max-width: 768px) {
  .city-table th,
  .city-table td {
    padding: 6px 8px;
    font-size: 0.9em;
    white-space: nowrap; /* 不換行，確保捲動 */
  }
}

/* -------------------------------------- */
.source, .exchange-rate {
  font-size: 0.9em;
  color: #6b7a89;
  text-align: right;
}

.cta-block {
  text-align: center;
  margin: 25px 0;
}

.cta-btn {
  background-color: #1e4e79;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.3s;
  font-weight: 600;
}

.cta-btn:hover {
  background-color: #2f6ca3;
}

.cta-inline {
  text-align: right;
  margin: 20px 0;
}

.cta-btn-small {
  background-color: #5a8bb0;
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
}

.cta-btn-small:hover {
  background-color: #3b6e8d;
}

/* FAQ Section */
.faq-section {
  background-color: #f4f8fb;
  border-top: 3px solid #5a8bb0;
  padding: 25px 20px;
  border-radius: 8px;
  margin-top: 40px;
  box-sizing: border-box;
}

.faq-section h2 {
  color: #1e4e79;
  margin-bottom: 20px;
  border-left: 5px solid #5a8bb0;
  padding-left: 10px;
  font-size: 1.5em;
  line-height: 1.4;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #cdd6de;
  border-radius: 6px;
  background-color: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background-color: #e1eaf2;
  border: none;
  font-weight: 600;
  color: #1e4e79;
  cursor: pointer;
  position: relative;
  font-size: 1em;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
  background-color: #d5e3ef;
  color: #163b5c;
}

.faq-answer {
  display: none;
  padding: 16px 20px;
  background-color: #fff;
  color: #2f3e46;
  line-height: 1.8;
  font-size: 0.95em;
  border-top: 1px solid #e3e8ec;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer .cta-btn-small {
  margin-top: 10px;
  background-color: #5a8bb0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  display: inline-block;
  transition: background 0.3s ease;
}

.faq-answer .cta-btn-small:hover {
  background-color: #3b6e8d;
}

.faq-question::after {
  content: '+';
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #1e4e79;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
  color: #3b6e8d;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .faq-answer {
    padding: 14px 16px;
  }
}/* End custom CSS */