﻿.container_body{
  position: relative;
}
.banner{
  height: 525px; 
  position: relative;
  display: flex;
  justify-content:center;
max-width: 2560px;
    margin-left: auto;
    margin-right: auto;
}
.banner .banner_img{height: 100%;}
.banner .banner_txt{
    width: 766px;
    height: 335px;
    top: 76px;
    left: 178px;
    border-radius: 16px;
    border-left-width: 2px;
    background-color: rgba(255, 255, 255, 0.75);
    position: absolute;
    padding-left: 66px;
    padding-top: 41px;
    display: flex;
    flex-direction: column;
}
.banner .banner_txt_1{font-size: 32px;
    font-weight: 700;
    color: rgba(216, 40, 28, 1);
    line-height: 37px;
    letter-spacing: 0px;
    text-align: left;
}
.banner .banner_txt_2{font-size: 24px;
    width:540px;
    font-weight: 400;
    color: rgba(162, 0, 0, 1);
    line-height: 30px;
    letter-spacing: 0px;
    text-align: left;
    margin-top: 37px;
}
.banner .banner_btn{
    width: 209px;
    height: 51px;
    background: rgba(162, 0, 0, 1);
    text-align: center;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    border-radius: 300px;
    margin-top: 42px;
}
.banner .banner_btn a{
  color: rgba(255, 255, 255, 1);
}

  .publications-list {
    width: 73%;
    padding: 32px 0px;
  }
  .publications-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    position: relative;
    padding: 15px;
    min-height: 180px;
    transition: box-shadow 0.2s, border 0.2s;
    border: 2px solid transparent;
    margin-bottom: 30px;
    height: 320px;
  }
  .publications-card-img{
    width: 230px;
    padding: 20px 30px;
  }

  .publications-card-content{
    flex: 1;
    overflow: hidden;
  }
  .publications-title {
    font-size: 28px;
    font-weight: bold;
    margin-top: 12px;
    color: #982017;
    margin-bottom: 20px;
  }
  .publications-title a{
    color: #982017;
  }
  .publications-desc {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
    line-height: 30px;
    overflow: hidden;
  }
  .publications-meta {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    border-top: 1px solid #ECECEC;
    padding-top: 20px;
    margin-bottom: 10px;
  }
  .publications-meta-left{
    width: 60%;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 20px;
  }

  .publications-lawyer{
    width: 25%;
    position: absolute;
    top: 100px;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  .publications-lawyer-title{
    font-size: 24px;
    line-height: 24px;
    color: rgba(152, 32, 23, 1);
    margin-bottom: 36px;
  }
  .publications-lawyer-show{
    display: flex;
    margin-bottom: 38px;
    border-bottom: 1px solid rgba(152, 32, 23, 1);
  }
  .publications-lawyer-show-img{
    width: 44%;
    display: grid;
    align-items: end;
  }
  .publications-lawyer-show-img img{
    width: 100%;
  }
  .publications-lawyer-show-des{
    margin-left: 20px;
    flex: 1;
  }
  .publications-lawyer-show-des-name{
    font-size: 24px;
    line-height: 24px;
    color: rgba(152, 32, 23, 1);
    margin-bottom: 15px;
  }
  .publications-lawyer-show-des-ul{
    font-size: 16px;
    line-height: 22px;
    color: rgba(18, 18, 18, 1);
    font-weight: 400;
  }
  .publications-lawyer-show-des-ul li{
    list-style-type: disc;
  }
  .publications-lawyer-show-des-ul li::marker{
    color: rgba(18, 18, 18, 1);
    font-size: 6px;
  }
  .publications-lawyer-show-des-btn{
    font-size: 14px;
    line-height: 32px;
    font-weight: 500;
    text-align: right;
    color: rgba(152, 32, 23, 1);
    cursor: pointer;
  }

  .publications-detail{
    border-top: 1px solid #ECECEC;
    padding-top: 18px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
  }
  .publications-author .publications-author-title{
    font-size: 26px;
    font-weight: 400;
    line-height: 70px;
    border-top: 1px solid rgba(18, 18, 18, 1);
    border-bottom: 1px solid rgba(18, 18, 18, 1);
    margin-bottom: 18px;
  }
  .publications-author .publications-author-des{
    font-size: 16px;
    line-height: 36px;
    color: rgba(18, 18, 18, 1);
    margin-bottom: 18px;
  }

  .center-pagination {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 6px;
    padding: 0px 0 0 0;
    font-size: 32px;
    background: transparent;
    user-select: none;
  }
  .center-pagination .arrow {
    width: 29px;
    object-fit: contain;
    vertical-align: middle;
    /* 左箭头灰色，右箭头红色，图片本身需为对应色，或用filter */
  }
  .center-pagination .arrow.right {
    /* 如果你的图片是黑色，可以用filter变红 */
    filter: invert(18%) sepia(98%) saturate(7492%) hue-rotate(-7deg) brightness(97%) contrast(119%);
  }
  .center-pagination .page {
    color: rgba(18, 18, 18, 1);
    text-decoration: none;
    padding: 0 8px;
    font-size: 16px;
    position: relative;
    transition: color 0.2s;
    line-height: 21px;
  }
  .center-pagination .page.active {
    color: rgba(216, 36, 30, 1);
  }
  .center-pagination .page.active::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 2px;
    width: 9px;
    height: 1px;
    background: #d60000;
    border-radius: 2px;
  }
  .center-pagination .page:hover:not(.active) {
    color: #d60000;
  }

  @media screen and (max-width: 1024px) {
    /* 容器样式调整 */
    .container {
        width: 90%;
        padding: 15px 0 30px;
    }
    .publications-lawyer{
      display: none;
    }
    /* Banner样式调整 */
    .banner {
        height: 300px;
    }
    .banner .banner_img {
        height: 100%;
        object-fit: cover;
    }
    .banner .banner_txt {
        width: 90%;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        border-radius: 10px;
    }
    .banner .banner_txt_1 {
        font-size: 20px;
        line-height: 24px;
    }
    .banner .banner_txt_2 {
        width: 100%;
        font-size: 16px;
        line-height: 20px;
        margin-top: 15px;
    }
    .banner .banner_btn {
        width: 150px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        margin-top: 20px;
    }

    /* 出版物列表样式调整 */
    .publications-list {
        width: 100%;
        padding: 20px 0;
    }

    /* 出版物卡片样式调整 */
    .publications-card {
        flex-direction: column;
        height: auto;
        padding: 15px;
        margin-bottom: 30px;
    }
    .publications-card-img {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        max-width: 200px;
        align-self: center;
    }
    .publications-card-content {
        width: 100%;
    }
    .publications-title {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    .publications-meta {
        font-size: 16px;
        flex-direction: column;
        padding-top: 15px;
    }
    .publications-meta-left {
        width: 100%;
        margin-bottom: 5px;
    }
    .publications-desc {
        font-size: 14px;
        line-height: 16px;
        /* 限制文本行数，防止内容过长 */
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 分页样式调整 */
    .center-pagination {
        justify-content: center;
        font-size: 24px;
        gap: 4px;
    }
    .center-pagination .arrow {
        width: 20px;
    }
    .center-pagination .page {
        padding: 0 6px;
        font-size: 14px;
    }

    /* 律师展示区域样式调整 */
    .publications-lawyer {
        width: 100%;
        position: static;
        margin-top: 30px;
    }
    .publications-lawyer-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    .publications-lawyer-show {
        flex-direction: column;
        align-items: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    .publications-lawyer-show-img {
        width: 50%;
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 150px;
    }
    .publications-lawyer-show-des {
        text-align: center;
    }
    .publications-lawyer-show-des-name {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .publications-lawyer-show-des-ul {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }
    .publications-lawyer-show-des-btn {
        margin-top: 10px;
    }
    .publications-lawyer-show-des-btn .publications-lawyer-show-des-btn-img {
        max-width: 120px !important;
    }

    /* 表单区域样式调整 */
    #dowebok .home_part10 .box {
        margin-top: 30px;
    }
    #dowebok .home_part10 .txt {
        font-size: 24px;
    }
    #dowebok .home_part10 .txt span:last-child {
        padding-left: 0;
        display: block;
    }
    #dowebok .home_form dl dt {
        width: 80px;
    }
}

