@media screen and (min-width: 960px) {
  .fangan {
    width: 72.917vw !important;
    height: auto;
    margin: 0 auto !important;
    padding: 3.125vw 0 !important;
  }
  .fangan .abtab {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px dashed #A2A3A5 !important;
    padding-bottom: 30px !important;
    overflow: visible !important;
    transition: 0s !important;
  }
  .fangan .abtab li a {
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 16px !important;
    color: #0A0F1C !important;
    text-align: center;
    line-height: normal !important;
    font-style: normal;
    text-transform: none;
    padding: 7px 18px !important;
    margin-right: 2.083vw !important;
  }
  .fangan .abtab li a:last-child {
    margin-right: 0 !important;
  }
  .fangan .abtab .layui-this a {
    background: #D21F16 !important;
    color: #fff !important;
  }
  .layui-tab-bar {
    display: none !important;
  }
  .fangan .abtab .layui-this a::after {
    position: absolute;
    left: 50% !important;
    top: 60px !important;
    transform: translate(-50%, 0);
    z-index: 9;
    content: "";
    border-width: 0;
    border-style: solid;
    box-sizing: border-box;
    pointer-events: none;
    width: 10px !important;
    height: 10px !important;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    border: 2px solid #D21F16 !important;
  }
  .fangan .abtab .layui-this::after {
    display: none !important;
  }
  .fangan .cont {
    width: 100%;
    padding: 0 !important;
    margin-top: 3.125vw;
  }
  .fangan .cont .mian {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .fangan .cont .mian li {
    width: 48%;
    height: auto;
    margin-bottom: 3.125vw;
  }
  .fangan .cont .mian li a {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
  }
  .fangan .cont .mian li a .pic {
    width: 100%;
    height: 20.208vw;
    overflow: hidden;
  }
  .fangan .cont .mian li a .pic img {
    width: 100%;
    height: 100%;
    transition: 0.4s;
  }
  .fangan .cont .mian li a .text {
    width: fit-content;
    transform: translateY(-25px);
    margin: 0 auto;
    background: #D21F16;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    padding: 0.625vw 2.604vw;
    text-align: center;
    font-style: normal;
    text-transform: none;
  }
  .fangan .cont .mian li a:hover .pic img {
    transform: scale(1.1);
  }
}
@media screen and (max-width: 960px) {
  .fangan {
    width: 100%;
    height: auto;
    padding: 0.8rem 0.4rem;
  }
  .fangan .abtab {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
    border-bottom: 1px dashed #A2A3A5 !important;
    padding-bottom: 0.53333333rem !important;
    overflow: visible !important;
    transition: 0s !important;
  }
  .fangan .abtab li a {
    display: block;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 0.42666667rem !important;
    color: #0A0F1C !important;
    text-align: center;
    line-height: normal !important;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0.26666667rem !important;
    padding: 0.18666667rem 0.48rem !important;
  }
  .fangan .abtab .layui-this a {
    background: #D21F16 !important;
    color: #fff !important;
  }
  .layui-tab-bar {
    display: none !important;
  }
  .fangan .abtab .layui-this::after {
    display: none !important;
  }
  .fangan .cont {
    width: 100%;
    padding: 0 !important;
    margin-top: 0.8rem;
  }
  .fangan .cont .mian {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .fangan .cont .mian li {
    width: 48%;
    height: auto;
    margin-bottom: 0.53333333rem;
  }
  .fangan .cont .mian li a {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
  }
  .fangan .cont .mian li a .pic {
    width: 100%;
    height: 4rem;
    overflow: hidden;
  }
  .fangan .cont .mian li a .pic img {
    width: 100%;
    height: 100%;
    transition: 0.4s;
    object-fit: cover;
  }
  .fangan .cont .mian li a .text {
    width: fit-content;
    transform: translateY(-0.66666667rem);
    margin: 0 auto;
    background: #D21F16;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 0.42666667rem;
    color: #FFFFFF;
    padding: 0.26666667rem 0.66666667rem;
    text-align: center;
    font-style: normal;
    text-transform: none;
  }
  .fangan .cont .mian li a:hover .pic img {
    transform: scale(1.1);
  }
}
