/* wp-newspaper theme customizer + custom CSS (extracted from live qishuyuan.com.cn) */
.detail-content h1{ font:500 32px/1em Poppins; }h1{ color:#333; }.detail-content h2{ font:400 28px/1em Mirza; }h2{ color:#333; }.detail-content h3{ font:300 24px/1em Monda; }h3{ color:#333; }.detail-content h4{ font:200 21px/1em Moul; }h4{ color:#333; }.detail-content h5{ font:150 15px/1em Ovo; }h5{ color:#333; }.detail-content h6{ font:100 12px/1em Oxygen; }h6{ color:#333; }
                body{ font: 400 16px/24px Quattrocento; color: #333; }
                body{ background-color: #fff; }

                article{ font: 400 18px/31px Playfair Display; color: #333; }

                div.container{ max-width: 1265px; }

                
                



                header .logo img{ height: 48px; }
                .site-title a{ font-size: 24px; font-family: Montserrat Alternates; color: #0c9499;}
                header .logo .site-description{color: #97a6b2;}
                section.top-bar{padding: 25px 0;}

                section.top-bar:before {background: #9b9b9b; opacity: 0.2;}


                

               


                
                

                .blog-news-title{ font-size: 22px; font-family: Montserrat; line-height: 30px; font-weight: 600;}
                .blog-news-title a{color: #0c9499;}

                

                


                
               

                // link color
                a{color:#ececec;}

                #primary-menu li a {color: #fff;}
                header .main-nav{background-color: #0c9499;}
                .main-navigation ul ul.sub-menu{background-color: #0c9499;}
                .main-navigation .nav-menu{background-color: #0c9499;}
                #primary-menu li a{ font-size: 16px; font-family: Poppins; font-weight: 500;}
                footer.main{background-color: #ececec;}


                header .top-info.pri-bg-color{background-color: #353844;}

                


                /*buttons*/
                header .search-submit,.widget .profile-link,
                .woocommerce #respond input#submit.alt, .woocommerce a.button.alt,
                .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button,
                .woocommerce input.button,form#wte_enquiry_contact_form input#enquiry_submit_button,#blossomthemes-email-newsletter-626 input.subscribe-submit-626,
                .jetpack_subscription_widget,.widget_search .search-submit,.widget-instagram .owl-carousel .owl-nav .owl-prev,
                .widget-instagram .owl-carousel .owl-nav .owl-next,.widget_search input.search-submit
                {background-color: #20e3ea;}

                


                .home-pages{background-color:#dd3333;}


                

               
        
/*# sourceURL=wp-newspaper-style-inline-css */
.post-content  p { text-indent: 2em }
hr{

border: none;
height: 1px;
background-color:red;
}

.post{
 border-bottom: gainsboro 1px solid; /*分割线颜色，线为实线，粗细为 1px*/
 padding-bottom: 10px;               /*分割线距文章底部10px，否则会紧贴文章底部，不美观*/
}

/* ================= 移动端排版修正（仅 <=767px 生效，桌面不变） ================= */
@media (max-width: 767px) {
    body { font-size: 15px; }
    /* 文章标题 */
    .detail-content h1.page-title,
    h1.page-title { font-size: 22px !important; line-height: 1.35 !important; }
    /* 正文（源站 article 为 18px/31px，手机偏大） */
    article,
    .post-content p { font-size: 16px !important; line-height: 1.85 !important; }
    /* 列表卡片标题 */
    .blog-news-title { font-size: 19px !important; line-height: 1.4 !important; }
    /* 站名 / 描述 */
    .site-title a { font-size: 20px !important; }
    .site-description { font-size: 13px; }
    /* 正文中的小标题层级 */
    .detail-content h2 { font-size: 20px !important; }
    .detail-content h3 { font-size: 18px !important; }
    .detail-content h4 { font-size: 17px !important; }
    .detail-content h5 { font-size: 16px !important; }
    .detail-content h6 { font-size: 15px !important; }
    /* 正文图片不溢出 */
    .single-post img, .post-content img { max-width: 100% !important; height: auto !important; }
}
@media (max-width: 480px) {
    .detail-content h1.page-title,
    h1.page-title { font-size: 20px !important; }
    article,
    .post-content p { font-size: 15.5px !important; line-height: 1.9 !important; }
    .blog-news-title { font-size: 18px !important; }
}

/* ===== 移动端 header 精简 + 标题再调小（覆盖上面同名规则） ===== */
@media (max-width: 767px) {
    /* 顶部站点区整体收紧 */
    header .top-bar { padding: 12px 0 !important; }
    header .logo .site-title { line-height: 1.4 !important; }
    .site-title a { font-size: 17px !important; white-space: nowrap; }
    header .logo .site-description,
    .site-description { font-size: 12px !important; }

    /* 文章详情标题再调小 */
    .detail-content h1.page-title,
    h1.page-title { font-size: 19px !important; line-height: 1.4 !important; }

    /* 手机导航“网站导航-->”不要贴底 */
    header .main-nav.nav-two { padding-bottom: 10px !important; }
    .menu-toggle { padding-bottom: 10px !important; }
    .menu-toggle div[align="right"] { margin-bottom: 4px !important; line-height: 18px !important; }
}
@media (max-width: 480px) {
    .detail-content h1.page-title,
    h1.page-title { font-size: 18px !important; }
    .site-title a { font-size: 16px !important; }
}

/* ===== “置顶”红字（详情页标题） ===== */
.sticky-flag { color: #e60000 !important; font-weight: 600; }

/* ===== 手机端：取消导航折叠 + 间距修正 ===== */
@media (max-width: 767px) {
    /* 1) 直接罗列所有栏目，去掉汉堡折叠 */
    .menu-toggle { display: none !important; }
    header .main-nav { position: static !important; padding: 4px 0 !important; }
    header .sticky-header,
    header .sticky-header.fix-top { position: static !important; top: auto !important; }
    .main-navigation ul#primary-menu,
    .main-navigation ul.menu {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        position: static !important;
        height: auto !important;
        overflow: visible !important;
        box-shadow: none !important;
        text-align: center;
    }
    .main-navigation li { display: inline-block !important; float: none !important; }
    #primary-menu li a {
        padding: 5px 7px !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        white-space: nowrap;
    }

    /* 2) 文章标题与 head 之间留白 */
    #content { padding-top: 16px !important; }

    /* 3) 正文段落上下间距减半（原 p margin-bottom:1.5em） */
    article p,
    .post-content p { margin-bottom: 0.75em !important; }
}

/* ===== 手机端第四轮：导航压成两行 + 标题贴近 head ===== */
@media (max-width: 767px) {
    /* 导航：缩小字号/内边距 + 收窄容器左右留白，两行内放下 */
    header .main-nav { padding: 2px 0 !important; }
    .container { padding-left: 8px !important; padding-right: 8px !important; }
    .main-navigation ul#primary-menu,
    .main-navigation ul.menu { row-gap: 2px !important; }
    #primary-menu li a {
        padding: 3px 5px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    /* 标题贴近 head */
    #content { padding-top: 0 !important; }
    .inside-page { padding-top: 10px !important; }
}

/* ===== 手机端第五轮：导航稳两行 + 标题贴紧 ===== */
@media (max-width: 767px) {
    #primary-menu li a { padding: 3px 4px !important; font-size: 11.5px !important; line-height: 1.5 !important; }
    .main-navigation ul#primary-menu,
    .main-navigation ul.menu { column-gap: 2px !important; row-gap: 2px !important; }
    header .main-nav.nav-two { padding: 2px 0 4px !important; }
    header { margin-bottom: 0 !important; }
    #content { margin-top: 0 !important; padding-top: 0 !important; }
    .inside-page { margin-top: 0 !important; padding-top: 6px !important; }
}

/* ===== 手机端第六轮：标题留一点白 + ≤360 再收窄以保两行 ===== */
@media (max-width: 767px) {
    #content { padding-top: 12px !important; }
}
@media (max-width: 360px) {
    #primary-menu li a { padding: 2px 3px !important; font-size: 11px !important; }
    .main-navigation ul#primary-menu,
    .main-navigation ul.menu { column-gap: 1px !important; }
}

/* ===== 手机端第七轮：字号分档（>360 用 12px，≤360 用 11px） ===== */
@media (max-width: 767px) {
    #primary-menu li a { font-size: 12px !important; padding: 3px 4px !important; }
}
@media (max-width: 360px) {
    #primary-menu li a { font-size: 11px !important; padding: 2px 3px !important; }
}

/* ===== 详情页标题颜色与首页列表标题一致（含“置顶”） ===== */
.detail-content h1.page-title,
h1.page-title { color: #0c9499 !important; }
.sticky-flag { color: #0c9499 !important; }

/* ===== 首页文章列表：卡片上下留白对称（上框线到标题 = 内容到底部横线） ===== */
.list-view { grid-gap: 0 !important; }
.post { padding-top: 15px !important; }
.post .blog-news-title { margin-top: 0 !important; }

/* ===== 首页列表卡片：题图与简述留白；“阅读全文”贴近正文 ===== */
.post .summary p { margin-bottom: 8px !important; }
.post .summary p img { display: inline-block !important; vertical-align: top; margin: 0 0 8px !important; }
.post .summary .readmore { margin-top: 0 !important; }

/* ===== 正文中的图片/视频/音频（后台插入）===== */
.post-content img, article img { max-width: 100%; height: auto; }
.post-content video, article video { max-width: 100%; height: auto; display: block; margin: 14px 0; }
.post-content audio, article audio { width: 100%; display: block; margin: 14px 0; }
.post-excerpt img, .summary img { max-width: 100%; height: auto; }

/* ===== 侧栏搜索：隐藏标签，输入框+按钮同一行 ===== */
.widget_search .wp-block-search__label { display: none; }
.widget_search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget_search .wp-block-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.widget_search .wp-block-search__button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background: #0c9499;
    color: #fff;
    cursor: pointer;
}

/* ===== 侧栏「近期文章」 ===== */
/* 列表文字颜色与正文区块标题一致 */
#secondary .qsy-recent .wp-block-latest-posts__post-title { color: #0c9499; }
#secondary .qsy-recent .wp-block-latest-posts__post-title:hover { text-decoration: underline; }
/* 标题「近期文章」字号小一点 */
#secondary .qsy-recent .wp-block-heading { font-size: 15px; }
/* 手机端隐藏该区块 */
@media (max-width: 767px) {
    #secondary .qsy-recent { display: none !important; }
}

/* ===== 分页样式优化 ===== */
.navigation.pagination { margin: 26px 0 6px; }
.navigation.pagination .nav-links {
    display: flex; flex-wrap: wrap; gap: 6px;
    justify-content: center; align-items: center;
}
.navigation.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 11px;
    border: 1px solid #e3e8ed; border-radius: 8px;
    background: #fff; color: #333; font-size: 14px; line-height: 1;
    text-decoration: none; transition: all .15s ease;
}
.navigation.pagination .page-numbers:hover {
    border-color: #0c9499; color: #0c9499; background: #f2fbfb;
}
.navigation.pagination .page-numbers.current {
    background: #0c9499; border-color: #0c9499; color: #fff; font-weight: 600;
}
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next { padding: 0 14px; }
@media (max-width: 767px) {
    .navigation.pagination .page-numbers { min-width: 32px; height: 32px; font-size: 13px; padding: 0 9px; }
    .navigation.pagination .nav-links { gap: 5px; }
}

/* ===== 阅读全文：主题色 + 无过渡；分页按钮无过渡 ===== */
a.readmore, a.readmore:hover { color: #0c9499 !important; transition: none !important; }
.navigation.pagination .page-numbers { transition: none !important; }

/* ===== 阅读全文：不加粗；导航点击去掉聚焦框线 ===== */
a.readmore, .post a.readmore, .summary a.readmore { font-weight: 400 !important; text-transform: none; }
#primary-menu li a:focus,
#primary-menu li a:focus-visible,
#primary-menu li a:active,
.main-navigation a:focus,
.main-navigation a:active,
.main-navigation:focus,
.main-navigation ul:focus,
.main-navigation li:focus {
    outline: none !important;
    box-shadow: none !important;
}
.main-navigation a { -webkit-tap-highlight-color: transparent; }

/* ===== 去掉分类标题后，列表整体上移收紧 ===== */
.home-archive.inside-page.post-list { margin-top: 14px !important; }
.post-list.content-area { margin-top: 10px !important; }
.inside-page { padding-top: 10px !important; }
@media (max-width: 767px) {
    .home-archive.inside-page.post-list { margin-top: 8px !important; }
    .post-list.content-area { margin-top: 4px !important; }
    .inside-page { padding-top: 6px !important; }
}

/* 列表页（首页/分类）顶部进一步收紧 */
body.home #content, body.archive #content { padding-top: 0 !important; }
.home-archive.inside-page.post-list { margin-top: 6px !important; }
.post-list.content-area { margin-top: 6px !important; }
@media (max-width: 767px) {
    .home-archive.inside-page.post-list { margin-top: 2px !important; }
    .post-list.content-area { margin-top: 2px !important; }
}

/* 首页列表的 .inside-page 顶部内边距也去掉，与其它列表对齐 */
body.home .inside-page, body.archive .inside-page { padding-top: 0 !important; }

/* ===== 列表标题字号不超过导航条文字（16px），不加粗 ===== */
.blog-news-title { font-size: 16px !important; font-weight: 400 !important; line-height: 1.5 !important; }
@media (max-width: 767px) {
    .blog-news-title { font-size: 15px !important; }
}

/* 列表标题加粗试试 */
.blog-news-title, .blog-news-title a { font-weight: 700 !important; }

/* ===== 详情页：标题与正文间距收紧 ===== */
.detail-content h1.page-title, h1.page-title { margin-bottom: 6px !important; }
.info-social-wrap { margin: 6px 0 !important; }
.info-social-wrap .info ul { margin-bottom: 0 !important; }
.info-social-wrap .info, .info-social-wrap .info li { line-height: 1.6 !important; }
.post-content { padding-top: 0 !important; }

/* 详情页正文首段与标题间距 */
.post-content article { padding-top: 12px !important; }
@media (max-width: 767px) { .post-content article { padding-top: 8px !important; } }

/* 详情页标题-正文：再收紧 + 首个元素上边距清零 */
.detail-content h1.page-title, h1.page-title { margin-bottom: 4px !important; }
.info-social-wrap { margin: 4px 0 !important; }
.post-content article { padding-top: 8px !important; }
.post-content article > *:first-child { margin-top: 0 !important; }

/* ===== 详情页标题字号调小 ===== */
.detail-content h1.page-title, h1.page-title { font-size: 24px !important; line-height: 1.4 !important; }
@media (max-width: 767px) {
    .detail-content h1.page-title, h1.page-title { font-size: 20px !important; line-height: 1.4 !important; }
}
@media (max-width: 480px) {
    .detail-content h1.page-title, h1.page-title { font-size: 18px !important; }
}

/* ===== 正文加粗文字：无特殊颜色时使用与标题相同的颜色 ===== */
.post-content article strong,
.post-content article b,
article strong,
article b { color: #0c9499; }

/* ===== 正文加粗（含 mark 等内层）统一为标题色（不加 !important，显式颜色优先） ===== */
.post-content article strong,
.post-content article b,
.post-content article strong *,
.post-content article b *,
.post-content article mark,
.post-content article [style*="font-weight:bold"],
.post-content article [style*="font-weight: bold"],
.post-content article [style*="font-weight:700"],
.post-content article [style*="font-weight: 700"] { color: #0c9499; }

/* ===== WordPress 调色板类（还原源站设定颜色，优先于上面的通用加粗色） ===== */
.post-content article .has-black-color { color: #000000; }
.post-content article .has-cyan-bluish-gray-color { color: #abb8c3; }
.post-content article .has-white-color { color: #ffffff; }
.post-content article .has-pale-pink-color { color: #f78da7; }
.post-content article .has-vivid-red-color { color: #cf2e2e; }
.post-content article .has-luminous-vivid-orange-color { color: #ff6900; }
.post-content article .has-luminous-vivid-amber-color { color: #fcb900; }
.post-content article .has-light-green-cyan-color { color: #7bdcb5; }
.post-content article .has-vivid-green-cyan-color { color: #00d084; }
.post-content article .has-pale-cyan-blue-color { color: #8ed1fc; }
.post-content article .has-vivid-cyan-blue-color { color: #0693e3; }
.post-content article .has-vivid-purple-color { color: #9b51e0; }

/* ===== 手机端导航条上下留白对称 ===== */
@media (max-width: 767px) {
    header .main-nav.nav-two { padding: 7px 0 !important; }
}

/* （原「问诊须知 加粗红色」专用规则已并入下方通用规则；去掉 !important 以便可单独设色） */

/* ===== 侧栏搜索按钮字号（与输入框一致） ===== */
.widget_search .wp-block-search__button { font-size: 16px !important; line-height: 1.2; }

/* ===== 正文默认强调色 ===== */
/* 默认：正文里的加粗(<strong>/<b>，含内联 font-weight:bold/700) 与 <mark> 显示红色 #cf2e2e。
   注意：这里**不加 !important**——如果某段文字单独设定了颜色
   （例如后台编辑器用「文字颜色」按钮插入的 <span style="color:...">），则以设定的颜色为准
   （内联样式优先级高于本选择器）。这样既能保持全站默认红色，又能单独设色。 */
.post-content article strong,
.post-content article b,
.post-content article strong *,
.post-content article b *,
.post-content article mark,
.post-content article [style*="font-weight:bold"],
.post-content article [style*="font-weight: bold"],
.post-content article [style*="font-weight:700"],
.post-content article [style*="font-weight: 700"] {
    color: #cf2e2e;
}

/* ===== 页顶导航：彻底去掉点击/聚焦时的「黑框」（含 UA 默认 :focus-visible 轮廓） =====
   根因：浏览器 UA 对 :focus-visible 使用 outline:auto（实测 rgb(16,16,16)，近黑），
   会画在 section.main-nav / nav#site-navigation / ul#primary-menu / li.menu-item 等容器上；
   之前只对 <a> 用了 :focus，未覆盖 :focus-visible 及容器，故仍会闪现黑框。 */
.main-nav,
.main-nav *,
#site-navigation,
#site-navigation *,
#primary-menu,
#primary-menu *,
.menu-toggle,
.menu-toggle *,
#nav-icon,
#nav-icon span {
    outline: none !important;
    outline-offset: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
}
.main-nav :focus,
.main-nav :focus-visible,
.main-nav :active,
#site-navigation :focus,
#site-navigation :focus-visible,
#site-navigation :active,
#primary-menu :focus,
#primary-menu :focus-visible,
#primary-menu :active,
.main-nav:focus,
.main-nav:focus-visible,
#site-navigation:focus,
#site-navigation:focus-visible,
#primary-menu:focus,
#primary-menu:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== 正文 <mark> 去掉浏览器默认黄色背景 =====
   原 WP 内容里是 <mark style="background-color:rgba(0,0,0,0)"> 来压掉默认黄底；
   清理 WP 内联样式后需用 CSS 兜底，否则加粗/着色处会显示黄底。 */
.post-content article mark,
article mark {
    background-color: transparent !important;
    background-image: none !important;
}

/* ===== 正文内超链接：去掉点击/聚焦时的黑框（UA :focus-visible 默认 outline:auto） ===== */
.post-content a,
.post-content a:link,
.post-content a:visited,
.post-content a:focus,
.post-content a:focus-visible,
.post-content a:focus-within,
.post-content a:active,
.post-content article a,
.post-content article a:focus,
.post-content article a:focus-visible,
.post-content article a:active {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
}
/* 兜底：正文内任何可聚焦元素也不显示轮廓 */
.post-content :focus,
.post-content :focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== 全站链接：统一去掉点击/聚焦黑框（避免各处反复出现；不影响表单控件） ===== */
a:focus,
a:focus-visible,
a:active,
a:focus-within {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}
a { -webkit-tap-highlight-color: transparent; }
