/*
Theme Name: muyiv5
Theme URI: 
Author: qian
Author URI: 
Description: 
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muyiv5
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration: none;
}

/* Focus styles */
/*:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}*/

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}



/*WordPress变体样式--------------------------------------------------------------------------*/



ul.is-style-checkmark-list {
	list-style-type: "\2713";
}

ul.is-style-checkmark-list li {
	padding-inline-start: 1ch;
}

/*列表勾号样式*/
ul.is-style-list-gou {
  list-style-type: "\2713";
}

ul.is-style-list-gou li {
  padding-inline-start: 1ch;
}

/*列表竖线样式*/
ul.is-style-shuxian-list {
  list-style:none;
  border-left: 1px solid var(--wp--preset--color--accent);
}
ul.is-style-shuxian-list li {
  padding-top: 1rem;
}
ul.is-style-shuxian-list li:first-child {
  padding-top: 0;
}

/*文章的项目列样式：弧角，比如TAGS标签*/
.is-style-arc-angle {display: flex;flex-wrap: wrap;gap: 0.5rem;}
.is-style-arc-angle span {display: none;}
.is-style-arc-angle a,
.is-style-arc-angle span:not([class], [data-rich-text-placeholder]) {
  display: inline-block;
  background-color: var(--wp--preset--color--contrast-4);
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
}

.is-style-arc-angle a:hover {
  background-color: var(--wp--preset--color--base);
}

