/* 页面最外层容器
   原为固定 1920×3638，现改为：宽度自适应 + 水平居中，高度由内容自动撑开；
   max-width 保留 1920，避免超宽屏把内容拉散。 */
.xxpl-content .page {
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.xxpl-content .text_11 {
    width: 75px;
    height: 19px;
    overflow-wrap: break-word;
    color: rgba(153, 153, 153, 1);
    font-size: 14px;
    font-family: MiSans-Regular;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: 19px;
    margin: 16px 0 0 260px;
}

.xxpl-content .box_6 {
    margin: 24px 0 0 260px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(216, 216, 216, 1);
}

.xxpl-content .section_6 {
    height: 22px;
    margin-top: 7px;
    width: 8px;
}

.xxpl-content .text_12 {
    height: 29px;
    overflow-wrap: break-word;
    color: rgba(51, 51, 51, 1);
    font-size: 24px;
    font-family: AlimamaShuHeiTi-Bold;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    line-height: 29px;
    margin-left: 14px;
}

.xxpl-content .section_7 {
    height: 22px;
    width: 8px;
}

.xxpl-content .section_8 {
    height: 22px;
}

.xxpl-content .box_7 {
    width: 1400px;
    height: 1px;
    margin: 22px 0 0 260px;
}

.xxpl-content .block_2 {
    background-color: rgba(216, 216, 216, 1);
    height: 1px;
    width: 100%;
}

.xxpl-content .block_3 {
    background-color: rgba(216, 216, 216, 1);
    width: 332px;
    height: 1px;
}

/* 友情链接样式已迁移至子模板 common/friend-links.html */

/* =====================================================================
   响应式与居中适配（追加覆盖，请勿删除）
   背景：原稿按 1920px 画布导出，内容区宽 1400px，靠 margin-left: 260px
   做左侧偏移。这里统一改为水平居中，并让宽度随窗口自适应。
   ===================================================================== */

/* 1) 图片统一：铺满父容器并按比例裁切，避免比例不一致时变形
      （当前页面暂无 img 标签，此规则为后续替换图片预留） */
.xxpl-content .page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2) 宽度等于内容区（1400px）的行：用 auto 水平居中 */
.xxpl-content .box_6,
.xxpl-content .box_7 {
    margin-left: auto;
    margin-right: auto;
}

/* 3) 内容区内的窄元素：左边缘对齐 1400px 内容区左边界
   calc(50% - 700px) 在 1920px 画布下正好等于原来的 260px，
   窗口变窄时也会跟随内容区左边界，不会错位。 */
.xxpl-content .text_11 {
    margin-left: calc(50% - 700px);
}

/* =====================================================================
   两栏布局
   内容区总宽 1400 = 左栏 1020 + 间距 48 + 右栏自适应（约 332）
   左栏 .xxpl-main：面包屑、栏目标题行、分割线、友情链接
   右栏 .xxpl-side：right-top（侧栏新闻子模板）
   ===================================================================== */
.xxpl-layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    column-gap: 48px;
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
}

/* 左栏占满整行，实际内容宽度由 .xxpl-main-inner 控制 */
.xxpl-main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

/* 左栏内容：固定 1020（1400 - 48 间距 - 332 侧栏） */
.xxpl-main-inner {
    width: 100%;
    max-width: 100%;
}

/* 右栏：绝对定位贴右，宽度 332 */
.xxpl-side {
    position: absolute;
    top: 0;
    right: 0;
    width: 332px;
    min-width: 0;
}

/* 左栏：原本按 1400px 内容区排版的整行元素，统一收窄为左栏宽度 */
.xxpl-main .box_6,
.xxpl-main .box_7 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* 左栏：原本靠 margin-left 相对 1920 画布定位的元素，改为左对齐 */
.xxpl-main .text_11 {
    margin-left: 0;
}

/* ---------------- 右栏 ---------------- */

/* 顶部细分隔线（原 .box_7 内右侧的 .block_3，随 section_13 一起进入右栏） */
.xxpl-side .block_3 {
    width: 100%;
    flex: none;
}

/* =====================================================================
   栏目页动态内容（?cid=xxx）
   1) 栏目标题图标  2) 面包屑
   ===================================================================== */

/* 1) 栏目标题左侧图标：改用背景图 */
.xxpl-content .section_6 {
    background: url("/main/images/biaohi.png") no-repeat center center;
    background-size: 100% 100%;
}

/* 2) 面包屑：宽高随内容自适应，首页与栏目均可点击 */
.xxpl-content .text_11 {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.xxpl-content .text_11 a {
    color: rgba(153, 153, 153, 1);
}

.xxpl-content .text_11 a:hover,
.xxpl-content .text_11 .crumb-current {
    color: rgba(202, 6, 9, 1);
}

.xxpl-content .text_11 .crumb-sep {
    margin: 0 6px;
}

/* 左栏“更多”图标靠右（原固定 998px 偏移会在左栏内溢出） */
.xxpl-main .section_7 {
    width: 44px;
    height: 19px;
    overflow-wrap: break-word;
    color: rgba(153, 153, 153, 1);
    font-size: 14px;
    font-family: MiSans-Regular;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: 19px;
}

/* ===================== 最新公告列表 ===================== */
.xxpl-content .zxgg-list {
  margin-top: 24px;
}

/* 单条：左侧 24×24 图标 + 右侧标题与时间，条目间 16px 内下边距与外下边距 */
.xxpl-content .zxgg-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(216, 216, 216, 1);
}

