/*
*组件样式
*组件样式
*组件样式
*组件样式
*组件样式
*组件样式
*组件样式
*组件样式
*/
.gp-teacher3{margin-top:20px;}
.gp-teacher3 >ul li{
width:50%;margin-bottom: 24px;
    float: left;}

.gp-teacher3 >ul li a {
  background: #F5F5F5;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
     margin-left: 12px !important;}
.gp-teacher3 >ul li a .img {
  width: 130px;}
.gp-teacher3 >ul li a .img div {
  padding-bottom: 140%;}
.gp-teacher3 >ul li a .info {
  padding-left: 20px;
  overflow: hidden;
  flex: 1;}
.gp-teacher3 >ul li a .info div h3 {
  color: #333333;
  display: inline-block;
  padding: 25px 0 22px;
  position: relative;
  margin-right: 28px;}
.gp-teacher3 >ul li a .info div h3::after {
  content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #c7000b;
    position: absolute;
    left: 0;
    bottom: 0;}
.gp-teacher3 >ul li a .info div h4 {
  color: #666666;
  display: inline-block;
  font-weight: normal;}
.gp-teacher3 >ul li a .info p {
  color: #999999;
    margin-top: 22px;
    line-height: 22px;
    display: -webkit-box;
    height: 66px;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;}
.gp-img-responsive{width: 100%;height: 0;padding-bottom: 56.25%;overflow:hidden;display: block;}
    .gp-img-responsive img{width: 100%;transition: all 0.5s ease-in-out;max-width:none;}
    .gp-img-responsive img:hover{transform:scale(1.03);opacity:0.9;}
@media screen and (max-width:767px) {
  .gp-teacher3 ul li a .img {
    width: 100px;}
  .gp-teacher3 ul li a .info {
    padding-left: 15px;}
  .gp-teacher3 ul li a .info div h3 {
    padding: 10px 0;
    margin-right: 0px;
    margin-bottom: 10px;}
  .gp-teacher3 ul li a .info div h4 {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;}
  .gp-teacher3 ul li a .info p {
    margin-top: 10px;
    height: 44px;}
}
