/*
Theme Name:         topak.cn
Theme URI:          http://www.topak.cn/
Description:        theme for Topak Machine (KunShan) Co., LTD.
Version:            21.12.1
Author:             JokerLiang
Author URI:         http://jokerliang.com/
Template:           blocksy
Text Domain:        wpdit
*/

:root {
    /* https://rgb.to/hex/4e5b31 */
    --brand-color: #4e5b31;
    --brand-color-hue: 79;

    --primary-color: var(--paletteColor2, #2f4457);
    --primary-color-hue: 208;
}

body {
    background-color: var(--paletteColor7);
}

/* ------ header ------ */
/*
@supports (backdrop-filter: blur(5px)) {
    [data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-row*="middle"] {
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
}
*/

@media (min-width:1400px) {
    .site-main {
        width: var(--container-width);
        max-width: var(--container-max-width);
        margin: 0 auto;
    }

}

/* 
    头部 黏性的动态背景
*/
[data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="middle"] {
    background-color: #ffffff;
}

[data-header*="type-1"] .ct-header [data-id="menu"]>ul>li>a {
    --fontSize: 18px;
    --fontWeight: 500;
}

[data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-row*="middle"] {
    /*background-color: rgba(255, 255, 255, 0.81);*/
    backdrop-filter: blur(1.5px);
}

/*
*/


.site-logo-container embed,
.site-logo-container svg {
    /* 
            reset for setting of blocksy/frontend:site-title.scss 
            */
    height: inherit;
    vertical-align: initial;
}

[data-header*="type-1"] .ct-header .ct-header-cta .ct-button {
    height: 55px;
    width: 55px;
}

[data-header*="type-1"] .ct-header .ct-header-cta .ct-button>svg {
    transform: scale(1.2);
}


[data-header*="type-1"] .ct-header [data-sticky*="yes"] .ct-header-cta .ct-button>svg>path {
    fill: var(--paletteColor1)
}


/* ------ footer ------ */
[data-footer*="type-1"] .ct-footer {
    /* 倾斜角度的留白 */
    margin-top: -60px;
}

.site-main {
    padding-bottom: 60px;
}
[data-footer*="type-1"] .ct-footer [data-id="menu"] > ul > li > a {
    --linkInitialColor: rgba(255, 255, 255, 0.55);
    --linkHoverColor: rgba(255, 255, 255, 0.75);
    --linkActiveColor: #ffffff;
}
/* 1th row */
[data-footer*="type-1"] .ct-footer [data-row*="top"] {
    position: relative;
    z-index: 2;
}

[data-footer*="type-1"] .ct-footer [data-row*="top"]:before {
    z-index: -1;
    content: '';
    /* To generate the box */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: skewY(-2deg);
    background-color: var(--paletteColor2);
    background: linear-gradient(60deg, var(--brand-color) 0%, hsla(var(--brand-color-hue), 30%, 36%, 1) 100%);
}

/* 2th row */
[data-footer*="type-1"] .ct-footer [data-row*="middle"] {
    z-index: 1;
    padding-top: 140px;
    margin-top: -70px;
    background-position: 110% 180px !important;
}

@media screen and (min-width: 768px) {
    [data-footer*="type-1"] .ct-footer [data-row*="middle"] {
        min-height: 35vh;
    }
}

/* 3th row 
[data-footer*="type-1"] .ct-footer [data-row*="bottom"] {}
*/

/* html in footer widgets */

/* custom style for contact info in footer widget */
.footer-contact-info {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    row-gap: 30px;
    padding: 25px 0 13px 0;
}

.footer-contact-info>.item {
    flex: 2 1 auto;
    margin-top: 0;
}

.footer-contact-info>.item>.item-header {
    color: #fff;
}

.ct-footer-copyright {
    white-space: nowrap;
}

.ct-footer-copyright a {
    color: rgba(255, 255, 255, .75);
}
.ct-footer-copyright a:hover {
    color: rgba(255, 255, 255, .95);
}

/* -------- menu -------- */
/* menu in footer */
.menu-quickly,
.menu-quickly>li>.sub-menu {
    --linkInitialColor: rgba(255, 255, 255, 0.55);
    --linkHoverColor: rgba(255, 255, 255, 0.75);
    --linkActiveColor: #ffffff;
    --listStyleType: none;
    --fontSize: 14px;
    --menu-item-padding: 0;
    --menu-items-spacing: 0px;

    padding-left: 0;
    /* reset */
    display: flex;
    flex-direction: row;
}

.menu-quickly>li>.sub-menu {
    flex-direction: column;
    margin-top: 15px;
}


/* li */
.menu-quickly>li {
    padding-right: 4em;
    flex: 1 1 auto;
}

.menu-quickly>li>a,
.menu-quickly>li>.sub-menu>li>a {
    font-size: var(--fontSize);
    line-height: var(--lineHeight, 1);
}

.menu-quickly>li>a {
    font-size: calc(var(--fontSize) * 1.2);
}

/* ----- widget menu ----- */
/* menu-catalog */

#menu-catalog>.menu-item {
    display: grid;
    grid-template-columns: 2em 1fr;
    align-items: center;
}

