/*
Theme Name: Cathay Pan Asia Astra Child
Theme URI: https://cathaypanasia.com
Description: Astra child theme for Cathay Pan Asia Co., Ltd.
Author: Cathay Pan Asia Co., Ltd.
Template: astra
Version: 1.0.0
Text Domain: cathay-panasia-astra-child
*/

:root {
  --cpa-blue: #15366f;
  --cpa-gold: #a87419;
  --cpa-cream: #f7f3ea;
  --cpa-ink: #1d2634;
}

body {
  color: var(--cpa-ink);
}

a {
  color: var(--cpa-blue);
}

a:hover,
a:focus {
  color: var(--cpa-gold);
}

.ast-primary-header-bar {
  background: #fffdf8;
  border-bottom: 1px solid rgba(21, 54, 111, 0.12);
}

.site-title a,
.main-header-menu .menu-link {
  color: var(--cpa-ink);
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--cpa-blue);
}

.elementor-button,
input[type="submit"],
button {
  border-radius: 4px;
}

.elementor-button,
input[type="submit"] {
  background-color: var(--cpa-gold);
  border-color: var(--cpa-gold);
  color: #fff;
}

.elementor-button:hover,
input[type="submit"]:hover {
  background-color: #8f6117;
  border-color: #8f6117;
  color: #fff;
}

.hts-privacy-agree span {
  font-size: 0 !important;
}

.hts-privacy-agree span a {
  display: none !important;
}

.hts-privacy-agree span::before {
  content: "我同意中國泛亞股份有限公司使用本表單提供的聯絡資料，以回覆本次諮詢需求。";
  color: inherit;
  font-size: 14px;
  line-height: 1.6;
}
/* cpa-home-visual-polish */
body,
.site-content {
  background: var(--cpa-cream);
}

.site-title a,
.main-header-menu .menu-link {
  letter-spacing: 0;
}

.cpa-home-hero {
  isolation: isolate;
  min-height: 660px !important;
}

.cpa-home-hero::after {
  background: linear-gradient(
    90deg,
    rgba(10, 24, 45, 0.76),
    rgba(10, 24, 45, 0.48),
    rgba(10, 24, 45, 0.18)
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.cpa-home-hero > .e-con-inner,
.cpa-home-hero > .elementor-element {
  position: relative;
  z-index: 1;
}

.cpa-home-hero .elementor-heading-title {
  color: #fff !important;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 auto;
  max-width: 980px;
}

.cpa-home-hero .hostinger-ai-description {
  color: #fff !important;
  font-size: 20px;
  line-height: 1.7;
  margin: 18px auto 0;
  max-width: 760px;
}

.cpa-home-hero .elementor-button {
  border: 1px solid #c49444 !important;
  margin-top: 12px;
  padding: 15px 34px;
}

.cpa-home-hero .hostinger-ai-title:not(:first-child) .elementor-heading-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.cpa-home-about,
.cpa-home-services,
.cpa-home-contact {
  background: #fffdf8;
}

.cpa-home-about {
  border-bottom: 1px solid rgba(21, 54, 111, 0.1);
  border-top: 1px solid rgba(21, 54, 111, 0.1);
}

.cpa-home-about .hostinger-ai-title .elementor-heading-title,
.cpa-home-services .hostinger-ai-title .elementor-heading-title {
  color: var(--cpa-blue) !important;
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1.25;
}

.cpa-home-about .hostinger-ai-description,
.cpa-home-services .hostinger-ai-service-description {
  color: #394456;
  font-size: 17px;
  line-height: 1.85;
}

.cpa-home-about .hostinger-ai-testimonial-text {
  font-size: 18px;
  line-height: 1.8;
}

.cpa-home-about .hostinger-ai-background-image {
  border-radius: 6px;
  box-shadow: 0 24px 55px rgba(21, 54, 111, 0.17);
  overflow: hidden;
}

.cpa-home-services .e-con:has(.hostinger-ai-service-description) {
  background: #fff;
  border: 1px solid rgba(21, 54, 111, 0.12);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(29, 38, 52, 0.07);
  padding: 28px !important;
}

.cpa-home-services .hostinger-ai-service-description strong {
  color: var(--cpa-blue);
  display: block;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cpa-home-services img {
  border-radius: 4px;
}

.cpa-home-cta {
  background: var(--cpa-blue) !important;
  color: #fff;
}

.cpa-home-cta .elementor-heading-title,
.cpa-home-cta .hostinger-ai-description {
  color: #fff !important;
}

.cpa-home-contact {
  border-top: 1px solid rgba(21, 54, 111, 0.12);
}

.cpa-home-contact input,
.cpa-home-contact textarea {
  border: 1px solid rgba(21, 54, 111, 0.18) !important;
  border-radius: 4px !important;
}

@media (max-width: 767px) {
  .cpa-home-hero {
    min-height: 560px !important;
  }

  .cpa-home-hero .elementor-heading-title {
    font-size: 34px;
    line-height: 1.25;
  }

  .cpa-home-hero .hostinger-ai-description {
    font-size: 17px;
  }

  .cpa-home-about .hostinger-ai-title .elementor-heading-title,
  .cpa-home-services .hostinger-ai-title .elementor-heading-title {
    font-size: 28px;
  }

  .cpa-home-services .e-con:has(.hostinger-ai-service-description) {
    padding: 22px !important;
  }
}

