/*
 * 详情页样式：新闻 / 案例 / 党建 / 隐私保护 / 免责声明共用
 * 页面结构见 html/detail.html
 */

/* ============================================================
 * 头部大图
 * ============================================================ */
.detail-banner {
    position: relative;
    width: 100%;
    height: 540px;
    margin-top: 120px;
    /* 图片路径用站内绝对路径。相对路径要算清 ../ 的层数，
       一旦算错就是静默 404（背景变成默认色，看不出报错）。 */
    background: url(/template/zhenxulaw/images/news/news_top.webp) no-repeat center top;
    background-size: 100% 100%;
}

.detail-banner__container {
    height: 100%;
    position: relative;
}

.detail-banner__content {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.detail-banner__title {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: bold;
}

.detail-banner__title-text {
    color: #ffffff;
}

.detail-banner__subtitle {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 10px;
}

.detail-banner__subtitle-text {
    margin: 0;
}

.detail-banner__line {
    width: 60px;
    height: 5.6px;
    background-color: #ffffff;
    margin-bottom: 60px;
}

.detail-banner__heading {
    width: 100%;
}

.detail-banner__heading-text {
    font-size: 46px;
    line-height: 1.3;
    font-weight: bold;
    color: #000000;
    margin-bottom: 80px;
    white-space: normal;
}

/* 正文区
   底图重复平铺，纵向随内容长度延伸 */
.detail-body {
    padding: 0;
    padding-bottom: 0;
    margin-top: 0;
    border-top: 0;
    display: block;
    background: url(/template/zhenxulaw/images/team/bg2.webp) repeat-y center top;
    background-size: 100% auto;
}

.detail-body__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.detail-article {
    padding: 40px 105px;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.detail-article__content {
    color: #000000;
    font-size: 18px;
    line-height: 2;
    text-align: justify;
}

/* ---------- 底部操作条 ---------- */
.detail-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 0 40px;
}

/* 静态页只有「返回首页」，靠右收尾 */
.detail-foot--end {
    justify-content: flex-end;
}

.detail-foot__nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 上下篇标题过长时单行省略 */
.detail-foot__row {
    max-width: 600px;
    overflow: hidden;
    color: #333333;
    font-size: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detail-foot__arrow {
    display: inline-block;
    margin-right: 10px;
    color: #F4AD03;
}

.detail-foot__link {
    color: #333333;
    text-decoration: none;
}

.back-to-list {
    display: inline-block;
    padding: 8px 20px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #333333;
    font-size: 18px;
    transition: all 0.3s ease;
}

.back-to-list:hover {
    background-color: #F4AD03;
    color: #ffffff;
}
