﻿/* 关于我们样式 */
.about {
  padding: 60px 0;
  background-size: 100%;
  background-position: center;
  background-color: var(--light-gray);
  position: relative;
}

/* 关于我们标题样式 */
.about-title {
  text-align: left;
  position: relative;
  margin-bottom: 30px;
}

.about-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 45px;
  height: 3px;
  background-color: var(--primary-color);
  display: block;
}

.about-title h3 {
  font-size: 24px;
  font-weight: normal;
  color: #333;
  padding-left: 60px;
  margin-bottom: 0;
}

.about-title h3 span {
  padding: 0;
}

.about-title h3:before {
  display: none;
}

.about-title p {
  font-size: 22px;
  /*font-weight: 600;*/
  color: #333;
  /*padding-left: 80px;*/
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: 1px;
}

.about-content {
  display: flex;
  flex-direction: column;
  position: relative;
}

.about-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.about-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  margin-right: 20px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s;
  white-space: nowrap;
  min-width: 140px;
}

.about-buttons a img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* 按钮图标悬停效果 */



.about-buttons .btn-icon {
  display: inline-block;
  width: 24px; /* 根据实际图片尺寸调整 */
  height: 24px; /* 根据实际图片尺寸调整 */
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 默认状态使用带2的图标 */
.about-buttons .qyzz {
  background-image: url('/img/about/qyzz2.png');
}
.about-buttons .qywh {
  background-image: url('/img/about/qywh2.png');
}
.about-buttons .ryzs {
  background-image: url('/img/about/ryzs2.png');
}
.about-buttons .qydt {
  background-image: url('/img/about/qydt2.png');
}

/* 悬停状态使用不带2的图标 */
.about-buttons a:hover .qyzz {
  background-image: url('/img/about/qyzz.png');
}
.about-buttons a:hover .qywh {
  background-image: url('/img/about/qywh.png');
}
.about-buttons a:hover .ryzs {
  background-image: url('/img/about/ryzs.png');
}
.about-buttons a:hover .qydt {
  background-image: url('/img/about/qydt.png');
}

/* 激活状态保持高亮图标 */
.about-buttons a.btn-primary .qyzz {
  background-image: url('/img/about/qyzz.png');
}

.about-buttons a.btn-primary {
  background-color: #c81e1e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(200, 30, 30, 0.3);
}

.about-buttons a.btn-outline {
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-buttons a.btn-outline:hover {
  background-color: #c81e1e;
  color: #fff;
}

.about-buttons .btn-more {
  position: absolute;
  right: 0;
  color: #c81e1e;
  font-weight: bold;
  background: none;
  box-shadow: none;
  min-width: auto;
  padding: 0;
top:-80px;
}

.about-buttons .btn-more:hover {
  text-decoration: underline;
  background: none;
  color: #c81e1e;
}

.about-text {
  width: 100%;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.about-text h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
  margin-right: 5px;
  color: var(--primary-color);
  display: inline;
}

.about-text p {
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
  color: #333;
  font-size: 14px;
  margin-top: 15px;
}

/* 针对性修复标题样式 */
@media (min-width: 768px) {
  /* 关于我们 */
  .about .section-title h3,
  .about .section-title p {
    color: var(--secondary-color);
  }
}

/* 响应式样式 */
@media (max-width: 992px) {
  .about-buttons {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .about-buttons a {
    margin-bottom: 10px;
  }
  
  .about-buttons .btn-more {
    position: relative;
    margin-top: 10px;
    margin-left: auto;display:none
  }
}

@media (max-width: 767px) {
  /* 移动端统一标题样式，与其他板块一致 */
  .about-title {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .about-title:before {
    /* 隐藏左侧红色短线 */
    display: none;
  }
  
  .about-title h3 {
    position: relative;
    padding-left: 0;
    font-size: 20px;
           font-weight: bold;
  }
  
  .about-title h3:before {
    /* 在标题下方显示红色短线 */
    content: '';
    display: none;
    background: url(../img/common/class-title.png) no-repeat center;
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    font-weight: bold;
    bottom: 0;
    di speak: dis;
  }
  
  .about-title p {
    padding-left: 0;
    text-align: center;
    font-size: 12px;
    color: #999;
  }
  
  .about-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .about-buttons a {
    margin-right: 0;
    justify-content: center;
  }
} 