@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-Italic-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --primary: #80BB73;
  --primary-dark: #980713;
  --primary-deeper: #911421;
  --date-red: #93010e;
  --bg-light: #edf5fb;
  --bg-lighter: #f2f8fc;
  --text-dark: #333;
  --text-muted: #999;
  --footer-bg: #060708;
  --content-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: #F9F9F9;
}

a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }
ul, li { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

.wrap { width: var(--content-w); max-width: 100%; margin: 0 auto;background: #fff; }

/* ===== 顶部栏 ===== */
.header {
  background: var(--primary);
  height: 100px;
  position: relative;
  z-index: 100;
}
.header .wrap {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  height: 100%;
  padding-top: 21px;
  background: transparent;
}
.header-logo img {
  height: 72px;
  width: auto;
}
h1 {
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  padding-top: 14px;
  padding-left: 21px;
}



/* ===== 导航栏 — Figma: 高48px, 半透明叠加在banner上 ===== */
.nav {
  background: var(--primary);
  height: 48px;
  position: relative;
  z-index: 99;
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 100%;
  background: transparent;
}
.nav-menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.nav-menu li a {
  color: #fff;
  font-size: 18px;
  letter-spacing: 1.08px;
  line-height: 18px;
  padding-bottom: 7px;
  display: block;
  white-space: nowrap;
}
/* .nav-menu li a:hover { opacity: 0.8; } */
.nav-menu li.now a {
  border-bottom: 2px solid #fff;
}
.nav-menu>li>a:not(.dropdown-toggle):hover {
  border-bottom: 2px solid #fff;
}

/* 下拉菜单 */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.dropdown-arrow {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  transition: transform 0.25s;
}
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: var(--primary);;
  padding: 6px 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 150;
}
.nav-menu .dropdown-menu li { width: 100%; }
.nav-menu .dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
}
.nav-menu .dropdown-menu li a:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.nav-menu .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* 手机端汉堡按钮 */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Banner横幅 ===== */
.banner {
  position: relative;
width: var(--content-w);
  max-width: 100%;
  margin: 0 auto;
}
.banner-img {
  width: 100%;
  height: clamp(200px, calc(933 / 1920 * var(--content-w) ), 1400px);
  overflow: hidden;
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  display: block;
}

/* ===== 通用组件 ===== */
.to-more:hover { opacity: 0.85;}
main {
  position: relative;
}
.body_home main img {
  width: 100%;
  height: auto;
}
h2 {
  font-size: 28px;
  color: #429C2E;
  font-weight: 400;
}
h3 {
  color: #000;
  font-size: 24px;
  line-height: 34px;
  font-weight: 400;
}

