/* WordPress 特有样式补充 - 不覆盖原版 style.css */

/* 修复 WordPress admin bar 占位 */
html body.admin-bar .header {
    margin-top: 0;
}

/* 修复 WordPress body 默认样式 */
body {
    margin: 0;
    padding: 0;
}

/* 修复 WordPress 图片最大宽度 */
.wp-caption {
    max-width: 100%;
}

/* 修复 WordPress 对齐类 */
.alignleft { float: left; margin-right: 15px; }
.alignright { float: right; margin-left: 15px; }
.aligncenter { display: block; margin: 0 auto; }

/* 修复 WordPress 分页样式 */
.page-numbers {
    display: inline-block;
    height: 48px;
    line-height: 48px;
    min-width: 20px;
    padding: 0 13px;
    border: 1px solid #eaecf1;
    vertical-align: middle;
    margin: 0 2px;
    font-size: 14px;
    color: #000;
    background: #fff;
}
.page-numbers.current,
.page-numbers:hover {
    background: #0098e8;
    color: #fff;
    border-color: #0098e8;
}

/* 修复 WordPress 评论区 */
.comment-form, .comments-area {
    display: none;
}

/* 修复 menu 当前项高亮 */
.menu ul li.current-menu-item a,
.menu ul li.current-category-ancestor a,
.menu ul li.current-post-ancestor a {
    background: #fff;
    color: #0098e8;
}

/* 修复 label 标签在 menu 中的显示 */
.menu ul li a label {
    display: none;
}

/* ===== 内页通用 page3 ===== */
.page.page3 {
    background: #f8f8f8;
    padding: 20px 0 50px;
    min-height: 400px;
}

/* ===== 面包屑 ===== */
.page_dqwz {
    padding: 12px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.page_dqwz a {
    color: #666;
    text-decoration: none;
}
.page_dqwz a:hover {
    color: #0098e8;
}
.page_dqwz1 {
    margin-bottom: 15px;
}

/* ===== 医师团队 team_list 4列网格布局（完全还原原版）===== */
.team_list {
    padding: 10px 0 30px;
}
.team_list ul {
    margin: 0 -1%;
    overflow: hidden;
}
.team_list ul li {
    float: left;
    background: #fff;
    width: 23%;
    margin: 20px 1% 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.team_list ul li:hover {
    box-shadow: 0 4px 16px rgba(0,150,232,0.15);
}
.team_list ul li a {
    display: block;
    text-decoration: none;
    color: #333;
}
.team_list ul li .img {
    position: relative;
    overflow: hidden;
}
.team_list ul li .img img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}
.team_list ul li:hover .img img {
    transform: scale(1.05);
}
.team_list ul li .img .text {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,152,232,0.85);
    padding: 4px 10px;
    border-radius: 3px;
    line-height: 1.4;
    text-align: center;
}
.team_list ul li .img .text p {
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    margin: 0;
}
.team_list ul li .web {
    text-align: center;
    padding: 18px 12px 20px;
}
.team_list ul li .web h3 {
    font-size: 18px;
    color: #222;
    margin: 0 0 8px;
    font-weight: bold;
}
.team_list ul li .web p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 培训讲座 list_box 左文右图布局（完全还原原版）===== */
.course_list {
    padding: 0;
    margin-bottom: 0;
}
.course_tit {
    padding: 0 0 0 80px;
    position: relative;
    line-height: 36px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.course_tit .flt {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #8f8f8f;
    line-height: 36px;
}
.course_tit ul {
    white-space: nowrap;
    overflow-x: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}
.course_tit ul li {
    display: inline-block;
}
.course_tit ul li a {
    display: block;
    padding: 0 18px;
    border-radius: 3px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 36px;
}
.course_tit ul li.on a,
.course_tit ul li a:hover {
    background: #0098e8;
    color: #fff;
}

.list_box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.list_box ul li {
    border: 1px solid #d3d3d3;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.list_box ul li:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.list_box ul li .img {
    float: right;
    width: 380px;
    margin-left: 25px;
    overflow: hidden;
}
.list_box ul li .img a {
    display: block;
}
.list_box ul li .img img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s;
}
.list_box ul li:hover .img img {
    transform: scale(1.03);
}
.list_box ul li .text {
    overflow: hidden;
    padding: 0 10px 0 0;
}
.list_box ul li .text h3 {
    font-size: 22px;
    line-height: 1.4;
    color: #222;
    margin: 5px 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list_box ul li .text h3 a {
    color: #222;
    text-decoration: none;
}
.list_box ul li .text h3 a:hover {
    color: #0098e8;
}
.list_box ul li .div_tips {
    margin: 10px 0 12px;
}
.list_box ul li .div_tips label {
    display: inline-block;
    padding: 0 10px;
    line-height: 28px;
    border: 1px solid #66c1f1;
    background: #f0f9fe;
    color: #0098e8;
    font-size: 14px;
    margin-right: 5px;
    border-radius: 3px;
    cursor: default;
}
.list_box ul li p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list_box ul li p a {
    color: #0098e8;
    text-decoration: none;
}
.list_box ul li .btn {
    margin-top: 15px;
}
.list_box ul li .btn a {
    display: inline-block;
    line-height: 44px;
    padding: 0 30px;
    border: 1px solid #fa9504;
    color: #fff;
    background: #ffac04;
    text-align: center;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}
.list_box ul li .btn a:hover {
    background: #fa9504;
}

/* ===== 特色科室 case_list 三列网格布局 ===== */
.case_list ul {
    list-style: none;
    margin: 0 -1%;
    padding: 0;
    overflow: hidden;
}
.case_list ul li {
    float: left;
    width: 31.3%;
    margin: 0 1% 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.case_list ul li a {
    display: block;
    text-decoration: none;
    color: #333;
}
.case_list ul li .img {
    position: relative;
    overflow: hidden;
}
.case_list ul li .img img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}
.case_list ul li:hover .img img {
    transform: scale(1.05);
}
.case_list ul li .img .img_text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
}
.case_list ul li .text {
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ===== 标准新闻列表 news_list_page ===== */
.news_list_page ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news_list_page ul li {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    overflow: hidden;
}
.news_list_page ul li a {
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #333;
}
.news_list_page ul li .img {
    float: left;
    width: 200px;
    height: 130px;
    overflow: hidden;
    margin-right: 20px;
}
.news_list_page ul li .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.news_list_page ul li a:hover .img img {
    transform: scale(1.05);
}
.news_list_page ul li .text {
    overflow: hidden;
}
.news_list_page ul li .text h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.5;
}
.news_list_page ul li .text h3 span {
    color: #333;
}
.news_list_page ul li a:hover .text h3 span {
    color: #0098e8;
}
.news_list_page ul li .text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news_list_page ul li .text .bottom {
    font-size: 13px;
    color: #999;
}
.news_list_page ul li .text .bottom .span1 {
    margin-right: 15px;
    color: #0098e8;
}