#menu-catalog > .menu-item a {
    align-self: stretch;
    align-items: center;
    padding: 0.5em 0;
}

#menu-catalog>.menu-item>.menu-item-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    line-height: 1 !important;
    font-size: 1.125em;
    font-family: 'dashicons';
    transition: var(--transition);
    cursor: pointer;
}

#menu-catalog>.menu-item>.menu-item-toggle>i {
    box-sizing: border-box;
}

#menu-catalog>.menu-item>.menu-item-toggle>i:before {
    content: '\f140';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    transition: var(--transition);
}

#menu-catalog>.menu-item.--expanded>.menu-item-toggle>i:before {
    transform: rotate(180deg);
}

#menu-catalog .sub-menu {
    grid-column: span 6;
    font-size: 85%;
}

#menu-catalog .sub-menu>.menu-item>a {
    display: block;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* theme */
#menu-catalog>.menu-item {
    border-bottom: 1px dotted var(--paletteColor5);
}

#menu-catalog>.menu-item.current-menu-parent>.menu-item-toggle,
#menu-catalog>.menu-item.current-menu-parent>a {
    font-weight: 600;
}

#menu-catalog .sub-menu>.menu-item {
    border-top: 1px dotted var(--paletteColor5);
    margin-bottom: 0 !important; /* reset */
}
#menu-catalog .sub-menu>.menu-item:hover {
    background-color: var(--paletteColor6);
}

#menu-catalog .current-menu-item>a {
    color: var(--paletteColor2);
    font-weight: 400;
}

/* ----- widgets ----- */
/* related-posts */
.wp-block-related-posts>li>a {
    display: block;
    position: relative;
    /*max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: center;
    justify-content: left;
    align-self: stretch;*/
    padding: .5em 0em;
    padding-left: 2em;
    border-bottom: 1px dotted var(--paletteColor5);
}

.wp-block-related-posts>li:last-child>a {
    border-bottom: none;
}

.wp-block-related-posts>li>a:before {
    position: absolute;
    top: 1em;
    left: 0;
    line-height: 1 !important;
    font-family: 'dashicons';
    content: '\f139';
    font-size: 85%;
    width: 2em;
    height: 2em;
    color: var(--paletteColor3);
}

.wp-block-related-posts>li.current-menu-item a {
    background-color: var(--paletteColor2);
    color: white;
}

.wp-block-related-posts>li.current-menu-item a:hover {
    background-color: var(--paletteColor1);
    color: white;
}

/* latest-posts */
.wp-block-latest-posts li>a {
    position: relative;
    /*color: var(--paletteColor4);*/
    transition: border 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    padding-bottom: 3px;
    padding-left: 1.5em;
    white-space: auto;
    transition: var(--transition);
}
.wp-block-latest-posts li>a:before,
.wp-block-latest-posts li>a:after {
    position: absolute;
    transition: var(--transition);

}
.wp-block-latest-posts li>a:before {
    content: '\f344';
    font-family: 'dashicons';
    font-size: 85%;
    left: 0;
    top: 0;
}

.wp-block-latest-posts li>a:after {
    content: '';
    width: 0;
    height: 1px;
    background-color: var(--linkHoverColor);
    left: 0;
    right: 0;
    bottom: -5px;
}