.xxpl-content .zxgg-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 需高于 .xxpl-content .page img 的宽度覆盖，否则图标会被拉满 */
.xxpl-content .zxgg-list .zxgg-item-icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-right: 16px;
  object-fit: contain;
}

.xxpl-content .zxgg-item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.xxpl-content .zxgg-item-title {
  font-family: MiSans-Medium;
  font-weight: 500;
  font-size: 18px;
  color: #333333;
  line-height: 24px;
}

.xxpl-content .zxgg-item-date {
  font-family: MiSans-Regular;
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  line-height: 19px;
  margin-top: 16px;
}

/* 单个公告区块（标题行 + 列表）：子模板 common/zxgg-list.html */
.xxpl-content .zxgg-block {
  margin-top: 24px;
}

/* 区块内的标题行不再继承 260px 左偏移与顶部大间距 */
.xxpl-content .zxgg-block .box_6 {
  margin: 0;
}

/* 多列公告：默认左右两列 680 + 38 间距 */
.xxpl-content .zxgg-cols {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  margin-top: 32px;
}

.xxpl-content .zxgg-col {
  flex: none;
  width: 680px;
  min-width: 0;
}

/* 三列：450×3 + 25×2 = 1400 */
.xxpl-content .zxgg-cols.is-triple {
  gap: 25px;
}

.xxpl-content .zxgg-cols.is-triple .zxgg-col {
  width: 450px;
}

/* ===================== 搜索条 =====================
   背景图铺满整行，高 104px；表单控件高 40px、间距 24px，
   整行水平居中，窄屏时也不会溢出内容区。 */

/* 面包屑所在通栏行：内容区固定 1400 居中 */
.xxpl-crumb {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
}

.xxpl-crumb .text_11 {
    margin: 16px 0 0 0;
}

.xxpl-search {
    width: 100%;
    height: 104px;
    margin: 24px 0 32px 0;
}

.xxpl-search-form {
    background: url("/main/images/sousuobg.png") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 24px;
    height: 100%;
    width: 1400px;
    box-sizing: border-box;
    padding: 0 32px;
    margin: 0 auto;
}

/* 输入框：胶囊形、透明底、白色描边与文字 */
.xxpl-search-input {
    box-sizing: border-box;
    flex: 0 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-family: MiSans-Regular;
    outline: none;
}

.xxpl-search-input::placeholder {
    color: rgba(255, 255, 255, 0.92);
}

.xxpl-search-input.is-code,
.xxpl-search-input.is-keyword {
    width: 360px;
}

.xxpl-search-input.is-date {
    width: 240px;
}

/* 下拉：隐藏原生箭头，用 iconfont 替代 */
.xxpl-search-select {
    position: relative;
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    width: 240px;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.xxpl-search-select select {
    width: 100%;
    height: 100%;
    padding: 0 36px 0 20px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-family: MiSans-Regular;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.xxpl-search-select .iconfont {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-size: 10px;
    line-height: 1;
    color: #ffffff;
    pointer-events: none;
}

/* Element UI 下拉框：右侧为箭头预留空间 */
.xxpl-search .el-select .el-input__inner {
    padding-right: 34px;
}

/* 按钮：搜索 = 白底红字，重置 = 描边透明 */
.xxpl-search-btn {
    box-sizing: border-box;
    flex: none;
    width: 88px;
    height: 40px;
    padding: 0;
    border-radius: 20px;
    font-size: 16px;
    font-family: MiSans-Medium;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.xxpl-search-btn.is-primary {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: rgba(202, 6, 9, 1);
}

.xxpl-search-btn.is-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.xxpl-search-btn.is-reset {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: #ffffff;
}

.xxpl-search-btn.is-reset:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ===================== Vue + Element UI 控件适配 ===================== */

/* Vue 编译前先隐藏，避免闪现原始模板 */
[v-cloak] {
    display: none;
}

/* 六个控件统一自适应宽度，不撑破 1400 容器 */
.xxpl-search-form .xxpl-el {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.xxpl-search-form .xxpl-el.is-code,
.xxpl-search-form .xxpl-el.is-keyword,
.xxpl-search-form .xxpl-el.is-date {
    max-width: 360px;
}

.xxpl-search-form .xxpl-el.is-type {
    flex: 0 1 240px;
    max-width: 240px;
}

/* 输入框：胶囊形、透明底、白色描边与文字 */
.xxpl-search .el-input__inner {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-family: MiSans-Regular;
}

.xxpl-search .el-input__inner::placeholder {
    color: rgba(255, 255, 255, 0.92);
}

.xxpl-search .el-input__icon,
.xxpl-search .el-select .el-input__suffix,
.xxpl-search .el-select .el-input__icon {
    line-height: 40px;
    color: #ffffff;
}

/* 日期范围：高度对齐 40px，两段输入保留间距 */
.xxpl-search .el-range-editor.el-input__inner {
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    background: transparent;
}

.xxpl-search .el-range-editor .el-range-input {
    background: transparent;
    color: #ffffff;
    font-family: MiSans-Regular;
}

.xxpl-search .el-range-editor .el-range-input::placeholder {
    color: rgba(255, 255, 255, 0.92);
}

.xxpl-search .el-range-editor .el-range-separator {
    line-height: 40px;
    color: #ffffff;
}

.xxpl-search .el-range-editor .el-range__icon,
.xxpl-search .el-range-editor .el-range__close-icon {
    line-height: 40px;
    color: #ffffff;
}

/* 多列容器内的区块不再重复顶部间距（行间距已由 .zxgg-cols 控制） */
.xxpl-content .zxgg-cols .zxgg-block {
    margin-top: 0;
}