/* ===== 文章详情页 page12 ===== */
.page.page12 {
    background: #f8f8f8;
    padding: 20px 0 50px;
}
.page.page12 .news_l {
    float: left;
    width: 68%;
}
.page.page12 .news_r {
    float: right;
    width: 28%;
}
.news_details .tit {
    border-bottom: 2px solid #0098e8;
    padding-bottom: 12px;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px 20px 12px;
}
.news_details .tit h3 {
    font-size: 22px;
    color: #333;
    margin: 0 0 8px;
}
.news_details .tit p {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.news_details .web {
    background: #fff;
    padding: 20px;
    line-height: 1.8;
    font-size: 15px;
    color: #444;
}
.news_details .web img {
    max-width: 100%;
    height: auto;
}
.news_details .page_pn {
    background: #fff;
    padding: 15px 20px;
    margin-top: 5px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}
.news_details .page_pn p {
    margin: 5px 0;
}
.news_details .page_pn a {
    color: #0098e8;
    text-decoration: none;
}

/* 右侧热门文章 */
.hot_news .tit {
    background: #0098e8;
    padding: 10px 15px;
    margin-bottom: 0;
}
.hot_news .tit p {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
.hot_news ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #eee;
    border-top: none;
    background: #fff;
}
.hot_news ul li {
    border-bottom: 1px solid #eee;
}
.hot_news ul li:last-child {
    border-bottom: none;
}
.hot_news ul li a {
    display: block;
    padding: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
}
.hot_news ul li a:hover {
    background: #f5f5f5;
}
.hot_news .img1 {
    float: left;
    width: 70px;
    height: 55px;
    position: relative;
    margin-right: 10px;
    overflow: hidden;
}
.hot_news .img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hot_news .img1 span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #999;
    color: #fff;
    font-size: 12px;
}
.hot_news .img1 span.sp1 {
    background: #0098e8;
}
.hot_news .web {
    overflow: hidden;
}
.hot_news .web h4 {
    font-size: 13px;
    color: #333;
    margin: 0 0 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hot_news .web p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ===== 分页 ===== */
.pagination-wrapper {
    text-align: center;
    padding: 20px 0 10px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .team_list ul li {
        width: 31.3%;
    }
    .list_box ul li .img {
        width: 300px;
    }
}
@media (max-width: 768px) {
    .team_list ul li {
        width: 48%;
    }
    .list_box ul li .img {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 12px;
    }
    .list_box ul li .img img {
        height: 200px;
    }
    .page.page12 .news_l,
    .page.page12 .news_r {
        float: none;
        width: 100%;
    }
    .news_list_page ul li .img {
        width: 120px;
        height: 80px;
    }
    .case_list ul li {
        width: 48%;
    }
}
@media (max-width: 480px) {
    .team_list ul li {
        width: 100%;
        margin: 10px 0;
    }
    .case_list ul li {
        width: 100%;
    }
}


/* =====================================================
   移动端适配补丁 - viviaivf-theme
   覆盖范围：360px 以下极小屏幕及通用移动端优化
   ===================================================== */

/* ===== 全局基础修复 ===== */
* {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}
table {
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}

/* ===== 头部区域 ===== */
@media (max-width: 768px) {
    /* 顶部信息栏 */
    .head {
        padding: 5px 0;
    }
    .head .frt ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: flex-end;
    }
    .head .frt ul li {
        font-size: 12px;
    }
    /* LOGO + 电话区域 */
    .head2 {
        padding: 8px 0;
    }
    .head2 .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
    }
    .head2 .logo {
        float: none;
    }
    .head2 .logo img {
        height: 45px;
        width: auto;
    }
    .head2 .tel {
        float: none;
        text-align: right;
    }
    .head2 .tel h3 {
        font-size: 16px;
        line-height: 1.3;
    }
    .head2 .tel p {
        font-size: 11px;
    }
    /* 汉堡菜单按钮优化 */
    .menu {
        position: relative;
    }
    .menu_wrap {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: rgba(0,152,232,0.15);
        border-radius: 4px;
        cursor: pointer;
        z-index: 100;
    }
    .menu_wrap::before,
    .menu_wrap::after,
    .menu_wrap span {
        content: '';
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s;
    }
    /* 展开菜单样式 */
    body.h_menu .menu ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0098e8;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        padding: 5px 0;
    }
    body.h_menu .menu ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    body.h_menu .menu ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 15px;
        color: #fff;
        line-height: 1.4;
    }
    body.h_menu .menu ul li.on a,
    body.h_menu .menu ul li a:hover {
        background: rgba(255,255,255,0.15);
    }
}

