:root {
  --body-width: 100%;
  --body-max-width: 1280px;
  --general-font-size: 14px;
  --large-font-size: 18px;
  --larger-font-size: 22px;
  --largest-font-size: 26px;
  --score-font-size: 42px;
  --atar-font-size: 48px;
  --general-color: #000;
  --navy-color: #233C64;
  --gold-color: #B38A3D;
  --gold-dark-color: #9B5D08;
  --orange-color: orange;
  --gold-light-color: #FFF9F0;
  --global-bg-color: #F7F9FC;
  --panel-bg-color: #FFFFFF;
  --small-border-radius: 8px;
  --normal-border-radius: 12px;
  --large-border-radius: 16px;
  --normal-font-weight: 500;
  --large-font-weight: 700;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  --phone-number: 0422777073;
  --wechat-account: JE_Education;
}

* {
  font-size: var(--general-font-size);
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  color: var(--navy-color);
  background: var(--global-bg-color);
  font-size: var(--general-font-size);
  width: 100%;
  max-width: var(--body-max-width);
  margin: 0 auto;
}

main {
  padding: 0 15px;
}

.logo .square {
  width: 42px;
  height: 42px;
  color: #FFF;
  border-radius: 5px;
  padding: 17px 0 6px 2px;
  background: var(--navy-color);
  display: inline-block;
}

.logo .square * {
  font-size: 10px;
}

.logo .math b {
  color: var(--orange-color);
}

.tel-number {
  display: block;
  align-self: center;
}

/* BUTTONS */
.btn {
  padding: 10px 18px;
  text-decoration: none;
  font-size: 100%;
  border-radius: var(--small-border-radius);
  font-weight: var(--large-font-weight);
}

.btn-call {
  color: #FFF;
  background: var(--navy-color);
}

.btn-wechat {
  color: #000;
  background: var(--orange-color);
}

.btn-login-je {
  color: #000;
  font-size: var(--larger-font-size);
  background: var(--orange-color);
}

.btn-call-header {
  display: block;
}

.btn-call-header-icon,
.btn-call-header-icon2 {
  display: none;
  color: #FFF;
  padding: 8px 16px;
  background: var(--navy-color);
}

.btn-call-header-icon img {
  width: 18px;
  height: 18px;
}

.btn-call-header-icon2 {
  padding: 0;
  background: transparent;
}

.btn-call-header-icon2 img {
  width: 50px;
  height: 33px;
  margin-top: 3px;
}

.phone-icon {
  color: #000 !important;
  padding: 10px;
  color: inherit !important;
  text-decoration: none;
}

/* Site Header */
.site-header {
  background: var(--panel-bg-color);
  color: var(--navy-color);
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.site-header .nav {
  display: block;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px 0 0;
}

.logo {
  font-weight: var(--large-font-weight);
  font-size: var(--larger-font-size);
}

.logo a,
.nav a {
  color: var(--navy-color);
  text-decoration: none;
  margin: 0 12px;
  font-size: 100%;
}

.logo .name {
  display: inline-block;
  vertical-align: super;
}

.logo .name,
.logo a {
  font-size: 26px;
}

.nav a:hover,
.nav a.active {
  color: var(--orange-color);
}

.buttons,
.header-actions {
  display: flex;
  gap: 10px;
}

.nav .tip {
  display: none;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 160%;
  padding-bottom: 3px;
}

/* Site Footer */
.site-footer {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.footer-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.footer-copyright {
  font-size: 100%;
  line-height: 150%;
  padding: 10px 0;
}



/* 2. 手机端样式分割点 (屏幕宽度 < 768px) */
@media screen and (max-width: 767px) {
  :root {
    --body-width: 100%;
    --body-max-width: 1280px;
    --general-font-size: 12px;
    --large-font-size: 14px;
    --larger-font-size: 16px;
    --largest-font-size: 18px;
    --score-font-size: 28px;
    --atar-font-size: 32px;
    --small-border-radius: 8px;
    --normal-border-radius: 12px;
    --large-border-radius: 16px;
    --normal-font-weight: 500;
    --large-font-weight: 700;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  }

  body {
    width: var(--body-width);
  }

  .header-inner {
    padding: 0;
    position: relative;
    padding-right: 10px;
  }

  .btn-call-header {
    display: none;
  }

  .btn-call-header-icon,
  .btn-call-header-icon2 {
    display: block;
    right: 58px;
    position: absolute;
  }

  .menu-toggle {
    display: block;
    font-size: 38px;
  }

  .site-header .btn-wechat {
    display: none;
  }

  .site-header .nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--navy-color);
  }

  .site-header .nav a {
    color: #FFF;
    width: 100%;
    display: block;
    padding: 10px 20px;
    font-size: var(--large-font-size);
  }

  .nav .tip {
    display: block;
    position: relative;
    padding: 10px 20px;
  }

  .nav .tip .close,
  .nav .tip .text {
    color: #FFF;
    font-size: var(--larger-font-size);
  }

  .nav .tip .close {
    right: 15px;
    top: 10px;
    cursor: pointer;
    position: absolute;
  }

  .logo .name {
    font-size: 20px;
  }

  .tel-number {
    display: none;
  }
}