/* ===== probeix 统一设计系统（机构蓝·留学/驻地官网风） ===== */
/* 变量提升到 :root（原 .lp-page 作用域变量对无 .lp-page 的页面失效） */
:root {
  --red: #14518e;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --accent-color: #14518e;
  --nav-hover-color: #0066cc;
  --nav-dropdown-hover-color: #0066cc;
  --background-color: #ffffff;
  --contrast-color: #ffffff;
}

/* 深蓝基底：hero 与 footer 统一 */
.accent-background {
  --background-color: #14518e;
  --accent-color: #14518e;
  --contrast-color: #ffffff;
}
.footer.accent-background {
  background: linear-gradient(180deg, #14518e 0%, #0d3c6e 100%) !important;
}

/* 首页 hero：白纱叠加团队照（简洁清爽） */
.hero {
  background: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.94)), url('../image/hkbg1.jpg') center / cover no-repeat !important;
}
.hero .hero-bg-decor {
  display: none;
}
.hero .hero-badge span {
  color: #14518e !important;
}
.hero .hero-headline {
  color: #1f2937;
}
.hero .hero-headline em {
  color: #14518e !important;
  border-bottom: 3px solid rgba(20, 81, 142, 0.4) !important;
  border-bottom-color: rgba(20, 81, 142, 0.4) !important;
}
.hero .hero-desc {
  color: #475569;
}
.hero .btn-main,
.hero-actions .btn-main {
  background: #14518e;
  border-color: #14518e;
  color: #ffffff;
}
.hero .btn-main:hover,
.hero-actions .btn-main:hover {
  background: #0066cc;
  border-color: #0066cc;
  color: #ffffff;
}
.hero .btn-ghost {
  color: #14518e;
}

/* 内页标题区：每栏目专属背景图（统一规格 1600x460 + 统一浅蓝白纱） */
.page-title {
  background: #f5f7fa url('../picture/banner-about.jpg') center / cover no-repeat !important;
}
.page-title.page-title--about {
  background-image: url('../picture/banner-about.jpg') !important;
}
.page-title.page-title--flow {
  background-image: url('../picture/banner-flow.jpg') !important;
}
.page-title.page-title--contact {
  background-image: url('../picture/banner-contact.jpg') !important;
}
.page-title.page-title--faq {
  background-image: url('../picture/banner-faq.jpg') !important;
}
.page-title.page-title--professionals {
  background-image: url('../picture/banner-professionals.jpg') !important;
}
.page-title.page-title--partners {
  background-image: url('../picture/banner-partners.jpg') !important;
}

/* 顶部文字：通栏大图上的白字（压过模板 text-white / text-ink） */
.page-title .heading h1,
.page-title .heading .h1,
.page-title .heading .text-ink,
.page-title .text-ink {
  color: #ffffff !important;
}
.page-title .heading p,
.page-title .heading .mb-0 {
  color: rgba(255, 255, 255, 0.92) !important;
}
.page-title nav {
  background: #eef3f9 !important;
  border-top: 1px solid #e8eaed;
  border-bottom: 1px solid #e8eaed;
}
.page-title nav ol li,
.page-title nav ol li a,
.page-title nav ol li.current {
  color: #3c4043 !important;
}
.page-title nav ol li + li::before {
  color: #8a9099 !important;
}

@media (max-width: 767.98px) {
  .page-title {
    padding-top: 72px;
  }
  .page-title .heading {
    padding: 48px 0;
  }
  .page-title .heading h1 {
    font-size: 27px;
  }
  .page-title .heading p {
    font-size: 15px;
  }
}

/* 字体（微软雅黑/苹方主流栈） */
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif !important;
}

body {
  font-size: 16.5px;
  color: #333333;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
button,
input,
select,
textarea,
.form-control,
.card {
  font-family: inherit;
}

p,
li {
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: #202124;
  letter-spacing: 0.01em;
}

h1,
h2 {
  font-weight: 700;
}

/* 分区节奏：白与浅灰蓝交替 */
#process,
#featured-instructors,
#testimonials,
#instructors,
.lp-urgency,
.lp-sec-flow {
  background: #f5f7fa;
}
#featured-courses,
#course-categories,
#contact,
#about,
#cta,
.light-background {
  background: #ffffff;
}
section.section {
  background-color: #ffffff;
}

/* 品牌与导航 */
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: #14518e;
}

.footer .brand-name {
  color: #ffffff;
}

.navmenu > ul > li > a {
  position: relative;
  color: #1f2937;
  font-weight: 600;
}

.navmenu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #14518e;
  transition: width 0.25s ease, left 0.25s ease;
  transform: translateX(-50%);
}