/* ===== Banner 轮播 ===== */
@media (max-width: 480px) {
    .banner .item {
        height: 180px;
    }
    .banner .item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}
@media (max-width: 360px) {
    .banner .item {
        height: 150px;
    }
}

/* ===== 首页统计数字板块 page_top ===== */
@media (max-width: 480px) {
    .page_top ul {
        display: flex;
        flex-wrap: wrap;
    }
    .page_top ul li {
        width: 50% !important;
        padding: 10px 5px;
    }
    .page_top ul li.li_cur {
        display: none;
    }
    .page_top ul li h3 {
        font-size: 22px;
    }
    .page_top ul li h3 span {
        font-size: 24px !important;
    }
    .page_top ul li p {
        font-size: 12px;
    }
}
@media (max-width: 360px) {
    .page_top ul li {
        width: 50% !important;
    }
    .page_top ul li h3 {
        font-size: 18px;
    }
}

/* ===== 板块标题 page_tit ===== */
@media (max-width: 480px) {
    .page_tit h3 {
        font-size: 22px !important;
    }
    .page_tit p {
        font-size: 13px;
    }
}
@media (max-width: 360px) {
    .page_tit h3 {
        font-size: 18px !important;
    }
}

/* ===== 医师团队轮播 team_owl ===== */
@media (max-width: 768px) {
    .team_owl {
        width: 100%;
        overflow: hidden;
    }
    .team_owl .owl-item .item {
        padding: 0 5px;
    }
    .team_owl .owl-item .item img {
        width: 100%;
        height: auto;
    }
    .team_owl .owl-item .item .text {
        padding: 8px 10px;
    }
    .team_owl .owl-item .item .text h3 {
        font-size: 14px;
    }
    .team_owl .owl-item .item .text p {
        font-size: 12px;
    }
    /* 轮播导航箭头 */
    .team_owl .owl-buttons div,
    .team_owl .owl-nav button {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }
}