/* 头条新闻 */
.headline-news .inner {
  display: flex;
  position: relative;
  z-index: 1;
  padding-bottom: 58px;
}
.headline-news .inner::before {
  content: '';  
  display: block;
  width: 83.83%;
  height: 1px;
  background: #F4F4F4;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.headline-news .inner-part {
  margin-top: -58px;
  padding: 72px;
  width: 50%;
  flex-shrink: 0;
  padding: 72px 0 0;
  background: #fff;
}
/* 左栏 */
.headline-news .news-left {
  border-radius: 0 50px 0 0;
  position: relative;
  padding-left: 6.4%;
  padding-right: 3%;
}
.headline-news .news-left  img {
  border-radius: 20px;
}
/* 右栏 */
.headline-news .news-right {
  padding-right: 15%;
  padding-left: 4%;
  border-radius: 50px 0 0 0;
}
.headline-news .news-right h3 {
  margin: 31.5px 0 24px; text-align: initial;
}
.headline-news .news-right .text,
.mind-interview .mind-left p.intro_text {
  color: #999;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .84px;
  margin-bottom: 77px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.headline-news .news-right .to-more {
  font-size: 14px;
  color: #80BB74;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.headline-news .news-right .to-more img {
  width: 74px;
}

/* 心灵专访 */ 
.mind-interview {
  padding: 0 4.8% 99px;
}
.mind-interview h2 {
  text-align: center;
  padding: 46px 0;
}
.mind-interview .inner {
  display: flex;
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
}
/* 左栏 */
.mind-interview .mind-left {
  background: #80BB73;
  width: 43.5%;
  flex-shrink: 0;
  padding: 27px 3.3%;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 1.44px;
  color: #F7F8F9;
}
.mind-interview .mind-left p { line-height: 1.4; }
.mind-interview .mind-left p.a_title { margin: 32px auto 24px;}
.mind-interview .mind-left p.intro_text { color: #fffa; }
.mind-interview .mind-left a {
  display: block;
  width: 110px;
  margin: 23.96% auto 0;
}
.mind-interview .mind-left a img {
  width: 100%;
  height: auto;
}
/* 右栏 */
.mind-interview .mind-right {
  width: 56.5%;
  flex-shrink: 0;
  position: relative;
}
.mind-interview .mind-right .icon {
  width: 55px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

/* 心理快讯-心理科普 */
.psych-news .inner {
  padding: 0 8.33% 63.5px;
}
.tab-title {
  margin-bottom: 52px;
  display: flex;
  gap: 28px;
  cursor: pointer;
}
.tab-title li h2 {
  padding-bottom: 19px;
  color: #000;
}
.tab-title li.choose h2 {
  color: #429C2E;
  position: relative;
}
.tab-title li.choose h2::after {
  content: '';
  width: 66px;
  height: 1px;
  background: #429C2E;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.tab-main {
  grid-template-columns: repeat(2,1fr);
  column-gap: 60px;
  display: none;
}
.tab-main.show {
  display: grid;
}
.tab-main li {
  padding-bottom: 57px;
  min-width: 0;
}
.tab-main .date {
  font-size: 16px;
  line-height: 1;
  color: #429C2E;
  padding-left: 23px;
  background: url(../images/icon_date.png) no-repeat;
  background-size: 14px;
  background-position: left center;
  position: relative;
  margin-bottom: 22px;
}
.tab-main .date::after {
  content: '';
  display: block;
  width: calc(100% - 138px);
  height: 1px;
  background: #000;
  opacity: .09;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.tab-main .title {
  color: #000;
  font-size: 22px;
  letter-spacing: 1.32px;
  margin-bottom: 27px;
}
.tab-main .text {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* 人员介绍 */
.intro { padding: 0 4.6% 64.2px; }
.intro-slider.swiper-container { position: relative; overflow: hidden; width: 100%; }
.intro-slider .inner.swiper-slide { position: relative; opacity: 1; pointer-events: auto;  }
.intro-slider .inner { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 30px; overflow: hidden; background: #fff; }
.intro-dots.swiper-pagination { position: static; display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.intro-dots .my-bullet { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; display: inline-block; transition: background .3s; }
.intro-dots .my-bullet.active { background: #80BB73; opacity: 1; }
.intro .inner li { display: flex; gap: 1px; }
.intro .inner li:nth-child(n+3) { flex-direction: row-reverse; }
.intro .inner li>div { width: 50%; color: #fff; }
.intro .inner li .right { background: #80BB73; padding: 40px 20px 10px; }
.intro .inner li .title { font-size: 24px; margin-bottom: 35px; }
.intro .inner li .text { font-size: 16px; line-height: 1.4; letter-spacing: 1.08px; }
.intro .inner li .left img { display: block; width: 100%; height: 100%; object-fit: cover; }


/* 信息 */
.message {
  margin: 47px auto 64px;
  background: transparent;
}
.message .inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  column-gap: 3.08%;
  row-gap: 70px;
}
.message li {
  display: flex;
  gap: 11.65px;
}
.message li .left {
  display: block;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.message li .left:not(.other) {
  background: #80BB73;
  border-radius: 10px;
}
.message li .left:not(.other) img {
  width: 35px;
}
.message li .left.tel img {
  width: 34px;
}
.message li .left.intenet img {
  width: 42px;
}
.message li .title {
  color: #429C2E;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 1.08px;
  margin-bottom: 10px;
}
.message li .text {
  font-size: 16px;
  letter-spacing: 0.96px;
}

/* 页脚 */
.footer {
  background: url(../images/bg_footer.png) center / cover no-repeat;
  color: #fff;
  position: relative;
}
.footer-main {
  position: relative;
  z-index: 2;
  padding: 51px 0 40px;
}
.footer-grid {
  background: transparent;
  display: flex;
  align-items: center;
}
.footer-logo {
  flex-shrink: 0;
  margin-right: 170px;
}
.footer-logo img {
  height: 79px;
  width: auto;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.footer-info p {
  font-size: 16px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0.96px;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  opacity: .8;
}
.footer-info p:first-child {
  line-height: 40px;
}
.footer-icon {
  flex-shrink: 0;
}
.footer-info .icon {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.footer-qrcode {
  flex-shrink: 0;
  margin-left: 4%;
}
.footer-qrcode img {
  width: 148px;
  height: 149px;
}
.footer-copyright {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  text-align: center;
  opacity: .41;
}
.footer-copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}
.footer-copyright p {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: #fff;
}


h3.sub-title{margin:31.5px 0 24px; text-align: center; }
.show-meta{ text-align: center; font-size:16px;font-weight:400;line-height:1.5;letter-spacing:0.96px;color:#666;padding:1em;margin:0 auto 1em;border:1px dashed #aaa;border-radius:1em}
.show_bd{font-size:18px;line-height:2;min-height:300px;padding-bottom:50px}
.show_bd, .show_bd *{font-family:initial !important}
.main .show_bd img { max-width: 100%; height: auto !important; }

body .pb_sys_common { font-size: 18px; font-family: initial; }

/*响应式 */

/* --- 2K / 4K 大屏 --- */
@media (min-width: 2560px) {
  :root { --content-w: 1400px; }
}
@media (min-width: 3840px) {
  :root { --content-w: 1800px; }
  .header { height: 130px; }
  .header-logo img { height: 84px; }
  .nav { height: 62px; }
  .nav-menu li a { font-size: 22px; padding: 20px 0; }
}

/* --- 中等桌面 1440~1920 --- */
@media (max-width: 1680px) {
  /* 顶部栏 */
  .header { height: 88px; }
  .header-logo img { height: 56px; }
  .search-box { height: 44px; }
  .search-box input { width: 280px; font-size: 15px; }
  .search-box button { width: 110px; height: 36px; font-size: 15px; }

  /* 导航栏 */
  .nav-menu li a { font-size: 16px; letter-spacing: 0.5px; }

  /* 页脚 */
  .footer-logo { margin-right: 120px; }
  .footer-info p { font-size: 15px; }
  .footer-qrcode img { width: 130px; height: 131px; }
}

/* --- 笔记本 / 小桌面 1280~1440 --- */
@media (max-width: 1440px) {
  .wrap { width: 100%; padding: 0 50px;}
  .intro .inner li .right {
    padding: 40px 20px;
  }
  .intro .inner li .title {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .intro .inner li .text {
    font-size: 16px;
  }
  .mind-interview .mind-left {
    font-size: 18px;
  }
  .message {
    width: 90%;
  }
  .mind-interview {
    padding-bottom: 99px;
  }
  .psych-news .inner {
    padding: 0 0 65px;
  }
  .footer-logo { margin-right: 80px; }
}

@media (max-width: 1280px) {
  .wrap { width: 100%;padding: 0 20px;}
  h1 { font-size: 20px; }
  .nav-menu { gap: 20px; }
  .footer-logo { margin-right: 60px; }
  .footer-grid { gap: 20px; }
  .headline-news .news-right .text {
    margin-bottom: 15px;
  }
  .message {
    width: 85%;
  }
  .message li .title {
    margin-bottom: 6px;
  }
  .message .inner {
    grid-template-columns: 1.2fr 1fr;
  }
  .mind-interview {
    padding-bottom: 99px;
  }
  .headline-news .news-right h3 {
    font-size: 18px;
    line-height: 22px;
    margin: 15px 0;
  }
}

/* --- 平板 768~1280 --- */
@media (max-width: 1024px) {
  /* 头部 */
  .header { height: 80px; }
  .header-logo img { height: 50px; }
  .search-box { display: none; }

  /* 导航 */
  .hamburger { display: block; }
  .nav .wrap { position: relative; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--primary);;
    z-index: 200;
    padding: 8px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a {
    padding: 12px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  /* 移动端下拉菜单：展开式 */
  .nav-menu .has-dropdown { width: 100%; }
  .nav-menu .dropdown-toggle { justify-content: space-between; }
  .nav-menu .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    width: 100%;
    background: rgba(0,0,0,0.15);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-menu .has-dropdown.open .dropdown-menu { display: block; }
  .nav-menu .has-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
  .nav-menu .dropdown-menu li a {
    padding: 10px 40px;
    font-size: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  /* 禁用移动端 hover 展开 */
  .nav-menu .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Banner */
  .banner-img { height: 500px; }
  .banner-decor { top: 460px; height: 50px; }

  .intro .inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* 页脚 */
  .footer-grid { flex-wrap: wrap; }
  .footer-logo { margin-right: 40px; }
  .footer-logo img { height: 50px; }
  .footer-info p {font-size: 12px;}
  .footer-qrcode { margin-left: auto; }
  .footer-qrcode img { width: 100px; height: 100px; }
}

/* --- 手机 <768px --- */
@media (max-width: 768px) {
  /* 头部 */
  .header-logo img { height: 9.1vw; }
  .header .wrap {align-items: center;padding: 20px 15px; border-bottom: 1px solid #fff;}
  h1 {
    padding-top: 0;
    font-size: 3vw;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  .headline-news .inner {
    padding-bottom: 0;
    flex-direction: column;
  }
  .headline-news .inner-part {
    margin-top: -30px;
    width: 100%;
    border-radius: 30px;
  }
  .headline-news .news-left {
    padding: 40px 10px 20px;
  }
  .headline-news .news-right {
    padding: 40px 10px 20px;
  }
  .headline-news .news-right h3 {
    margin: 10px 0;
  }
  .headline-news .news-right .sub-title br {
    display: none;
  }
  .mind-interview .inner {
    flex-direction: column;
  }
  .mind-interview .mind-left,
  .mind-interview .mind-right {
    width: 100%;
  }
  .mind-interview .mind-left {
    padding: 20px 25px;
  }
  .mind-interview .mind-left p.intro_text { margin-bottom: 2em; }
  .mind-interview .mind-left a {
    margin-top: 20px;
  }
  .mind-interview {
    padding-bottom: 40px;
  }
  .psych-news .inner {
    padding: 0;
  }
  .tab-main.show {
    display: block;
  }
  .tab-main li {
    padding-bottom: 30px;
  }
  .tab-main .title {
    margin-bottom: 20px;
  }
  /* 导航 */
  .hamburger { display: block; }
  .nav { height: 44px; }
  .nav .wrap { position: relative; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 200;
    padding: 8px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li.now a {
    border-bottom: 0;
  } 
  .nav-menu li a {
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* 通用 */
  .section-title { font-size: 28px; line-height: 28px; margin-bottom: 30px; }

  /* Banner */
  .banner-img { height: 300px; }
  .message {
    width: 100%;
    padding: 0 15px;
  }
  .message .inner {
    row-gap: 20px;
  }
  .message li {
    align-items: center;
  }
  .message li .left {
    width: 50px;
    height: 50px;
  }
  .message li .left.tel img,
  .message li .left:not(.other) img,
  .message li .left.intenet img {
    width: 20px;
  }
  .intro-dots.swiper-pagination { padding-bottom: 1.5em;}

  /* 页脚 */
  .footer-main { padding: 30px 0 20px; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .footer-logo { margin-right: 0; }
  .footer-logo img { height: 50px; }
  .footer-info { align-items: center; }
  .footer-info p { font-size: 13px; line-height: 22px; justify-content: center; flex-wrap: wrap; }
  .footer-info p:first-child { line-height: 22px; }
  .footer-info p:first-child .footer-icon { margin-top: 0; }
  .footer-qrcode { margin-left: 0; }
  .footer-qrcode img { width: 100px; height: 100px; }
  .footer-copyright { padding: 15px 0; }
  .footer-copyright p { font-size: 13px; }
}
@media (max-width: 700px) {
  .message .inner {
    display: flex;
    flex-direction: column;
  }
}
/* --- 小手机 <480px --- */
@media (max-width: 480px) {
  .header .wrap {
    padding: 10px;
  }
  .header-logo img {
    height: 28px; 
  } 
  h1 {
    font-size: 14px;
    padding-left: 10px;
  }
  .banner-img {
     height: 200px; 
  }
}