.wp-block-latest-posts li:hover>a,
.wp-block-latest-posts li>a:hover,
.wp-block-latest-posts li>a:active {
    color: var(--linkHoverColor);
}
.wp-block-latest-posts li:hover>a:before,
.wp-block-latest-posts li>a:hover:before {
    left: 5px;
}
.wp-block-latest-posts li:hover>a:after,
.wp-block-latest-posts li>a:hover:after {
    width: 100%;
}

    /* 增加最新文章列表中缩略图的缩放 */
.wp-block-latest-posts__featured-image img {
    transition: var(--transition);
}
.wp-block-latest-posts__featured-image:hover img {
    transform: scale(1.01);
    box-shadow: 1px 0px 16px var(--paletteColor1);
}


/* ----- custom style in home page ----- */
.home .entry-content>* {
    margin-bottom: 0 !important;
}

.home-hero {
    /* w1600 h698 */
    --home-hero-block-min-height: calc(var(--container-max-width, 100vw) * .44);
    min-height: var(--home-hero-block-min-height);
}

.home-hero:before,
.home-hero:after {
    position: absolute;
    z-index: -3;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    /*background-attachment: fixed; */
    background-size: auto 100%;
    background-repeat: repeat-x;
    opacity: 0;
}

.home-hero:before {
    opacity: 1;
    background-image: url(./assets/images/topak-impress.png);
}

.home-hero:after {
    opacity: 1;
    z-index: -2;
}

.webp .home-hero:after {
    background-image: url(./assets/images/topak-impress-loaded.webp);
}

.nowebp .home-hero:after {
    background-image: url(./assets/images/topak-impress-loaded.jpg);
}

/*
.home-hero [class*="overlay"] {
    opacity: .6;
    z-index: -1;
    backdrop-filter: blur(1px);
    background: rgba(0,0,0,.3);
    transition: var(--transition);
    transition-delay: .3s;
}

[data-header="type-1:sticky:shrink"] .home-hero [class*="overlay"],
.home-hero:hover [class*="overlay"] {    
    opacity: 0;
}
*/

.home-hero .qubely-container-fluid .qubely-column-inner {
    position: relative;
    min-height: var(--home-hero-block-min-height, 100%);
    width: var(--home-hero-block-min-height, 35%);
    overflow: hidden;
    padding-left: 30px;
    margin-left: 15px;
}


.home-hero .qubely-container-fluid .qubely-column-inner:after {
    position: absolute;
    content: '';
    z-index: -1;
    width: 100%;
    height: 100%;
    left: -35%;
    top: 0;
    right: 0;
    bottom: 0;
    transform: skew(-10deg);
    background-color: hsla(var(--brand-color-hue, 79), 30%, 27%, .75);/*rgba(78, 91, 49, .75);*/
    backdrop-filter: blur(.01);
}
    /* for language:en */
    .language-en .home-hero .qubely-container-fluid .qubely-column-inner { 
        width: 56%;
    }
    .language-en .home-hero .qubely-container-fluid .qubely-column-inner:after {
        left: -8%;
    }


.home-hero .qubely-block-heading {
    color: #fff;
    padding-top: 128px;
    padding-bottom: 15px;
    /*text-shadow: 1px 1px 6px var(--paletteColor4);*/
}

.home-hero .qubely-block-heading .qubely-heading-selector {
    font-size: 26px;
    color: #fff;
    padding-bottom: 1.5em;
}

.home-hero .qubely-block-heading .qubely-sub-heading-selector {
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    line-height: 36px !important;

}


/* 
首页 新闻 和 展会 模块
block with not:alignwide or not:alignfull 
*/
.home-news,
.home-expo {
    --block-max-width: 75%;
}

/* 临时调整，最新文章只有1条时的显示宽度 */
.home-news .wp-block-latest-posts.columns-1 {
    max-width: 50%;
}

.home-expo .wp-block-latest-posts li {
    text-align: center;
}


/* ----- products ----- */

/* archive page */

.catalog-frame__wrap svg {
    display: block;
}
.modal-backdrop {
    fill:hsla(var(--primary-color-hue, 79), 47%, 35%, .91);
}

.modal-content text {
    font-size: 1.5rem;
    fill: #fff;
  }

.btnClose > rect {
    fill: rgba(0, 0, 0, .21);
    transition: var(--transition);
}
    .btnClose:hover > rect {
        fill: rgba(0, 0, 0, 1);
    }