.navmenu > ul > li > a:hover::after,
.navmenu > ul > li > a.active::after {
  width: 64%;
}

.navmenu > ul > li > a:hover,
.navmenu > ul > li > a.active {
  color: #14518e;
}

/* 按钮/链接/强调：统一机构蓝 */
a,
button,
.btn {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a {
  color: #14518e;
}

a:hover {
  color: #0066cc;
}

.btn-solid,
.btn-main,
.btn-getstarted,
.btn-primary {
  background: #14518e;
  border-color: #14518e;
  color: #ffffff;
}

.btn-solid:hover,
.btn-main:hover,
.btn-getstarted:hover,
.btn-primary:hover {
  background: #0066cc;
  border-color: #0066cc;
  color: #ffffff;
}

.btn-ghost {
  color: #14518e;
}

.meta-link {
  color: #14518e;
}

.meta-link:hover {
  color: #0066cc;
}

/* 数据条 */
.stat-num,
.stat-plus {
  color: #14518e !important;
}

.stat-label {
  color: #515151;
}

/* 卡片 */
.card,
.lp-page .card {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* 移动端 */
@media (max-width: 767.98px) {
  body {
    font-size: 16px;
  }

  p {
    line-height: 1.75;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .btn,
  button,
  a.nav-link {
    min-height: 44px;
  }
}

/* ===== 压制 mainkkt 残留 teal（同选择器覆盖） ===== */
.hero .hero-badge {
  color: #14518e !important;
}

.hero .hero-headline em {
  color: #14518e !important;
}

.hero .hero-stats-bar .stat-block .stat-num {
  color: #14518e !important;
}

/* ===== Google 帮助中心风：高亮/双色标题/后续胶囊 ===== */
.tx-accent {
  color: #14518e;
}

.mark-blue {
  background: rgba(66, 133, 244, 0.12);
  border-radius: 4px;
  padding: 2px 5px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f1f3f4;
  border-radius: 999px;
  color: #202124;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.chip:hover {
  background: #e8eaed;
  color: #202124;
}

.chip .bi {
  color: #14518e;
}

/* ===== 切换标签：去框，小图标+文字 ===== */
.hero .hero-desc {
  color: #5f6368;
}

/* ===== 終局統一：唯一色板 + 可讀性兜底 + 分區底色 ===== */
:root {
  --background-color: #ffffff;
  --default-color: #3c4043;
  --heading-color: #202124;
  --accent-color: #14518e;
  --surface-color: #f5f7fa;
  --contrast-color: #ffffff;
  --nav-hover-color: #0066cc;
  --nav-dropdown-hover-color: #0066cc;
}

body {
  color: #3c4043;
}

/* 深藍 footer：文字轉白，杜絕深底黑字 */
.footer.accent-background {
  --background-color: #14518e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #1c63a8;
  --contrast-color: #ffffff;
}
.footer.accent-background p,
.footer.accent-background li,
.footer.accent-background span,
.footer.accent-background h1,
.footer.accent-background h2,
.footer.accent-background h3,
.footer.accent-background h4,
.footer.accent-background h5,
.footer.accent-background h6 {
  color: rgba(255, 255, 255, 0.9) !important;
}
.footer.accent-background a {
  color: rgba(255, 255, 255, 0.88) !important;
}
.footer.accent-background a:hover {
  color: #ffffff !important;
}

.dark-background p,
.dark-background li,
.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4,
.dark-background h5,
.dark-background h6 {
  color: #ffffff !important;
}

/* 分區底色：壓過模板殘留的米粉 / 淡粉漸層 */
.lp-page .lp-urgency,
.lp-page .lp-strengths,
.lp-page .lp-step-wrap,
.lp-page .lp-case-wrap,
.lp-page .lp-achievements,
.lp-page .lp-price,
.lp-page .lp-document,
.lp-page .lp-fv-cta,
section.section.light-background {
  background: #f5f7fa !important;
}
#cta.section.light-background,
#about.section.light-background,
#contact.section.light-background {
  background: #ffffff !important;
}
.lp-page .lp-strength-highlight {
  color: #202124 !important;
  background: #f5f7fa !important;
  border-left: 3px solid #14518e !important;
}

/* 彩色標籤 / 星級 / 表單反饋：全部收斂到機構藍 */
.featured-courses .program-thumbnail .tag {
  background: #14518e !important;
  color: #ffffff !important;
}
.featured-courses .program-footer .score i,
.featured-instructors .mentor-details .star-rating i,
.testimonials .rating-showcase .rating-stars-row i,
.testimonials .press-card .press-stars i {
  color: #14518e !important;
}
.php-email-form .error-message,
.php-email-form .sent-message {
  background: #14518e !important;
}
.contact .form-card .btn-send,
button#submit-btn.btn-send {
  background: #14518e !important;
  border-color: #14518e !important;
  color: #ffffff !important;
}
.contact .form-card .btn-send:hover,
button#submit-btn.btn-send:hover {
  background: #0066cc !important;
  border-color: #0066cc !important;
  color: #ffffff !important;
}
.hero .hero-stats-bar p {
  color: #5f6368 !important;
}