.is-style-fangkuai,.is-style-fangkuai > li,.is-style-fangkuai ul {
  padding-left: 0;
  list-style: none;
  display: flex;flex-wrap: wrap;gap: 1rem 2rem;
  align-items: center;
  justify-content: start;
}
.is-style-fangkuai a {display: block;padding: 0.5rem 1rem;border: 1px solid #eee;border-left: 5px solid var(--wp--preset--color--zhuse);}
@media (max-width:781px) {
  .is-style-fangkuai,.is-style-fangkuai > li,.is-style-fangkuai ul {gap: 1rem 1rem;}
  .is-style-fangkuai > li > a {padding: 0;border: 0;border-left: 5px solid var(--wp--preset--color--zhuse);padding-left: 5px;line-height: 1;}
  .is-style-fangkuai a {padding: 0;border: 0;line-height: 1;}
}

.is-style-shukuai,.is-style-shukuai ul {
  padding-left: 0;
  list-style: none;
}
.is-style-shukuai > li > a {display: block;padding: 1rem 1rem;background-image: linear-gradient(135deg,rgb(16,56,44) 0%,rgb(31,107,79) 100%);color: #fff;text-align: center;}
.is-style-shukuai ul {display: flex;gap: 0;flex-direction: column;padding:1rem;border: 1px solid #eee;}
.is-style-shukuai ul a {display: block;padding: 1rem;text-align: center;border-bottom: 1px solid #eee;}
.is-style-shukuai ul li:last-child a {border-bottom: 0;}
.is-style-shukuai ul li.current-cat a {background-color:#eee; }
@media (max-width:781px) {
  .is-style-shukuai > li > a {padding: 0 6px;background-color: transparent;background-image: none; color: currentColor;text-align: center;line-height: 2;}
  .is-style-shukuai > li {display: flex;flex-wrap: wrap;gap: 5px;border: 2px solid var(--wp--preset--color--zhuse);padding:0.5rem;}
  .is-style-shukuai ul {flex-direction: row;flex-wrap: wrap;gap: 5px;border: 0;padding:0;}
  .is-style-shukuai ul a {border-bottom:0;padding: 0 6px;line-height: 2;}
}

.is-style-shukuaino {
  padding-left: 0;
  list-style: none;
  border: 1px solid #eee;
}
.is-style-shukuaino a {display: block;padding: 1rem;text-align: center;border-bottom: 1px solid #eee;}
.is-style-shukuaino li:last-child a {border-bottom: 0;}
.is-style-shukuaino li.current-cat a {background-color:#eee; }
@media (max-width:781px) {
  .is-style-shukuaino {display: flex;flex-wrap: wrap;flex-direction: row; gap: 5px;padding: 0.5rem;border: 2px solid var(--wp--preset--color--zhuse);}
  .is-style-shukuaino a {padding: 0 6px;border-bottom: 0;line-height: 2;}
}


.is-style-ftags {
  padding-left: 0;
  list-style: none;
  display: flex;flex-wrap: wrap;gap: 1rem;
  align-items: center;
  justify-content: start;
}

/*文章的项目列样式：胶囊，比如TAGS标签*/
.is-style-pill a,
.is-style-pill span:not([class], [data-rich-text-placeholder]) {
  display: inline-block;
  background-color: var(--wp--preset--color--base-2);
  padding: 0.375rem 0.875rem;
  border-radius: var(--wp--preset--spacing--20);
}

.is-style-pill a:hover {
  background-color: var(--wp--preset--color--contrast-3);
}

/*详细信息：箭头图标样式*/
.is-style-arrow-icon-details {
  padding-top: var(--wp--preset--spacing--10);
  padding-bottom: var(--wp--preset--spacing--10);
}

.is-style-arrow-icon-details summary {
  list-style-type: "\2193\00a0\00a0\00a0";
}

.is-style-arrow-icon-details[open]>summary {
  list-style-type: "\2192\00a0\00a0\00a0";
}

/*最新文章*/
.is-style-lps-xspace li {
  margin-bottom: 0.6rem;
}
.is-style-lps-no-style1 {
  display: block !important;
  list-style-type: none;
  padding-left: 0;
  counter-reset: list-counter;
}
.is-style-lps-no-style1 li {
    counter-increment: list-counter;
    position: relative;
    border-radius: 0.3rem;
    margin-bottom: 0.6rem;
    padding-left: 1.6rem;
    transition: background-color 0.3s;
}
.is-style-lps-no-style1 li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0.85rem;
    transform: translateY(-50%);
    background-color: var(--wp--preset--color--main);
    color: var(--wp--preset--color--base);
    width: 18px;
    height: 18px;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/*页码、分页*/
.is-style-zz-pagination {
  display: flex;align-items: center;
  justify-content: start;gap: 0.5rem !important;
}
.is-style-zz-pagination > a,.is-style-zz-pagination > span {
  padding: 0.2rem 0.8rem;
  background-color: rgba(0,0,0,0.1);
  border-radius: 2px;
}
.is-style-zz-pagination .wp-block-query-pagination-numbers {
  display: flex;align-items: center;
  justify-content: start;gap: 0.5rem;
}
.is-style-zz-pagination .wp-block-query-pagination-numbers > a,.is-style-zz-pagination .wp-block-query-pagination-numbers > span {
  padding: 0.2rem 0.8rem;
  background-color: rgba(0,0,0,0.1);
  border-radius: 2px;
}
.is-style-zz-pagination span.current {
  background-image: linear-gradient(135deg,rgb(16,56,44) 0%,rgb(31,107,79) 100%);
  color: var(--wp--preset--color--base);
}
@media (max-width:781px) {
  .is-style-zz-pagination.m-none {display: none;}
}




/*正文目录样式------------------------------------------------------------------------------------------------*/
.post-toc-container {font-weight: bold;}
.post-toc-container .post-toc-title {font-size: var(--wp--preset--font-size--xx-large);}
.post-toc-container .post-toc-list {list-style: none;border-left: 1px solid var(--wp--preset--color--accent-5);}
.post-toc-container .post-toc-list li {padding: 0.2rem 0;}
.post-toc-container .post-toc-list .toc-level-2 {padding-left: 1rem;font-size: var(--wp--preset--font-size--large);}
.post-toc-container .post-toc-list .toc-level-3 {padding-left: 2.5rem;font-size: var(--wp--preset--font-size--large);}
.post-toc-container .post-toc-list .toc-level-4 {padding-left: 4rem;font-size: var(--wp--preset--font-size--large);}



/*产品列表*/

.cplist-title {width: calc(30% - 8px);}
.cplist-shu {width: calc(70% - 8px);}
.cplist-nav {width: calc(30% - 6px);}
.cplist-gongxiao {width: calc(30% - 6px);}
.cplist-tags {width: calc(40% - 6px);}

.nav-m-btn {display: none;}
.cp-list-li {padding-left: 0.5rem;padding-right: 0.5rem;width: 100%;}


@media (max-width:781px) {
  
  .cplist-top {display: none !important;}
  .cplist-title {width: auto;}
  .cplist-shu {width: 100%;}
  .cplist-nav {width: auto;}
  .cplist-gongxiao {width: auto;}
  .cplist-tags {width: auto;}
  .nav-m-btn {display: block;}
  .nav-m-con {display: none;}
  .cp-list-li {padding-left: 0;padding-right: 0;}
  .cplist-img {flex-basis: auto;width: auto;max-width: 30%;}
  .cplist-img img {width: 100px !important; padding-right: 1rem;}

}

@media (max-width:1200px) {
  .head-top-r {display: none !important;}
}

.bi-telephone-forward-fill {color: #cc0033;display: block;position: relative;top: 3px;}


.fz-l {position: relative;}
.fz-l:before {display: block;content: "";width: 13px;height: 13px;border-radius: 6.5px;background-color: #e9d9ae; position: absolute;left:-7px;top: 22px; z-index: 33;}
.fz-l:after {display: block;content: "";width: 13px;height: 13px;padding: 2px;border: 1px solid #e9d9ae; border-radius: 9.5px; position: absolute;left:-10px;top: 19px; z-index: 1;}

.fz-r {position: relative;}
.fz-r:before {display: block;content: "";width: 13px;height: 13px;border-radius: 6.5px;background-color: #e9d9ae; position: absolute;right:-7px;top: 22px; z-index: 33;}
.fz-r:after {display: block;content: "";width: 13px;height: 13px;padding: 2px;border: 1px solid #e9d9ae; border-radius: 9.5px; position: absolute;right:-10px;top: 19px; z-index: 1;}

.fnav-btn {display: none;}
.top-fengmian {padding: 10rem 0;}

@media (max-width:781px) {
  .fz-r {border-right: 0!important;border-left: 1px solid #e9d9ae;}
  .fnav-btn {display: block;}
  .fnav {display: none;border-bottom: 1px solid #eee;}

  .fz-r:before {left:-7px;}
  .fz-r:after {left:-10px;}
  .guanyu-nav {width: 42rem;overflow-x: scroll;display: flex !important;flex-wrap: nowrap;gap: 0;}
  .guanyu-nav * {width: 6rem !important;}
  .top-fengmian {padding: 2rem 0;}

}

.guanyu-nav li a {display: inline-block;padding: 1rem;line-height: 2;}
.guanyu-nav .cur a { border-bottom: 2px solid var(--wp--preset--color--zhuse);}
.qian-term-seotitle {color: var(--wp--preset--color--qianse-2);font-size: var(--wp--preset--font-size--large);font-weight: normal;text-align: center;}


#my-back-to-top {
        position: fixed;
        right: 28px;
        bottom: 60px;
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: var(--wp--preset--color--zhuse);
        color: #fff;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity .3s, visibility .3s, transform .3s, background-color .3s;
        z-index: 99999;
    }
    #my-back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    #my-back-to-top:hover {
        background: var(--wp--preset--color--dz-meihong);
    }
    #my-back-to-top svg {
        width: 20px;
        height: 20px;
        display: block;
        fill: currentColor;
    }

    /* 仅 PC 端显示：小屏 & 触屏设备隐藏 */
    @media (max-width: 768px), (hover: none) and (pointer: coarse) {
        #my-back-to-top { display: none !important; }
    }