@media (max-width: 1024px) {
  .publications-list { grid-template-columns: 1fr; }
}

@media screen and (max-width: 1024px) {
  /* 容器样式调整 */
  .container {
      width: 90%;
      padding: 15px 0 30px;
  }

  /* Banner样式调整 */
  .banner {
      height: 300px;
  }
  .banner .banner_img {
      height: 100%;
      object-fit: cover;
  }
  .banner .banner_txt {
      width: 90%;
      height: auto;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      border-radius: 10px;
  }
  .banner .banner_txt_1 {
      font-size: 20px;
      line-height: 24px;
  }
  .banner .banner_txt_2 {
      width: 100%;
      font-size: 16px;
      line-height: 20px;
      margin-top: 15px;
  }
  .banner .banner_btn {
      width: 150px;
      height: 40px;
      line-height: 40px;
      font-size: 16px;
      margin-top: 20px;
  }

  /* 面包屑导航调整 */
  .breadcrumb {
      padding: 10px 0;
      font-size: 12px;
  }
  .breadcrumb .home-icon {
      width: 12px;
      height: 12px;
  }

  /* 出版物详情页样式调整 */
  .publications-list {
      width: 100%;
      padding: 20px 0;
  }

  /* 出版物卡片样式调整 */
  .publications-card {
      flex-direction: column;
      height: auto;
      padding: 15px;
      margin-bottom: 30px;
  }
  .publications-card-img {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      max-width: 200px;
      align-self: center;
  }
  .publications-card-content {
      width: 100%;
  }
  .publications-title {
      font-size: 22px;
      margin-top: 0;
      margin-bottom: 15px;
      text-align: center;
  }
  .publications-detail {
      font-size: 16px;
      line-height: 30px;
      padding-top: 15px;
  }

  /* 作者介绍、编辑推荐、前言等部分 */
  .publications-author .publications-author-title {
      font-size: 20px;
      line-height: 60px;
      text-align: center;
  }
  .publications-author .publications-author-des {
      font-size: 14px;
      line-height: 24px;
  }

  /* 律师展示区域样式调整 */
  .publications-lawyer {
      width: 100%;
      position: static;
      margin-top: 30px;
  }
  .publications-lawyer-title {
      font-size: 20px;
      margin-bottom: 20px;
      text-align: center;
  }
  .publications-lawyer-show {
      flex-direction: column;
      align-items: center;
      margin-bottom: 25px;
      padding-bottom: 15px;
  }
  .publications-lawyer-show-img {
      width: 50%;
      margin-right: 0;
      margin-bottom: 15px;
      max-width: 150px;
  }
  .publications-lawyer-show-des {
      text-align: center;
  }
  .publications-lawyer-show-des-name {
      font-size: 20px;
      margin-bottom: 10px;
  }
  .publications-lawyer-show-des-ul {
      display: inline-block;
      text-align: left;
      margin: 0 auto;
      font-size: 14px;
      line-height: 24px;
  }
  .publications-lawyer-show-des-btn {
      margin-top: 10px;
  }
  .publications-lawyer-show-des-btn .publications-lawyer-show-des-btn-img {
      max-width: 120px !important;
  }

  /* 表单区域样式调整 */
  #dowebok .home_part10 .box {
      margin-top: 30px;
  }
  #dowebok .home_part10 .txt {
      font-size: 24px;
  }
  #dowebok .home_part10 .txt span:last-child {
      padding-left: 0;
      display: block;
  }
  #dowebok .home_form dl dt {
      width: 80px;
  }
  #dowebok .home_form dl dd input {
      height: 40px;
      font-size: 14px;
  }
  #dowebok .home_form button {
      height: 40px;
      font-size: 16px;
      margin-top: 15px;
  }
}