.btnClose > path {
    stroke: white;
}

.btnMore > rect {
    fill: hsla(var(--brand-color-hue, 79), 47%, 35%, 1);
    transition: var(--transition);
}
.btnMore:hover > rect{
    fill: var(--brand-color);
}

/* hacker */
.qubely-block-fd3e7c {
    display: none;
}

svg#catalog-platform {
    display: block;
}

/* .hero-section in product_archive and product_single */
[data-catalog] {
    --hero-bg-color: var(--paletteColor6);
    --hero-bg-image: url('./assets/images/catalog/default/hero-bg.png');
}

/* 自动化生产线 */
[data-catalog="automatic"] {
    --hero-bg-color: /*#deedd4*/#eef2e6;
    /*rgba(208,230,192,0.65);*/
    --hero-bg-image: url('./assets/images/catalog/automatic/hero-bg.png');
}

/* 横式机 */
[data-catalog="horizontal"] {
    --hero-bg-color: /*#e1f3d5*/#e5f1e5;
    /*rgba(212,239,194,0.65)*/
    ;
    --hero-bg-image: url('./assets/images/catalog/horizontal/hero-bg.png');
}

/* 立式机 */
[data-catalog="vertical"] {
    --hero-bg-color: /*#d3efe9*/#dcedf2;
    /*rgba(191,234,225,0.65);*/
    --hero-bg-image: url('./assets/images/catalog/vertical/hero-bg.png');
    --thumbnail-height: 172px;
}

/* 盒装机 */
[data-catalog="cartoner"] {
    --hero-bg-color: /*#d3ebef*/#e5ebf1;
    /*rgba(191,228,234,0.65);*/
    --hero-bg-image: url('./assets/images/catalog/cartoner/hero-bg.png');
}

/* 装箱机 */
[data-catalog="caser"] {
    --hero-bg-color: /*#d3ebef*/#e5ebf1;
    /*rgba(191,228,234,0.65)*/
    ;
    --hero-bg-image: url('./assets/images/catalog/caser/hero-bg.png');
}
/* 金属检测机 */
[data-catalog="metal"] {
    --thumbnail-width: 42%;
    --hero-bg-color: /*#d3e6ef*/#e5e5f1;
    /*rgba(191,219,233,0.65);*/
    --hero-bg-image: url('./assets/images/catalog/metal/hero-bg.png');
}


/* 异物检测机 */
[data-catalog="xray"] {
    --hero-bg-color: /*#d3e6ef*/#e5e5f1;
    /*rgba(191,219,233,0.65);*/
    --hero-bg-image: url('./assets/images/catalog/xray/hero-bg.png');
}

/* 输送设备 */
[data-catalog="conveying"] {
    --hero-bg-color: /*#72d1bd*/#ece4f0;
    /*rgba(42,187,156,0.65);*/
    --hero-bg-image: url('./assets/images/catalog/conveying/hero-bg.png');
}


[data-prefix="product_archive"] .hero-section[data-type="type-2"] {
    --alignment: left;
}

[data-prefix="product_archive"] .hero-section[data-type='type-2']>[class*='ct-container'] {
    justify-content: flex-start !important;
}

[data-prefix="product_archive"] .hero-section[data-type="type-2"]:before,
[data-prefix="product_archive"] .hero-section[data-type="type-2"]:after {
    z-index: -1;
    content: '';
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--paletteColor7, transparent);
}

[data-prefix="product_archive"] .hero-section[data-type="type-2"]:before {
    width: 45%;
    background-color: var(--hero-bg-color);
}