/* ===== 科普专栏轮播 news_list ===== */
@media (max-width: 768px) {
    .news_list .owl-item .item {
        padding: 0 5px;
    }
    .news_list .owl-item .item .img {
        height: 160px;
        overflow: hidden;
    }
    .news_list .owl-item .item .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .news_list .owl-item .item .text {
        padding: 8px 10px;
    }
    .news_list .owl-item .item .text h3 {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* ===== 友情链接 link_list ===== */
@media (max-width: 480px) {
    .link_list ul li {
        width: 50%;
    }
    .link_list ul li img {
        max-height: 50px;
        object-fit: contain;
    }
}
@media (max-width: 360px) {
    .link_list ul li {
        width: 50%;
    }
}

/* ===== 快捷入口 page8 ===== */
@media (max-width: 480px) {
    .page8_list ul {
        display: flex;
        flex-wrap: wrap;
    }
    .page8_list ul li {
        width: 25% !important;
        padding: 12px 0 !important;
    }
    .page8_list ul li label {
        font-size: 11px;
    }
}
@media (max-width: 360px) {
    .page8_list ul li {
        width: 25% !important;
        padding: 10px 0 !important;
    }
    .page8_list ul li span {
        width: 38px !important;
        height: 38px !important;
        background-size: 38px 38px !important;
    }
    .page8_list ul li label {
        font-size: 10px;
    }
}

/* ===== 列表页 - 报名/培训 list_box ===== */
@media (max-width: 768px) {
    .list_box ul li {
        padding: 15px 0;
    }
    .list_box ul li .img {
        float: none;
        width: 100% !important;
        margin: 0 0 12px 0;
    }
    .list_box ul li .img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    .list_box ul li .text h3 {
        font-size: 16px;
    }
    .list_box ul li .text p {
        font-size: 13px;
        line-height: 1.6;
    }
    .list_box ul li .text .div_tips label {
        font-size: 11px;
        padding: 2px 6px;
        margin: 2px;
    }
    .list_box ul li .text .btn a {
        padding: 8px 20px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .list_box ul li .img img {
        height: 160px;
    }
}

/* ===== 新闻列表 news_list_page ===== */
@media (max-width: 480px) {
    .news_list_page ul li {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    .news_list_page ul li .img {
        width: 100px !important;
        height: 70px !important;
    }
    .news_list_page ul li .text h3 {
        font-size: 14px;
    }
    .news_list_page ul li .text p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .news_list_page ul li .text .bottom {
        font-size: 11px;
    }
}
@media (max-width: 360px) {
    .news_list_page ul li .img {
        width: 80px !important;
        height: 60px !important;
        margin-right: 10px;
    }
    .news_list_page ul li .text h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }
}

/* ===== 医师团队列表页 team_list_page ===== */
@media (max-width: 480px) {
    .team_list_page ul li {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    .team_list_page ul li .img {
        height: 220px;
    }
    .team_list_page ul li .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 360px) {
    .team_list_page ul li .text h3 {
        font-size: 15px;
    }
    .team_list_page ul li .text p {
        font-size: 12px;
    }
}

/* ===== 案例/网格列表 case_list ===== */
@media (max-width: 360px) {
    .case_list ul li {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    .case_list ul li .img {
        height: 180px;
    }
    .case_list ul li .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ===== 文章详情页 page12 ===== */
@media (max-width: 768px) {
    .page.page12 .news_l,
    .page.page12 .news_r {
        float: none !important;
        width: 100% !important;
    }
    .page.page12 .news_r {
        margin-top: 20px;
    }
    .news_details .tit h3 {
        font-size: 18px;
    }
    .news_details .web {
        font-size: 14px;
        padding: 15px;
    }
    .news_details .web img {
        max-width: 100%;
        height: auto !important;
    }
    /* 修复正文中可能出现的固定宽度表格 */
    .news_details .web table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 13px;
    }
    .news_details .web table td,
    .news_details .web table th {
        min-width: 80px;
        padding: 6px 8px;
        white-space: normal;
        word-break: break-all;
    }
}
@media (max-width: 480px) {
    .news_details .tit h3 {
        font-size: 16px;
    }
    .news_details .tit p {
        font-size: 12px;
    }
    .news_details .web {
        font-size: 13px;
        padding: 12px;
        line-height: 1.7;
    }
    .news_details .page_pn {
        font-size: 12px;
        padding: 10px 12px;
    }
    /* 热门文章右侧栏 */
    .hot_news .img1 {
        width: 60px;
        height: 48px;
    }
    .hot_news .web h4 {
        font-size: 12px;
    }
}
@media (max-width: 360px) {
    .news_details .tit {
        padding: 10px 12px 8px;
    }
    .news_details .tit h3 {
        font-size: 15px;
    }
    .news_details .web {
        padding: 10px;
        font-size: 13px;
    }
}

/* ===== 内页 Banner page_banner ===== */
@media (max-width: 480px) {
    .page_banner {
        height: 120px;
        min-height: 120px;
    }
    .page_banner h2 {
        font-size: 22px !important;
    }
    .page_banner p {
        font-size: 14px !important;
    }
}
@media (max-width: 360px) {
    .page_banner {
        height: 100px;
        min-height: 100px;
    }
    .page_banner h2 {
        font-size: 18px !important;
    }
    .page_banner p {
        font-size: 12px !important;
    }
}

/* ===== 分页 pagination ===== */
@media (max-width: 480px) {
    .pagination-wrapper {
        padding: 15px 5px;
    }
    .page_size .page-numbers,
    .pagination .page-numbers {
        height: 36px;
        line-height: 36px;
        min-width: 32px;
        padding: 0 8px;
        font-size: 13px;
        margin: 0 1px;
    }
}
@media (max-width: 360px) {
    .page_size .page-numbers,
    .pagination .page-numbers {
        height: 32px;
        line-height: 32px;
        min-width: 28px;
        padding: 0 6px;
        font-size: 12px;
    }
}

/* ===== 页脚 footer ===== */
@media (max-width: 480px) {
    .footer .f_nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px;
    }
    .footer .f_nav ul li {
        padding: 0 4px !important;
        font-size: 12px !important;
    }
    .footer .f_tel {
        font-size: 12px;
        text-align: center;
        margin: 8px 0;
    }
    .footer .f_tel span {
        display: block;
        margin: 3px 0;
    }
    .footer .link {
        font-size: 12px;
        text-align: center;
        line-height: 1.8;
    }
    .footer .link a {
        margin: 0 3px;
    }
    .foot2 p {
        font-size: 11px;
        text-align: center;
        padding: 0 10px;
    }
}
@media (max-width: 360px) {
    .footer .f_nav ul li {
        font-size: 11px !important;
    }
    .footer .link {
        font-size: 11px;
    }
}

/* ===== 右侧悬浮栏 form_right ===== */
@media (max-width: 768px) {
    .form_right {
        display: none !important;
    }
}

/* ===== 环境图片 hj_list ===== */
@media (max-width: 360px) {
    .hj_list ul li {
        width: 50% !important;
    }
    .hj_list ul li .img {
        height: 100px;
    }
    .hj_list ul li .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ===== 通用 wrap 内边距 ===== */
@media (max-width: 480px) {
    .wrap {
        padding: 0 10px;
    }
}
@media (max-width: 360px) {
    .wrap {
        padding: 0 8px;
    }
}

/* ===== 修复正文中固定宽度的 iframe（如地图/视频嵌入）===== */
@media (max-width: 768px) {
    .news_details .web iframe,
    .article_content iframe {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ===== 修复极小屏幕下 overflow 导致的横向滚动 ===== */
@media (max-width: 360px) {
    .page.page1,
    .page.page2,
    .page.page3,
    .page.page4,
    .page.page5,
    .page.page6,
    .page.page7,
    .page.page8,
    .page.page9,
    .page.page10,
    .page.page11,
    .page.page12 {
        overflow-x: hidden;
    }
}


/* =====================================================
   Contact Form 7 表单样式
   ===================================================== */

/* 表单外层容器 */
.cf7-form-wrap {
    max-width: 600px;
}
.cf7-form-wrap .form-row {
    margin-bottom: 18px;
}
.cf7-form-wrap .form-row label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    font-weight: normal;
}
.cf7-form-wrap .form-row label .required {
    color: #e74c3c;
    margin-left: 3px;
}
.cf7-form-wrap .wpcf7-form-control-wrap {
    display: block;
}
.cf7-form-wrap input[type="text"],
.cf7-form-wrap input[type="email"],
.cf7-form-wrap input[type="tel"],
.cf7-form-wrap select,
.cf7-form-wrap textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    -webkit-appearance: none;
}
.cf7-form-wrap input[type="text"]:focus,
.cf7-form-wrap input[type="email"]:focus,
.cf7-form-wrap input[type="tel"]:focus,
.cf7-form-wrap select:focus,
.cf7-form-wrap textarea:focus {
    border-color: #0098e8;
    box-shadow: 0 0 0 3px rgba(0,152,232,0.1);
}
.cf7-form-wrap textarea {
    resize: vertical;
    min-height: 100px;
}
.cf7-form-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
/* 单选按钮 */
.cf7-form-wrap .wpcf7-radio {
    display: flex;
    gap: 20px;
    padding: 8px 0;
}
.cf7-form-wrap .wpcf7-radio .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.cf7-form-wrap .wpcf7-radio .wpcf7-list-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #0098e8;
    cursor: pointer;
}
.cf7-form-wrap .wpcf7-radio .wpcf7-list-item-label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}
/* 提交按钮 */
.cf7-form-wrap .form-submit {
    margin-top: 24px;
}
.cf7-form-wrap input[type="submit"],
.cf7-form-wrap .wpcf7-submit {
    background: #0098e8;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    letter-spacing: 1px;
}
.cf7-form-wrap input[type="submit"]:hover,
.cf7-form-wrap .wpcf7-submit:hover {
    background: #007bc0;
}
.cf7-form-wrap input[type="submit"]:active,
.cf7-form-wrap .wpcf7-submit:active {
    transform: scale(0.98);
}
/* 验证错误提示 */
.cf7-form-wrap .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}
.cf7-form-wrap .wpcf7-not-valid {
    border-color: #e74c3c !important;
}
/* 提交结果提示 */
.wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    border: none !important;
}
.wpcf7-mail-sent-ok {
    background: #d4edda !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}
.wpcf7-spam-blocked {
    background: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}
/* 加载动画 */
.wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* ===== 表单页面布局 ===== */
.form_page_wrap {
    display: flex;
    gap: 40px;
    padding: 30px 0;
}
.form_page_left {
    flex: 1;
    min-width: 0;
}
.form_page_right {
    width: 240px;
    flex-shrink: 0;
}
.form_section_title {
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0098e8;
}
.form_section_title h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 6px;
}
.form_section_title p {
    font-size: 13px;
    color: #888;
    margin: 0;
}
/* 右侧联系信息框 */
.contact_info_box {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 20px;
}
.contact_info_box h4 {
    font-size: 15px;
    color: #333;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.contact_info_box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.contact_info_box ul li {
    font-size: 13px;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}
.contact_info_box ul li:last-child {
    border-bottom: none;
}
.contact_info_box ul li strong {
    color: #333;
}
.qr_wrap {
    text-align: center;
}
.qr_wrap img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
}
.qr_wrap p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* ===== 联系我们页面 ===== */
.contact_info_section {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}
.contact_info_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.contact_info_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: calc(25% - 15px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}
.contact_info_item:hover {
    box-shadow: 0 4px 16px rgba(0,152,232,0.12);
}
.ci_icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0098e8;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ci_text h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px;
}
.ci_text p {
    font-size: 15px;
    color: #0098e8;
    font-weight: bold;
    margin: 0 0 2px;
}
.ci_text small {
    font-size: 12px;
    color: #999;
}
.contact_form_section {
    padding: 10px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .form_page_wrap {
        flex-direction: column;
        gap: 20px;
    }
    .form_page_right {
        width: 100%;
    }
    .contact_info_grid {
        gap: 12px;
    }
    .contact_info_item {
        width: calc(50% - 6px);
        padding: 14px;
    }
}
@media (max-width: 480px) {
    .contact_info_item {
        width: 100%;
    }
    .cf7-form-wrap .wpcf7-radio {
        flex-direction: row;
        gap: 15px;
    }
    .cf7-form-wrap input[type="submit"],
    .cf7-form-wrap .wpcf7-submit {
        width: 100%;
        padding: 13px;
    }
}
@media (max-width: 360px) {
    .form_section_title h3 {
        font-size: 17px;
    }
    .cf7-form-wrap input[type="text"],
    .cf7-form-wrap input[type="email"],
    .cf7-form-wrap input[type="tel"],
    .cf7-form-wrap select,
    .cf7-form-wrap textarea {
        font-size: 13px;
        padding: 9px 12px;
    }
}