/* 字階與可讀性：標題統一深灰，內文不加字距 */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #202124;
  letter-spacing: 0;
}
p,
li {
  color: #3c4043;
  letter-spacing: 0;
}
.stat-label {
  color: #5f6368;
}

/* ===== 当前栏目菜单：蓝字 + 蓝色下划线 ===== */
.navmenu > ul > li > a.active,
.navmenu > ul > li > a.active:hover {
  color: #14518e !important;
  font-weight: 700;
}
.navmenu > ul > li > a.active::after {
  width: 64% !important;
  height: 3px !important;
  bottom: 0 !important;
  background: #14518e !important;
}

/* ===== 栏目顶部真人场景海报：可读性兜底 + 彻底消灭粉色 ===== */
.page-title {
  background-position: center center !important;
  background-size: cover !important;
  background-color: #f4f8fc !important;
  border-bottom: 3px solid #14518e;
}
.page-title nav,
.page-title nav.breadcrumbs {
  background: #eef3f9 !important;
  background-color: #eef3f9 !important;
  border-top: 1px solid #dbe5f0 !important;
  border-bottom: 1px solid #dbe5f0 !important;
}
.page-title .heading h1,
.page-title .heading p {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.45);
}

/* 通栏全屏背景图：白字左对齐直接压在照片上 */
.page-title .heading .row {
  justify-content: flex-start !important;
}
.page-title .heading .col-lg-8 {
  text-align: left !important;
  max-width: 62% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  position: relative;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .page-title {
    background-position: center center !important;
  }
  .page-title .heading {
    background: transparent !important;
    padding: 46px 0;
  }
  .page-title .heading .col-lg-8 {
    max-width: 100% !important;
    text-align: left !important;
    padding-right: 14px;
  }
  .page-title .heading h1 {
    font-size: 25px;
  }
  .page-title .heading p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .navmenu > ul > li > a.active::after {
    width: 52% !important;
  }
  .page-title.page-title--about {
    background-image: url('../picture/banner-about-m.jpg') !important;
  }
  .page-title.page-title--flow {
    background-image: url('../picture/banner-flow-m.jpg') !important;
  }
  .page-title.page-title--contact {
    background-image: url('../picture/banner-contact-m.jpg') !important;
  }
  .page-title.page-title--faq {
    background-image: url('../picture/banner-faq-m.jpg') !important;
  }
  .page-title.page-title--professionals {
    background-image: url('../picture/banner-professionals-m.jpg') !important;
  }
  .page-title.page-title--partners {
    background-image: url('../picture/banner-partners-m.jpg') !important;
  }
}

/* ===== 移动端抽屉菜单：去掉当前栏目蓝色下划线（桌面专属设计，抽屉里是多余横线） ===== */
@media (max-width: 1199.98px) {
  .navmenu > ul > li > a::after,
  .navmenu > ul > li > a:hover::after,
  .navmenu > ul > li > a.active::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}


/* ===== New horizontal logo: hide duplicate site name text, unify heights ===== */
.header .brand-name,
.footer .brand-name { display: none !important; }
.header .logo img { max-height: 67px; width: auto; }
@media (max-width: 575.98px) {
  .header .logo img { max-height: 52px; }
}
.footer .footer-about .logo img { max-height: 52px; width: auto; }


/* ===== 栏目横幅：整图可见（高度跟随图片比例，标题居中，面包屑贴底） ===== */
.page-title {
  background-size: 100% 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(max(240px, 30vw), 620px);
  padding-top: 88px;
}
.page-title .heading { padding: 30px 0; }
.page-title nav { margin-top: auto; }
@media (max-width: 767.98px) {
  .page-title { min-height: min(max(270px, 66.7vw), 560px); }
}


/* ===== 栏目横幅：紧凑版（导航下方开始，不拉高；取景偏上保人脸） ===== */
.page-title {
  background-size: cover !important;
  background-position: center 30% !important;
  display: block;
  min-height: 0 !important;
  padding-top: 88px;
}
.page-title .heading { padding: 56px 0; }
.page-title nav { margin-top: 0; }
@media (max-width: 767.98px) {
  .page-title { min-height: 0 !important; }
  .page-title .heading { padding: 34px 0; }
}