[data-prefix="product_archive"] .hero-section[data-type="type-2"]:after {
    width: 55%;
    left: 45%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: var(--hero-bg-image, none);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* 自动化的背景调整 */
[data-prefix="product_archive"] [data-catalog="automatic"] .hero-section[data-type="type-2"]:after {
    background-size: 95% 100%;
    background-position: top right;
}

[data-prefix="product_archive"] .hero-section[data-type='type-2']>figure .ct-image-container img {
    object-fit: scale-down;
    object-position: 55% 50%;
}

    .term-automatic.language-en[data-prefix="product_archive"] .hero-section[data-type='type-2']>figure .ct-image-container img {
        object-position: 72% 50%;
    }    

    .term-horizontal.language-en[data-prefix="product_archive"] .hero-section[data-type='type-2']>figure .ct-image-container img {
        object-position: 75% 50%;
    }    
    .term-vertical.language-en[data-prefix="product_archive"] .hero-section[data-type='type-2']>figure .ct-image-container img {
        object-position: 60% 50%;
    }
    .term-caser.language-en[data-prefix="product_archive"] .hero-section[data-type='type-2']>figure .ct-image-container img {
        object-position: 83% 60%;
    }    
    .term-cartoner.language-en[data-prefix="product_archive"] .hero-section[data-type='type-2']>figure .ct-image-container img {
        object-position: 65% 60%;
    }        

[data-prefix="product_archive"] .hero-section[data-type="type-2"] .entry-header {
    /*
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 35px;
    */
    width: 100%;
    position: relative;
}

[data-prefix="product_archive"] .hero-section[data-type="type-2"] .entry-header h2.nickname {
    position: absolute;
    top: -50%;
    left: -2rem;
    font-size: 3.5rem;
    color: rgba(46, 46, 46, .35);
    font-weight: 400;
}

[data-prefix="product_archive"] .hero-section[data-type="type-2"] .entry-description {
    /*
    position: absolute;
    bottom: 30px;
    left: 0;
    padding-right: 30px;
    */
    max-width: calc(45vw - ((100vw - 100%) / 2));
    text-align: left;
    word-break: keep-all;
    border-radius: .5em;
    color: black;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: opacity ease-in 1s;
    opacity: 0;
}

@media (max-width: 1199px) {
    [data-prefix="product_archive"] .hero-section[data-type="type-2"] .entry-description {
        min-width: 240px;
        background: linear-gradient(to left, var(--hero-bg-color, white), transparent 90%);
    }
}

@media (min-width: 1400px) {
    [data-prefix="product_archive"] .hero-section[data-type="type-2"] {
        /* for content in this wrap. ex: .entry-header, .entry-description*/
        margin: 0 -3rem;
        padding: 0 3rem;
    }
}

[data-prefix="product_single"] .hero-section[data-type="type-2"] {
    --vertical-alignment: end;
    background-color: var(--hero-bg-color, transparent) !important;
}

/* 产品单页的头部图像 自定义样式 */
.custom_image[data-type='type-2']>figure {
    padding-top: calc(var(--has-transparent-header) * var(--header-height));
    /*max-height: calc(100% - var(--has-transparent-header) * var(--header-height));*/
}
/*
.custom_image[data-type='type-2']>figure .ct-image-container {
    width: var(--catalog-figure-width, 1090px);
    margin-left: calc((100vw - var(--catalog-figure-width, 1090px)) / 2);
}*/

.custom_image[data-type="type-2"]>figure .ct-image-container img {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    object-fit: scale-down;
}

/* catalog-flags in single_page */
[data-prefix="single_page"][data-header*="type-1"] .catalog-flags {
    margin-top: var(--header-height, 90px);
}

.catalog-flags {
    padding-top: 30px;
    margin-bottom: 0 !important;
}

.catalog-flags .flag-block-row {
    --grid-template-columns: repeat(5, 1fr);
}

.catalog-flags .flag-block-column {
    padding-bottom: 145px;
}

.catalog-info {
    position: relative;
    z-index: 0;
    cursor: pointer;
}

.catalog-info::before,
.catalog-info:after {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    content: '';
    background-color: rgba(0, 0, 0, 0);
    -webkit-transition: ease-in .3s;
    transition: ease-in .3s;
    z-index: -2;
}

.catalog-info:before {
    background-color: var(--hero-bg-color, #fff);
}

.catalog-info:hover:after {
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.05);
}

.catalog-info .catalog-info-inner {
    padding: 30px 15px;
    position: relative;
    z-index: 1;
}

.catalog-info .catalog-title {
    font-size: 1.125rem;
}

.catalog-info .catalog-title a {
    color: var(--paletteColor3, #4f4f4f);
}

.catalog-info .catalog-title a:hover,
.catalog-info:hover .catalog-title a {
    color: var(--paletteColor4, #2e2e2e);
}

.catalog-info .catalog-content {
    font-size: 0.875rem;
    text-align: justify;
}
    .language-en .catalog-info .catalog-content {
        text-align: start;
    }

.catalog-info .catalog-thumbnail {
    position: absolute;
    width: 100%;
    max-width: 100%;
    z-index: 0;
    bottom: -58px;
}

.catalog-info .catalog-thumbnail figure {
    position: relative;
    padding: 0;
    margin: 0;
}

.catalog-info .catalog-thumbnail .catalog-thumbnail-container {
    display: block;
    position: relative;
    z-index: 0;
    text-align: center;
}

.catalog-info .catalog-thumbnail .catalog-thumbnail-container img {
    display: inline-block;
    -webkit-transition: ease-in .3s;
    transition: ease-in .3s;
    -o-object-fit: cover;
    object-fit: cover;
}


/* .entry-card in product_archive and search */
[data-prefix*="search"] .entry-card,
[data-prefix*="product"] .entry-card {
    position: relative;
    background-color: transparent !important;
    box-shadow: none !important;
}

[data-prefix*="search"] .entry-card .entry-background,
[data-prefix*="product"] .entry-card .entry-background {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

[data-prefix*="search"] [data-layout*="grid"] .entry-card .entry-title,
[data-prefix*="product"] [data-layout*="grid"] .entry-card .entry-title {
    margin-bottom: 0;
    white-space: normal;
}

[data-prefix*="search"] [data-layout*="grid"] .entry-card .entry-excerpt,
[data-prefix*="product"] [data-layout*="grid"] .entry-card .entry-excerpt {
    font-size: 85%;
    margin-bottom: 0;
}

[data-prefix*="search"] .entry-card.has-post-thumbnail,
[data-prefix*="product"] .entry-card.has-post-thumbnail {
    min-height: 185px;
    padding-left: var(--thumbnail-width, 55%);
}

[data-prefix*="search"] .entry-card.has-post-thumbnail .boundless-image,
[data-prefix*="product"] .entry-card.has-post-thumbnail .boundless-image {
    position: absolute;
    left: 15px;
    top: 5%;
    width: calc(var(--thumbnail-width, 55%) - 30px);
    height: var(--thumbnail-height, 90%);
    margin: 0;
}

[data-prefix*="search"] .entry-card.has-post-thumbnail .boundless-image img,
[data-prefix*="product"] .entry-card.has-post-thumbnail .boundless-image img {
    object-fit: contain;
}

/* sidebar: search*/
.wp-block-search__button {
    word-break: keep-all;
}


/* --------entries-------- */
.entry-content table p {
    margin-bottom: 0 !important;
}

.entry-content th,
.entry-content td {
    padding: .4em .7em;
}

.category [data-cards="boxed"] .entry-card,
[data-cards="cover"] .entry-card {
    border-bottom: 1px solid var(--paletteColor6) !important;
}

/* show Year in category loops to separator the lists*/
.entry-archive {
    margin-bottom: var(--grid-columns-gap, 30px);
    background-color: var(--paletteColor8);
    --box-shadow: 0px 12px 18px -6px rgba(34, 56, 101, 0.04);
    padding: var(--card-inner-spacing, 30px);
    border: var(--card-border, none);
    border-bottom: 2px solid var(--paletteColor3, rgb(79, 79, 79));
    box-shadow: var(--box-shadow);
    border-radius: var(--borderRadius);
    font-size: 1.25em;
    font-weight: 700;
}

.entry-content dt:before {
    position: relative;
    top: -0.1em;
    vertical-align: var(--vertical-align, middle);
    margin-right: var(--itemsSpacing, 15px);
    content: '●';
    font-size: 0.75em;
}


/* pagination */
[data-pagination="simple"] .prev,
[data-pagination="simple"] .next {
    display: none !important;
}

[data-pagination="simple"] .prev {
    justify-self: end !important;
}

[data-pagination="simple"] .next {
    justify-self: start !important;
}

/* 个别页面的特定处理 */
[data-prefix="categories"].category-expo .hero-section[data-type="type-2"] {
    --min-height: 640px;
}

.page-id-623 .hero-section[data-type='type-2'] {
    padding-top: 0;
}

.page-id-623 .hero-section .ct-image-container img {
    object-fit: var(--object-fit, contain);
    object-position: var(--object-position, bottom);
    transform: translate3d(0px, 0, 0px) !important;
}

.page-id-12 .qubely-block-text > p {
    padding-right: 30px;
}