/* ===== Polylang 语言切换器 ===== */
.lang-switcher { float: right; margin-top: 8px; }
.lang-switcher ul { list-style: none; margin: 0; padding: 0; }
.lang-switcher ul li { display: inline-block; margin-left: 8px; }
.lang-switcher ul li img { width: 24px; height: 16px; border-radius: 2px; opacity: 0.7; transition: opacity 0.2s; }
.lang-switcher ul li.current-lang img { opacity: 1; box-shadow: 0 0 0 2px #c89b3c; }
.lang-switcher ul li a:hover img { opacity: 1; }
@media (max-width: 768px) {
  .lang-switcher { float: none; text-align: center; margin: 5px 0; }
  .lang-switcher ul li { margin: 0 4px; }
}

/* === Language Switcher === */
.lang-switcher { display:flex; align-items:center; height:100%; padding:0 10px; }
.pll-lang-list { list-style:none; margin:0; padding:0; display:flex; gap:6px; align-items:center; }
.pll-lang-list li a { color:#fff; text-decoration:none; font-size:13px; padding:3px 8px; border-radius:3px; border:1px solid rgba(255,255,255,0.3); white-space:nowrap; transition:background 0.2s; }
.pll-lang-list li a:hover { background:rgba(255,255,255,0.2); }
.pll-lang-list li.current a { background:rgba(255,255,255,0.3); font-weight:bold; }
/* ===== 内容页通用排版样式 ===== */
.article_content { line-height: 1.8; color: #333; font-size: 15px; }
.article_content h2 { font-size: 22px; color: #222; margin: 30px 0 15px; padding-bottom: 8px; border-bottom: 2px solid #e74c3c; }
.article_content h3 { font-size: 18px; color: #444; margin: 25px 0 12px; }
.article_content p { margin: 12px 0; }
.article_content ul, .article_content ol { margin: 15px 0; padding-left: 25px; }
.article_content li { margin: 8px 0; }
.article_content strong { color: #e74c3c; }

/* 修复语言切换器位置 */
.lang-switcher.frt { float: right; margin-top: 10px; }
@media (max-width: 768px) {
  .lang-switcher.frt { float: none; text-align: center; margin: 8px 0; clear: both; }
}

/* 修复导航链接一致性 */
.menu ul li a { text-decoration: none; }
.menu ul li.current-menu-item a,
.menu ul li a:hover { color: #0098e8; }

/* ===== 内容页通用排版样式 ===== */
.article_content { line-height: 1.8; color: #333; font-size: 15px; }
.article_content h2 { font-size: 22px; color: #222; margin: 30px 0 15px; padding-bottom: 8px; border-bottom: 2px solid #e74c3c; }
.article_content h3 { font-size: 18px; color: #444; margin: 25px 0 12px; }
.article_content p { margin: 12px 0; }
.article_content ul, .article_content ol { margin: 15px 0; padding-left: 25px; }
.article_content li { margin: 8px 0; }
.article_content strong { color: #e74c3c; }

/* 修复语言切换器位置 */
.lang-switcher.frt { float: right; margin-top: 10px; }
@media (max-width: 768px) {
  .lang-switcher.frt { float: none; text-align: center; margin: 8px 0; clear: both; }
}

/* 修复导航链接一致性 */
.menu ul li a { text-decoration: none; }
.menu ul li.current-menu-item a,
.menu ul li a:hover { color: #0098e8; }

/* ===== 导航文字清晰度修复 ===== */
.menu ul li a {
    color: #ffffff !important;
    font-weight: 500;
}
.menu ul li.on a,
.menu ul li a:hover {
    color: #0098e8 !important;
    font-weight: 600;
}
.menu ul li a label {
    display: none !important;
}
