body {
    background: #fff url('//hbnysy.hubei.gov.cn/material/images/newhome/bg.png') 50% 0% no-repeat;
}

.inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}


.content {
    padding-bottom: 30px;
}

.p1 {
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.headline {
    margin-top: 26px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.headline-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.headline-swiper .swiper-slide img {
    width: 66px;
    height: 30px;
    margin-right: 18px;
    flex-shrink: 0;
}

.headline-swiper {
    width: 80%;
    height: 30px;
    overflow: hidden;
}

.headline-pagination {
    margin-top: 28px;
    text-align: center;
}

.headline-pagination .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.headline-pagination .swiper-pagination-bullet-active {
    background: #2e74cc;
}

.headline-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.headline-swiper .swiper-slide a {
    font-size: 30px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 30px;
}

/* ========== p1-body 布局 ========== */
.p1-body {
    display: flex;
    margin-top: 26px;
}

/* ========== 左侧轮播图 ========== */
.banner-wrap {
    width: 690px;
    height: 399px;
    position: relative;
    margin-right: 30px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-swiper .swiper-slide {
    position: relative;
}

.banner-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部遮罩 */
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 47px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 30px;
}

.banner-text {
    flex: 1;
    max-width: 400px;
    color: #fff;
    font-size: 16px;
    line-height: 47px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分页器（swiper级，定位在遮罩区域内右侧，上下居中） */
.banner-pagination {
    position: absolute;
    width: 64px !important;
    bottom: 19px !important;
    left: auto !important;
    right: 28px !important;
    transform: none !important;
    z-index: 20;
    display: flex;
    align-items: center;
}

.banner-pagination .swiper-pagination-bullet {
    margin-right: 6px;
}

.banner-pagination .swiper-pagination-bullet:last-child {
    margin-right: 0;
}

.banner-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    margin: 0 !important;
    margin-right: 5px !important;
    border-radius: 50%;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #f7c243 !important;
}

/* 左右切换按钮 */
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-prev {
    left: 10px;
}

.banner-next {
    right: 10px;
}

.banner-prev img,
.banner-next img {
    width: 44px;
    height: 44px;
    display: block;
}

.banner-wrap:hover .banner-prev,
.banner-wrap:hover .banner-next {
    opacity: 1;
}

/* ========== 右侧Tab面板 ========== */
.tab-panel {
    flex: 1;
    min-width: 0;
}

/* Tab导航 */
.tab-nav {
    display: flex;
    height: 47px;
    border-bottom: 1px solid #d4d4d4;
    padding: 0 6px;
    position: relative;
    box-sizing: border-box;
}

.tab-item {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    font-weight: normal;
    margin-right: 40px;
}

.tab-item.active {
    font-weight: bold;
}

/* Tab指示线 */
.tab-indicator {
    position: absolute;
    bottom: -1px;
    height: 4px;
    border-radius: 2px;
    background: #2e74cc;
    transition: left 0.3s ease, width 0.3s ease;
}

/* Tab内容区（预留） */
.tab-content {
    min-height: 200px;
    padding-top: 10px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ========== Tab列表 ========== */
.tab-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab-list li {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    line-height: 48px;
    border-bottom: 1px dashed #cfcfcf;
    padding-left: 16px;
    box-sizing: border-box;
}

.tab-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999999;
    transition: background 0.3s;
}

.tab-list li a {
    flex: 0 0 70%;
    max-width: 70%;
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.tab-list li .date {
    flex: 1;
    font-size: 16px;
    color: #999999;
    text-align: right;
    white-space: nowrap;
}

.tab-list li:hover a {
    color: #2e74cc;
}

.tab-list li:hover::before {
    background: #2e74cc;
}

/* ========== p2 双栏布局 ========== */
.p2 {
    margin-top: 30px;
}

.p2-list {
    display: flex;
    padding: 0px 20px;
}

.p2-tab-panel+.p2-tab-panel {
    margin-left: 100px;
}

.p2-tab-panel {
    flex: 1;
    min-width: 0;
}

/* p2 Tab导航 */
.p2-tab-nav {
    display: inline-flex;
    height: 47px;
    border-bottom: 1px solid #d4d4d4;
    padding: 0 6px;
    position: relative;
    box-sizing: border-box;
}

.p2-tab-item {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    font-weight: normal;
    margin-right: 40px;
}

.p2-tab-item:last-of-type {
    margin-right: 0;
}

.p2-tab-item.active {
    font-weight: bold;
}

/* p2 Tab指示线 */
.p2-tab-indicator {
    position: absolute;
    bottom: -1px;
    height: 4px;
    border-radius: 2px;
    background: #2e74cc;
    transition: left 0.3s ease, width 0.3s ease;
}

/* p2 Tab内容区 */
.p2-tab-content {
    min-height: 200px;
    padding-top: 10px;
}

.p2-tab-pane {
    display: none;
}

.p2-tab-pane.active {
    display: block;
}

/* p2 列表（无虚线，行高50px） */
.p2-list-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p2-list-ul li {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    line-height: 50px;
    padding-left: 16px;
    box-sizing: border-box;
}

.p2-list-ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999999;
    transition: background 0.3s;
}

.p2-list-ul li a {
    flex: 0 0 70%;
    max-width: 80%;
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.text-blue {
    font-size: 14px;
    color: #2e74cc;
    text-decoration: none;
    margin-left: 8px;
    font-weight: normal;
    max-width: 80px !important;
}

.text-blue:hover {
    text-decoration: underline;
}

.p2-list-ul li .date {
    flex: 1;
    font-size: 16px;
    color: #999999;
    text-align: right;
    white-space: nowrap;
}

.p2-list-ul li:hover a {
    color: #2e74cc;
}

.p2-list-ul li:hover::before {
    background: #2e74cc;
}

/* ========== p2 轮播图 ========== */
.p2-swiper {
    margin-top: 20px;
    height: 88px;
    position: relative;
    overflow: hidden;
    padding: 0px 20px;
}

.p2-img-swiper {
    height: 100%;
}

.p2-img-swiper .swiper-slide img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    transition: filter 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.p2-img-swiper .swiper-slide:hover img {
    filter: brightness(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* 左右切换按钮 */
.p2-swiper-prev,
.p2-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.p2-swiper-prev {
    left: 20px;
}

.p2-swiper-next {
    right: 20px;
}

.p2-swiper-prev img,
.p2-swiper-next img {
    width: 44px;
    height: 44px;
    display: block;
}

.p2-swiper:hover .p2-swiper-prev,
.p2-swiper:hover .p2-swiper-next {
    opacity: 1;
}


.p3 {
    height: 206px;
    margin-top: 24px;
    background: url('//hbnysy.hubei.gov.cn/material/images/newhome/zfxxgk-bg.png') 50% 50% no-repeat;
}

.p3 .inner {
    display: flex;
    align-items: center;
    height: 100%;
}

/* 左侧大图 */
.p3-left-img {
    margin-left: 20px;
    flex-shrink: 0;
}

/* 右侧box容器 */
.p3-boxes {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin-right: -3px;
    margin-bottom: -16px;
    margin-left: 20px;
    justify-content: flex-start;
}

/* 单个box */
.p3-box {
    width: 214px;
    height: 60px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    margin-right: 40px;
    margin-bottom: 16px;
    background-color: #fff;
    border-radius: 3px;
}

.p3-box:nth-child(4) {
    margin-right: 0;
}

.p3-box:hover {
    background: #f0f6ff;
    box-shadow: 0 2px 8px rgba(46, 116, 204, 0.15);
}

.p3-box:hover .p3-box-text {
    color: #2e74cc;
}

/* 左侧图标 37x37 */
.p3-box-icon-l {
    width: 37px;
    height: 37px;
    flex-shrink: 0;
}

/* 中间文字 */
.p3-box-text {
    margin-left: 16px;
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 22px;
}

/* 右侧箭头 21x14 */
.p3-box-icon-r {
    width: 21px;
    height: 14px;
    flex-shrink: 0;
}

/* ========== p4 文件检索 ========== */
.p4 {
    margin-top: 24px;
}

.p4 .inner {
    display: flex;
    padding: 0px 20px;
}

/* 左侧列表 60% */
.p4-left {
    width: 65%;
    margin-right: 40px;
    flex-shrink: 0;
}

/* 右侧搜索box */
.p4-right {
    flex: 1;
    min-width: 0;
}

.p4-search-box {
    background: #f0f6ff;
    padding: 30px 20px;
    box-sizing: border-box;
}

/* 标题 + 左右线条 */
.p4-search-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.p4-search-line {
    flex: 1;
    height: 2px;
    background: #dce9fe;
}

.p4-search-text {
    margin: 0 18px;
    font-size: 24px;
    color: #2e74cc;
    font-weight: 600;
    white-space: nowrap;
}

/* 输入框 */
.p4-search-input {
    display: block;
    width: 100%;
    height: 41px;
    border: 1px solid #e2edff;
    border-radius: 3px;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(226, 237, 255, 0.6);
    margin-top: 20px;
}

.p4-search-input:first-of-type {
    margin-top: 30px;
}

.p4-search-input::placeholder {
    color: #999;
}

.p4-search-input:focus {
    border-color: #2e74cc;
}

/* 搜索按钮 */
.p4-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 51px;
    border: none;
    border-radius: 3px;
    background: #2e74cc;
    cursor: pointer;
    margin-top: 30px;
    transition: background 0.3s ease;
}

.p4-search-btn:hover {
    background: #2561a8;
}

.p4-search-btn img {
    width: 21px;
    height: 21px;
    margin-right: 15px;
}

.p4-search-btn span {
    font-size: 20px;
    color: #fff;
}

/* ========== p5 互动交流 ========== */
.p5 {
    margin-top: 30px;
}

.p5 .inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0px 0px 10px 0px rgba(69, 118, 246, 0.12);
}

.p5-panel-title {
    display: flex;
    align-items: center;
    padding: 14px 6px 12px;
    margin-bottom: 20px;
}

.p5-panel-title>span {
    font-size: 26px;
    font-weight: bold;
    color: #333333;
    flex-shrink: 0;
}

.p5-panel-title-icon {
    width: 16px;
    height: 11px;
    margin-left: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.p5-panel-title-line {
    flex: 1;
    height: 1px;
    background: #dcdcdc;
    min-width: 8px;
}

.p5-panel-title-more {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    font-size: 14px;
    color: #999999;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
}

.p5-panel-title-more:hover {
    color: #2e74cc;
}

.p5-panel-title-right-icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    flex-shrink: 0;
    object-fit: contain;
}

.p5-box-row {
    display: flex;
    gap: 20px;
}

.p5-box {
    width: 420px;
    flex-shrink: 0;
    height: 309px;
    box-shadow: 0px 0px 10px 0px rgba(69, 118, 246, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.p5-box:last-child {
    width: auto;
    flex: 1;
    flex-shrink: 1;
}

.p5-box-top-img {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.p5-interact-list {
    padding: 0 20px;
}

.p5-interact-item {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edeff2;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.p5-interact-item:last-child {
    border-bottom: none;
}

.p5-interact-status {
    width: 53px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p5-interact-status.p5-status-end {
    color: #908b8b;
}

.p5-interact-text {
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    margin-left: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.p5-interview-wrap {
    padding: 25px 20px;
}

.p5-interview-item {
    display: flex;
    align-items: center;
}

.p5-interview-item+.p5-interview-item {
    margin-top: 18px;
}

.p5-interview-label {
    font-size: 16px;
    color: #2e74cc;
    flex-shrink: 0;
}

.p5-interview-line {
    width: 1px;
    height: 21px;
    background: #dcdcdc;
    margin: 0 8px;
    flex-shrink: 0;
}

.p5-interview-text {
    font-size: 16px;
    color: #222222;
}

.p5-interview-btns {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.p5-interview-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.p5-interview-btn-detail {
    background: #fff;
    border: 1px solid #2e74cc;
    color: #2e74cc;
    margin-right: 17px;
}

.p5-interview-btn-history {
    background: #2e74cc;
    color: #fff;
}

.p5-box-no-shadow {
    box-shadow: none;
}

.p5-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 16px;
    height: 100%;
    box-sizing: border-box;
    align-content: center;
}

.p5-link-btn {
    width: calc(50% - 8px);
    height: 86px;
    background: #f4f9fe;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.p5-link-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-bottom: 10px;
}

.p5-link-btn span {
    font-size: 18px;
    color: #222222;
}

.p5-link-btn-full {
    width: 100%;
}

/* ========== p6 双板块（办事服务 + 行情数据） ========== */
.p6 {
    margin-top: 30px;
}

.p6 .inner {
    display: flex;
}

.p6-panel {
    min-width: 0;
}

.p6-panel+.p6-panel {
    margin-left: 20px;
}

/* 办事服务 - 固定宽度 */
.p6-panel-bsw {
    flex: none;
    width: 440px;
}

/* 行情数据 - 占满剩余 */
.p6-panel-hq {
    flex: 1;
}

.p6-panel-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.p6-panel-title>span {
    font-size: 26px;
    font-weight: bold;
    color: #333333;
    flex-shrink: 0;
}

.p6-panel-title-icon {
    width: 16px;
    height: 11px;
    margin-left: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.p6-panel-title-line {
    flex: 1;
    height: 1px;
    background: #dcdcdc;
    min-width: 8px;
}

.p6-panel-title-more {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    font-size: 14px;
    color: #999999;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
}

.p6-panel-title-more:hover {
    color: #2e74cc;
}

.p6-panel-title-right-icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    flex-shrink: 0;
    object-fit: contain;
}

.p6-panel-box {
    box-shadow: 0px 0px 10px 0px rgba(69, 118, 246, 0.12);
    padding: 20px;
    box-sizing: border-box;
}

/* 办事服务 */
.p6-service-img {
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}

.p6-service-img+.p6-service-img {
    margin-top: 19px;
}

.p6-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p6-subtitle {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 17px;
    padding-bottom: 0;
    border-bottom: none;
    border-radius: 0;
}

.p6-subtitle::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: #2d56a9;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.p6-service-row {
    display: flex;
    margin-top: 17px;
}

.p6-service-half {
    width: 100%;
    display: block;
    text-decoration: none;
    overflow: hidden;
    margin-top: 17px;
}

.p6-service-half:first-child {
    margin-top: 0;
}

.p6-service-half+.p6-service-half {
    margin-left: 0;
}

.p6-service-half img {
    width: 100%;
    display: block;
}

/* ========== p6 行情数据 ========== */
.p6-hq-tab-nav {
    display: inline-flex;
    border-bottom: 1px solid #e8e8e8;
}

.p6-hq-tab-item {
    flex: none;
    position: relative;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding-bottom: 10px;
    margin-right: 40px;
    transition: color 0.3s;
}

.p6-hq-tab-item:last-of-type {
    margin-right: 0;
}

.p6-hq-tab-item.active {
    color: #2e74cc;
    font-weight: bold;
}

.p6-hq-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2e74cc;
    border-radius: 2px;
}

.p6-hq-tab-pane {
    display: none;
}

.p6-hq-tab-pane.active {
    display: block;
}

.p6-hq-title {
    text-align: center;
    font-size: 20px;
    color: #2e74cc;
    font-weight: bold;
    height: 48px;
    line-height: 48px;
    border-radius: 24px;
    background: #f4f7fa;
    margin-top: 20px;
}

.p6-hq-filter-row {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 0 6px;
}

.p6-hq-cate-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.p6-hq-cate-label {
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
    margin-right: 6px;
}

.p6-hq-cate-select {
    width: 120px;
    height: 30px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
}

.p6-hq-cate-select:focus {
    border-color: #2e74cc;
}

/* 图表容器 */
.p6-hq-chart {
    width: 100%;
    height: 325px;
    margin-top: 12px;
    box-sizing: border-box;
}

.p6-hq-week-label {
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.p6-hq-week-wrap {
    position: relative;
    margin: 0 6px;
    flex: 1;
    min-width: 0;
}

.p6-hq-week-picker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    accent-color: #2e74cc;
}

.p6-hq-week-native {
    width: 100%;
    height: 30px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 30px 0 8px;
    font-size: 13px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
}

.p6-hq-week-native:focus {
    border-color: #2e74cc;
}

/* 日历小图标 */
.p6-hq-week-wrap::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url('//hbnysy.hubei.gov.cn/material/images/newhome/week-icon.png') center/contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

.p6-hq-btn-group {
    display: flex;
    flex-shrink: 0;
}

.p6-hq-search-btn {
    height: 30px;
    padding: 0 14px;
    font-size: 14px;
    color: #fff;
    background: #2e74cc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 6px;
    flex-shrink: 0;
}

.p6-hq-search-btn:hover {
    background: #2561a8;
}

.p6-hq-reset-btn {
    height: 30px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 6px;
    flex-shrink: 0;
}

.p6-hq-reset-btn:hover {
    border-color: #2e74cc;
    color: #2e74cc;
}

.p6-hq-grid-title {
    font-size: 18px;
    color: #333333;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 0;
    padding-left: 6px;
    display: inline-block;
}

.p6-hq-unit {
    font-size: 14px;
    color: #999;
    vertical-align: bottom;
    margin-left: 5px;
}

.p6-hq-download-btn {
    float: right;
    text-decoration: none;
    margin-top: 5px;
    margin-right: 0px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    line-height: 0;
}

.p6-hq-download-btn img {
    width: auto;
    height: 24px;
}

/* 数据网格 */
.p6-hq-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 14px;
    margin-top: 12px;
    padding: 6px 6px;
    max-height: 325px;
    overflow-y: auto;
    width: 100%;
}

.p6-hq-grid::-webkit-scrollbar {
    width: 5px;
    background: transparent;
}

.p6-hq-grid::-webkit-scrollbar-track,
.p6-hq-grid::-webkit-scrollbar-track-piece {
    background: transparent;
    border: none;
    box-shadow: none;
}

.p6-hq-grid::-webkit-scrollbar-thumb {
    background-color: #d4d4d4;
    border-radius: 3px;
}

.p6-hq-card {
    height: 140px;
    box-shadow: 0px 0px 5px 0px rgba(69, 118, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px 13px;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.p6-hq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px 0px rgba(69, 118, 246, 0.35);
}

.p6-hq-card-img {
    width: 28px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.p6-hq-card-name {
    font-size: 14px;
    color: #333;
    line-height: 1;
}

.p6-hq-card-label {
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.p6-hq-card-val {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    line-height: 1;
}

.p6-hq-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 19px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
}

.p6-hq-trend img {
    width: 10px;
    height: 10px;
    margin-right: 4px;
}

.p6-hq-trend.p6-hq-up {
    background: #e2554e;
}

.p6-hq-trend.p6-hq-down {
    background: #62d24b;
}

.p6-hq-trend.p6-hq-flat {
    background: #bdbdbd;
}

/* 移动端"查看详情"链接 */
.tab-more {
    display: none;
    text-align: center;
    font-size: 14px;
    color: #2e74cc;
    text-decoration: none;
    height: 44px;
    line-height: 44px;
    margin-top: 10px;
    background: #f4f7fa;
    border-radius: 4px;
}

/* ========== 平板端适配 (≤1024px) ========== */
@media (max-width: 1024px) {
    body {
        background-size: 100%;
    }

    /* p1 轮播图缩小 */
    .banner-wrap {
        width: 480px;
        height: 280px;
        margin-right: 20px;
    }

    /* p2 面板间距缩小 */
    .p2-tab-panel+.p2-tab-panel {
        margin-left: 30px;
    }

    .p2-tab-item {
        font-size: 16px;
        margin-right: 20px;
    }

    /* p3 卡片调整 */
    .p3-box {
        width: 180px;
        margin-right: 20px;
        padding: 0 10px;
    }

    /* p4 布局调整 */
    .p4-left {
        width: 55%;
        margin-right: 20px;
    }

    /* p5 三栏缩小 */
    .p5-box {
        height: 280px;
        width: 100%;
    }

    .p5-interact-item {
        height: 70px;
    }

    .p5-link-btn {
        height: 76px;
    }

    .p5-link-btn img {
        width: 28px;
        height: 28px;
    }

    .p5-link-btn span {
        font-size: 15px;
    }

    .p5-interview-btns {
        margin-top: 20px;
    }

    /* p6 调整 */
    .p6-panel-bsw {
        width: 360px;
    }

    .p6-hq-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 10px;
    }

    .p6-hq-card {
        height: 120px;
        padding: 10px 4px;
    }

    .p6-hq-chart {
        height: 280px;
    }

    .p6-hq-grid {
        max-height: 280px;
    }

    .p6-hq-tab-item {
        font-size: 16px;
        margin-right: 20px;
    }
}

/* ========== 手机端适配 (≤768px) ========== */
@media (max-width: 768px) {
    body {
        background-size: 100%;
    }

    .tab-more {
        display: block;
    }

    .tab-mobile .tab-list li a {
        pointer-events: none;
    }

    /* 头条缩小 */
    .headline {
        height: 38px;
        margin-top: 0;
    }

    .headline-inner {
        width: 100%;
    }

    .headline-swiper {
        width: 100%;
        max-width: 100%;
        flex: 1;
        height: 18px;
    }

    .headline-swiper .swiper-slide a {
        font-size: 16px;
        line-height: 18px;
    }

    .headline-swiper .swiper-slide img {
        width: 30px;
        height: 14px;
        margin-right: 8px;
    }

    .headline-pagination {
        margin-top: 0;
    }

    /* p1-body 垂直排列 */
    .p1-body {
        flex-direction: column;
        margin-top: 20px;
    }

    .banner-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 690/399;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .banner-overlay {
        height: 36px;
        padding: 0 16px;
    }

    .banner-text {
        font-size: 14px;
        line-height: 36px;
    }

    .banner-prev,
    .banner-next {
        display: none;
    }

    .tab-item {
        font-size: 16px;
        margin-right: 18px;
    }

    .tab-nav {
        padding: 0 4px;
    }

    .tab-list li {
        height: 42px;
        line-height: 42px;
    }

    .tab-list li a {
        font-size: 14px;
        flex: 0 0 65%;
        max-width: 65%;
    }

    .tab-list li .date {
        font-size: 13px;
    }

    /* p2 垂直排列 */
    .p2 {
        margin-top: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .p2-list {
        flex-direction: column;
    }

    .p2-tab-panel+.p2-tab-panel {
        margin-left: 0;
        margin-top: 20px;
    }

    .p2-tab-item {
        font-size: 16px;
        margin-right: 18px;
    }

    .p2-list-ul li {
        height: 42px;
        line-height: 42px;
    }

    .p2-list-ul li a {
        font-size: 14px;
    }

    .p2-list-ul li .date {
        font-size: 13px;
    }

    .p2-swiper-prev,
    .p2-swiper-next {
        display: none;
    }

    /* p3 垂直排列 */
    .p3 {
        height: auto;
        margin-top: 20px;
        padding: 0 20px;
        background: url(//hbnysy.hubei.gov.cn/material/images/newhome/p3-bg.png) 50% 0% no-repeat;
        padding-top: 10px;
        background-size: 100% 100%;

    }

    .p3 .inner {
        flex-direction: column;
        height: auto;
        padding-bottom: 20px;
    }

    .p3-left-img {
        margin-left: 0;
        margin-bottom: 12px;
        width: 42%;
    }

    .p3-left-img img {
        max-width: 100%;
        height: auto;
    }

    .p3-boxes {
        margin-left: 0;
        margin-right: 0;
        justify-content: flex-start;
    }

    .p3-box-icon-l {
        width: 20px;
        height: 20px;
    }

    .p3-box {
        width: 47%;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .p3-box-text {
        font-size: 14px;
    }

    /* p4 垂直排列 */
    .p4 {
        margin-top: 20px;
    }

    .p4 .inner {
        flex-direction: column;
        padding: 0 20px;
    }

    .p4-left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .p4-right {
        width: 100%;
    }

    .p4-search-title {
        font-size: 20px;
    }

    /* p5 三栏垂直排列 */
    .p5 {
        margin-top: 20px;
    }

    .p5 .inner {
        padding: 16px 20px;
    }

    .p5-panel-title {
        padding: 10px 4px 8px;
        margin-bottom: 14px;
    }

    .p5-panel-title>span {
        font-size: 20px;
    }

    .p5-box-row {
        flex-direction: column;
        gap: 16px;
    }

    .p5-box {
        height: auto;
        min-height: 200px;
        width: 100%;
    }

    .p5-interact-item {
        height: auto;
        min-height: 60px;
        padding: 10px 0;
    }

    .p5-interact-text {
        font-size: 14px;
        line-height: 20px;
    }

    .p5-interview-wrap {
        padding: 16px 14px;
    }

    .p5-interview-label,
    .p5-interview-text {
        font-size: 14px;
    }

    .p5-interview-item+.p5-interview-item {
        margin-top: 12px;
    }

    .p5-interview-btns {
        margin-top: 18px;
    }

    .p5-interview-btn {
        height: 32px;
        padding: 0 16px;
        font-size: 13px;
    }

    .p5-link-grid {
        gap: 16px 10px;
    }

    .p5-link-btn {
        height: 70px;
    }

    .p5-link-btn img {
        width: 28px;
        height: 28px;
        margin-bottom: 6px;
    }

    .p5-link-btn span {
        font-size: 14px;
    }

    /* p6 垂直排列 */
    .p6 .inner {
        flex-direction: column;
    }

    .p6-panel-bsw {
        width: 100%;
        margin-bottom: 16px;
    }

    .p6-panel+.p6-panel {
        margin-left: 0;
    }

    .p6-panel-title {
        padding: 10px 4px 8px;
        margin-bottom: 14px;
    }

    .p6-panel-title>span {
        font-size: 20px;
    }

    .p6-hq-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px 10px;
        max-height: none;
    }

    .p6-hq-card {
        height: 110px;
        padding: 10px 4px;
    }

    .p6-hq-card-name,
    .p6-hq-card-label {
        font-size: 12px;
    }

    .p6-hq-card-val {
        font-size: 14px;
    }

    .p6-hq-chart {
        height: 260px;
    }

    .p6-hq-title {
        font-size: 16px;
        height: 38px;
        line-height: 38px;
        border-radius: 19px;
        margin-top: 12px;
    }

    .p6-hq-filter-row {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 0px;
    }

    .p6-hq-cate-group {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .p6-hq-cate-select {
        width: auto;
        margin-right: 0;
        min-width: 0;
        flex: 1;
    }

    .p6-hq-cate-label {
        margin-right: 8px;
        flex-shrink: 0;
    }

    .p6-hq-week-label {
        margin-left: 4px;
    }

    .p6-hq-week-wrap {
        flex: 1;
        min-width: 0;
        margin: 0 4px;
    }

    .p6-hq-btn-group {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .p6-hq-search-btn,
    .p6-hq-reset-btn {
        flex: 1;
        margin-left: 6px;
    }

    .p6-hq-search-btn:first-child {
        margin-left: 0;
    }

    .p6-hq-tab-item {
        font-size: 15px;
        margin-right: 16px;
    }

    .p6-hq-grid-title {
        font-size: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .p6-subtitle {
        font-size: 16px;
    }

    .p6-hq-tab-pane iframe {
        width: 100% !important;
        height: 520px !important;
    }

    .p6-hq-tab-pane {
        padding: 0px !important;
    }

    .side-float-panel {
        display: none !important;
    }

    .p2-img-swiper .swiper-slide img {
        height: 50px;
    }

    .p2-swiper {
        height: 50px;
    }
}

/* ========== 右侧悬浮窗 ========== */
.side-float-panel {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.15);
    padding: 6px;
    z-index: 9999;
}

.side-float-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 0 4px;
    cursor: pointer;
}

.side-float-item+.side-float-item {
    border-top: 1px solid #eeeeee;
}

.side-float-item:last-child {
    height: 170px;
}

.side-float-item img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.side-float-item span {
    font-size: 14px;
    color: #333333;
    margin-top: 5px;
    text-align: center;
}

.side-float-close {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    color: #999;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 0px 6px rgba(135, 180, 230, 0.35);
}

.side-float-close:hover {
    color: #666;
    background: #f5f5f5;
}