/**
 * RULE SET
    * Theme
        * has-background
         * WordPress 6.4
         * WordPress 6.3
         * extemd end
 */

.emulsion .alignleft:not(.specificity) {
    box-sizing:border-box;
    float:left;
    width:var(--wp--custom--width--float);
    margin:var(--wp--custom--margin--alignleft);
    clear:left;
    &.is-resized:not(.is-style-shrink){
        width:auto;
    }
    &.has-background{
        @media screen and (max-width: 40rem){
            margin-top:var(--wp--style--block-gap, .75rem);
            margin-bottom:var(--wp--style--block-gap, .75rem);
        }
    }
    &.wp-caption,
    &.wp-block-image{
        @media screen and (max-width: 45rem) {
            float:none;
            width:100%;
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            clear:both;

        }
    }
    &.is-style-shrink,
    &.shrink,
    &.is-resized{
        @media screen and (max-width: 45rem) {
            float:none;
            width:100%;
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            clear:both;
        }
    }
    &:is(ul,ol){
        @media screen and (min-width: 57.5rem) {
            width:auto;
            max-width:var(--wp--custom--width--float);
        }
    }
    &.wp-block-embed{
        width:var(--wp--custom--width--float);
        @media screen and (max-width: 45rem) {
            float:none;
            width:100%;
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            clear:both;
        }
    }

    &.wp-block-social-links{
        margin-top:1.5rem;
        &:is(ul,ol){
            padding-left:0;
            li{
                padding:0;
            }
        }
        @media screen and (max-width: 40rem) {
            width:100px;
            margin:1.5rem auto
        }
    }
    &.wp-block-file:not(.specificity){
        width:-moz-fit-content;
        width:fit-content;
        padding:0;
        margin-top:1.5rem;
        @media screen and ( max-width : 30rem ) {
            width:100%;
            padding:0 var(--wp--custom--padding--content, .75rem);

        }
    }
    &.wp-block-search,
    &.wp-block-latest-comments{
        width:20rem;
        margin-top:1.5rem;
        @media screen and ( max-width : 40rem ) {
            width:100%;
            padding:0 var(--wp--custom--padding--content, .75rem);

        }
    }
    &.wp-block-navigation,
    &.wp-block-archives,
    &.wp-block-categories{
        z-index:10;
        width:20rem;
        margin-top:0;
        margin-left:0;
        &.is-style-list-style-inline{
            width:20rem;
            margin-right:var(--wp--custom--padding--content, .75rem);
        }
        .wp-block-navigation__container{
            max-width:100%;
        }
        @media screen and ( max-width : 40rem ) {
            width:100%;
            padding-left: clamp( 2rem, calc( 100vw / 36 ), calc(2.5rem + var(--wp--custom--padding--content,.75rem)));
            &.is-style-list-style-inline{
                width:100%;

            }
        }
        @media (min-width: 40rem) and (max-width: 87.5rem){
            & ~ .is-vertical ol:not([class*="wp-block"]),
                & ~ .is-vertical ul:not([class*="wp-block"]),
                & ~ ol:not([class*="wp-block"]),
                & ~ ul:not([class*="wp-block"]){
                li{
                    margin-right:1.75rem;
                    transform: translateX(1.75rem);
                }
            }
            & ~ .wp-block-separator{
                width:auto;
                clear:none!important;
            }
            & ~ .wp-block-image,
            & ~ .wp-block-gallery{
                width:auto;
                clear:none!important;
            }
            & ~ .wp-block-table{
                width:auto;
                clear:none!important;
            }
            & ~ .wp-block-group{
                .wp-block-image,
                .wp-block-separator,
                .wp-block-embed__wrapper{
                    display:flex;
                    flex-direction:column;
                    width:auto;
                }
                .wp-block-table,
                .wp-block-gallery,
                .wp-block-separator{
                    width:auto;
                    clear:none!important;
                }
            }
        }
    }
    & > figure{
        margin-top:0;
        margin-bottom:0;
    }
    &:is(ul,ol):not(#specificity){
        @media screen and ( max-width : 40rem ) {

            width:100%;
            margin-right:auto;
            margin-left:auto;
        }
    }

    &.wp-block-group{
        @media screen and ( max-width : 40rem ) {

            width:100%;
            margin-right:auto;
            margin-left:auto;
        }
    }

    .alignleft,
    .alignright{
        float:none;
        width:100%;
        margin-right:0;
        margin-left:0;
    }
    @media screen and ( max-width : 40rem ) {

        width:100%;
        max-width:100%;
        clear:both;
        margin-right:auto;
        margin-left:auto;
        &.alignleft{
            margin-right:auto;
            margin-left:auto;
            &.is-resized figcaption:not(.specificity),
                figcaption{
                text-align:center;
            }
        }
    }
}

.emulsion .alignright:not(.specificity) {
    box-sizing:border-box;
    float:right;
    width:var(--wp--custom--width--float);
    margin:var(--wp--custom--margin--alignright);
    clear:right;
    &.is-resized:not(.is-style-shrink){
        width:auto;
    }
    &.has-background{
        @media screen and (max-width: 45rem){
            margin:var(--wp--custom--margin--container);
            margin-top:0;
            margin-bottom:0;
        }
    }
    &.wp-caption,
    &.wp-block-image{
        @media screen and (max-width: 40rem) {
            float:none;
            width:100%;
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            clear:both;
        }
    }
    &.is-style-shrink,
    &.shrink,
    &.is-resized{
        @media screen and (max-width: 45rem) {
            float:none;
            width:100%;
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            clear:both;
            margin:auto;
        }
    }
    &:is(ul,ol){
        @media screen and (min-width: 57.5rem) {
            width:auto;
            max-width:var(--wp--custom--width--float);
        }
    }
    &.wp-block-embed{
        width:var(--wp--custom--width--float);
        @media screen and (max-width: 45rem) {
            float:none;
            width:100%;
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            clear:both;
        }
    }
    &.wp-block-social-links{

        margin-top:1.5rem;
        @media screen and (max-width: 40rem) {
            width:6.25rem;

        }
    }
    &.wp-block-search,
    &.wp-block-latest-comments{
        width:20rem;
        margin-top:1.5rem;
        &.is-style-list-style-inline{
            margin-left:var(--wp--custom--padding--content, .75rem);
        }
        @media screen and ( max-width : 40rem ) {
            width:100%;
            padding:0 var(--wp--custom--padding--content, .75rem);

        }
    }
    &.wp-block-navigation,
    &.wp-block-archives,
    &.wp-block-categories{
        width:20rem;
        margin-top:0;
        margin-right:0;
        &.is-style-list-style-inline{
            width:20rem;
            margin-right:var(--wp--custom--padding--content, .75rem);
        }
        .wp-block-navigation__container{
            max-width:100%;
        }
        @media screen and ( max-width : 40rem ) {
            width:100%;
            padding-left: clamp( 2rem, calc( 100vw / 36 ), calc(2.5rem + var(--wp--custom--padding--content,.75rem)));
            &.is-style-list-style-inline{
                width:100%;

            }
        }
        @media (min-width: 40.0625rem) and (max-width: 85rem){
            & ~ .wp-block-separator{
                width:auto;
                clear:none!important;
            }
            & ~ .wp-block-image,
            & ~ .wp-block-gallery{
                width:auto;
                clear:none!important;
            }
            & ~ .wp-block-table{
                width:auto;
                clear:none!important;
            }
            & ~ .wp-block-group{
                .wp-block-image,
                .wp-block-separator,
                .wp-block-embed__wrapper{
                    display:flex;
                    flex-direction:column;
                    width:auto;
                }
                .wp-block-table,
                .wp-block-gallery,
                .wp-block-separator{
                    width:auto;
                    clear:none!important;
                }
            }
        }
    }
    & > figure{
        margin-top:0;
        margin-bottom:0;
    }

    &:is(ul,ol):not(#specificity){
        @media screen and ( max-width : 40rem ) {
            width:100%;
            margin-right:auto;
            margin-left:auto;
        }
    }

    &.wp-block-group{
        @media screen and ( max-width : 40rem ) {
            width:100%;
            margin-right:auto;
            margin-left:auto;
        }
    }
    .alignleft,
    .alignright{
        float:none;
        width:100%;
        margin-right:0;
        margin-left:0;
    }
    @media screen and ( max-width : 40rem ) {
        width:100%;
        max-width:100%;
        margin-right:auto;
        margin-left:auto;
        clear:both;
        &.alignright{
            margin-right:auto;
            margin-left:auto;
            &.is-resized figcaption:not(.specificity),
                figcaption{
                text-align:center;
            }
        }
    }
}

/**
 * List and blockquote padding
 */

.emulsion blockquote,
.emulsion ul,
.emulsion ol,
ul.wp-block,
ol.wp-block,
.wp-block:where(blockquote){

    padding-top:.75rem;
    padding-left: clamp( 2rem, calc( 100vw / 72 ), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
    blockquote,
    ul ul,
    ul ol,
    ol ol,
    ol ul{
        padding-left: clamp( 2rem, calc( 100vw / 72 ), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
    }
    li{
        padding-left: clamp(.375rem, calc( 100vw / 72 ),.75rem);
    }
}

/**
    * FLEX
 */
.is-style-outline.wp-block-tag-cloud,
.wp-block-comments-pagination,
.wp-block-comments-pagination .wp-block-comments-pagination-numbers,
.comment-wrapper .wp-block-comments-query-loop .wp-block-column .is-layout-flex:not(.specificity),
.wp-block-query-pagination,
.emulsion .wp-block-post-navigation.wp-block-group.is-layout-flex,
.emulsion .wp-block-code,
.emulsion .wp-block-pullquote,
.emulsion .wp-block-columns,
.wp-block-gallery.is-layout-flex,
.is-root-container > .wp-block-group.is-layout-flex,
.wp-block-post-content > .wp-block-group.is-layout-flex,
.wp-block-group.is-layout-flex{
    display:flex;
    flex-wrap:wrap;
    .columns-default{
        flex-wrap:nowrap;
    }
    &.is-nowrap{
        flex-wrap:nowrap;
    }
}

/**
    * Excerpt line-clamp
 */

.emulsion .wp-block-post-template.is-layout-grid:not(.wp-block-query-pagination) li .wp-block-post-excerpt p,
.emulsion .wp-block-post-template.is-layout-flex:not(.wp-block-query-pagination) li .wp-block-post-excerpt p,
.emulsion .wp-block-post-template.is-flex-container:not(.wp-block-query-pagination) li .wp-block-post-excerpt p,
.wp-block-rss__item-excerpt,
.wp-block-newspack-blocks-homepage-articles [data-posts] article .entry-wrapper .entry-title,
.wp-block-newspack-blocks-homepage-articles [data-posts] article .entry-wrapper p,
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
.trancate,
.wp-block-post-excerpt__excerpt{
    display: -webkit-box;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: var(--wp--custom--max-height--excerpt-lines);
    -webkit-box-orient: vertical;
}

/**
    * Fix flex container push
 */
.emulsion .wp-block-post-content > .is-layout-grid,
.wp-block-query-pagination,
.is-root-container > .wp-block-group.is-layout-flex,
.wp-block-post-content > .wp-block-group.is-layout-flex,
.emulsion .wp-block-post-content > select,
.emulsion .wp-block-post-content > hr,
.emulsion .wp-block-post-content > .wp-block-group.is-layout-flex:not(.alignleft):not(.alignright),
.emulsion .wp-block-post-content > .wp-block-gallery:not(.alignleft):not(.alignright),
.emulsion .wp-block-post-content > .wp-block-columns,
.emulsion .wp-block-post-content > .wp-block-buttons,
.emulsion .wp-block-post-content > .is-style-list-style-inline,
.emulsion .wp-block-post-content > div.gallery,
.emulsion .wp-block-post-content > .is-style-list-style-inline.wp-block-latest-comments,
.emulsion .wp-block-post-content > .wp-block-comments-pagination{

    @media (min-width: 48rem){
        &:not(.alignfull){

            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            margin-right: max(1px, calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
            margin-left: max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
            &.wp-block-table.fill,
            &.wp-block-table{
                width:calc(  var(--wp--style--global--content-size) - var(--wp--custom--padding--content,.75rem) * 2);
            }

            &.alignwide{
                max-width:calc( var(--wp--style--global--wide-size) - var(--wp--custom--padding--content,.75rem) * 2);
                margin-right: max(1px, calc(50% - var(--wp--style--global--wide-size) / 2 )) !important;
                margin-left: max(1px,calc(50% - var(--wp--style--global--wide-size) / 2 )) !important;

                &.wp-block-table{
                    width:calc(  var(--wp--style--global--content-size) - var(--wp--custom--padding--content,.75rem) * 2);
                }
            }
            &.is-layout-default:not(.is-root-container),
                &.is-layout-flow:not(.is-root-container),
                &.has-fluid-children{
                margin-right:auto !important;
                margin-left:auto !important;
            }
            &.alignleft{
                width:var(--wp--custom--width--float);
                margin:var(--wp--custom--margin--alignleft) !important;
            }
            &.alignright{
                width:var(--wp--custom--width--float);
                margin:var(--wp--custom--margin--alignright) !important;
            }
            &.aligncenter{
                margin-right:auto !important;
                margin-left:auto !important;
            }
            .wp-block-columns{
                margin:auto;
                .wp-block-column{
                    .wp-block-separator{
                        margin:auto !important;
                    }
                    .wp-block-buttons{
                        margin:auto !important;
                    }
                }
            }
        }
    }
    @media (min-width: 968px){
        &:not(.specificity){
            &.alignwide{
                max-width:var(--wp-custom--width--wide,57.5rem);
                margin-right: max(1px, calc(50% - var(--wp--style--global--wide-size) / 2 )) !important;
                margin-left: max(1px,calc(50% - var(--wp--style--global--wide-size) / 2 )) !important;

                &.wp-block-table{
                    width:var(--wp-custom--width--wide,57.5rem);
                }
                & > .alignfull,
                & > .alignwide{
                    margin:auto;
                }
            }
        }
    }
    &:not(.wp-block-table):not(.fse-header-content){
        &.alignfull{
            float:none;
            clear:both;

            & > .alignfull,
            & > .alignwide{
                margin:auto;
            }
        }
    }
}

/**
         * extemd end
 */

/**
 * RULE SET
 */

/**
        * has-background
     */
body{
    p.has-background,
    h1.has-background,
    h2.has-background,
    h3.has-background,
    h4.has-background,
    h5.has-background,
    h6.has-background{
        padding:var(--wp--style--block-gap);
    }
    :where(.wp-block-group.has-background) {
        padding: revert;
    }

    .wp-block-pullquote:not(#specificity){
        blockquote{
            width:100%;
            p{
                width:-moz-fit-content;
                width:fit-content;
                text-align:left;
            }
        }
    }
    .wp-block-post-template.is-layout-grid,
    .wp-block-post-template.is-flex-container,
    [class*="wp-container-"][class*="wp-container-"]{
        gap:var(--wp--style--block-gap);
        padding:0;
    }
}
.has-background:where(:not(.wp-block-group)){
    background: var(--wp--custom--color--unknown-bg);
}
.emulsion{
    .has-background{
        padding:.375rem var(--wp--custom--padding--content);
        &.wp-block-navigation__responsive-container{
            padding:0;
        }

        .wp-block-column{
            margin:0 !important;
        }
    }
    ol.has-background,
    ul.has-background{
        padding-top: var( --wp--custom--padding--content, .75rem );
        padding-left: 2.5rem;
        &.wp-block-navigation-submenu{
            padding-left:var(--wp--preset--spacing--40);
        }
    }
    .wp-block{
        &.has-background{
            padding:0;
            &.is-vertical{
                overflow:visible;
                &:before,
                    &:after {
                    display: table;
                    content: " ";
                }
                &:after {
                    clear: both;
                }

            }

        }
    }
    ol.wp-block.has-background,
    ul.wp-block.has-background{
        padding-top: .75rem;
        padding-left: calc(2.5rem + var(--wp--custom--padding--content, .75rem));
    }
    .wp-block-group,
    .wp-block-group.has-background{
        .wp-block-group.has-background{
            max-width:100%;
        }
    }
    .wp-block-media-text{
        &[class*="has-background"]{
            padding:0;
        }
    }
}
.has-background{
    &.wp-block-post-excerpt{

        .wp-block-post-excerpt__more-text,
        .wp-block-post-excerpt__excerpt{
            color:inherit;
        }
    }
    &.wp-block-columns{
        padding:0;
    }
    &.wp-block-column{
        padding:0;
    }
    .wp-block-quote{
        padding-left:2.5rem;
        &:before{
            position: absolute;
            top: .75rem;
            left: .75rem;
            display: inline-block;
            width:1.875rem;
            height:1.875rem;
            font-size: 2.5rem;
            line-height: 1;
            color:rgba(255,255,255,.6);
            content: "“";
        }
    }
    &.wp-block-code{
        padding:0;
        code{
            margin:0 auto;
            background:transparent;
        }

    }
    &.wp-block-file.wp-block{
        padding:.75rem 0;
    }
    &.wp-block-details{
        padding:.375rem .75rem;
    }
    &.wp-block-table-of-contents ol{
        background:inherit;
    }
    &.wp-block-post-excerpt{

        overflow:hidden;
        .wp-block-post-excerpt__excerpt{
            margin-top:.75rem;
        }
        .wp-block-post-excerpt__more-text{
            margin-bottom:.75rem;

        }

    }

    &.wp-block-post-date{
        display:block;
        margin-right:.75rem!important;
        margin-left:.75rem!important;



    }
    &.is-style-list-style-inline{
        padding-left:var(--wp--custom--padding--content, .75rem);
        visibility:hidden;
        li{
            color:inherit;
            visibility:visible;
            background:inherit;
            border:none;
            a{
                background:transparent;

            }
        }
    }
}
.entry-content,
.wp-block-post-content{
    & > .has-background{
        &.wp-block-post-date{
            display:block;
            margin-right:auto!important;
            margin-left:auto!important;
        }
    }

}
.post-navigation-link-previous.has-background > *:not(.has-background),
.post-navigation-link-next.has-background > *:not(.has-background){
    background:inherit;
}

.edit-post-post-template__dialog{
    width:auto;
    max-width:300px;
    div{
        width:auto;
    }
    .components-popover__content h2{
        width:auto;
    }
}
/**
         * WordPress 6.5
*/

[class*="-font-size"] > .wp-block-column > *:not([class*="-font-size"]),
[class*="-font-size"] > *:not([class*="-font-size"]){
    font-size:inherit;
}
/**
         * WordPress 6.4
         fallback full site editor global style
*/


:where(.is-fse-dark-global){
    --wp--preset--color--border-color: #888;
    --wp--custom--border--common: var(--wp--custom--border--common-width) var(--wp--custom--border--common-style) var(--wp--preset--color--border-color);
    --wp--custom--color--code-tag-bg: #364549;
    --wp--custom--color--code-tag-text: #1bff4a;
    --wp--preset--color--base-banner: rgba(255,255,255,.1);
    --wp--preset--color--contrast-banner: #ffffff;
    --wp--custom--color--stripe: rgba(255,255,255,.1);
    --wp--custom--color--toc-bg: #364549;
    --wp--custom--color--button-bg: #000000;
    --wp--custom--color--button-text: #cccccc;
    --wp--custom--color--unknown-bg: #f8f8ff;
    --wp--custom--color--dark-mode-bg: #1b262c;
    --wp--custom--marker--color:#90ee90;

    &.fse-scheme-default .rich-header{
        color:var(--wp--preset--color--contrast-banner);
    }
}

/**
* HTML constructs that do not occur in the block editor. maybe third party block
*/
/**
         * WordPress 6.3
* .is-layout-default
* theme.json definitions deleted on 6.3
*/
.wp-block-template-part > :where(:not([class*="align"]):not(a):not(span,select,input,textarea,button,img)) {

    width: min(100%, var(--wp--style--global--content-size));

}
.emulsion:where(:not(.block-editor-page)){

    /* globaly */
    .wp-site-blocks > :where(:not([class*="align"]):not(a)):not(span,select,input,textarea,button,img,){
        width: min(100%, var(--wp--style--global--content-size));
        max-width:100%;

        &.is-layout-flex:not(.is-vertical) > *{
            width:auto;
        }
    }
    .is-layout-constrained > .wp-block-post-featured-image{
        width:100%;
    }
    .is-layout-constrained > .wp-block-post-author-name{
        margin:auto;
    }
    .is-layout-constrained > :where(:not([class*="align"]):not(a):not(span,select,input,textarea,button,img,li)){
        width: min(100%, var(--wp--style--global--content-size));

    }

    .is-layout-constrained > img{
        box-sizing:border-box;
        width:auto;
        max-width:min(100%, var(--wp--style--global--content-size));
        padding:0;
        padding-right:var( --wp--custom--padding--content, .75rem );
        padding-left:var( --wp--custom--padding--content, .75rem );
    }
    .entry-content .is-layout-constrained > :first-child:not(.alignleft):not(.alignright){
        margin-block-start: 1.5rem;
        margin-block-end: 1.5rem;
    }
    .entry-content .wp-block-group > .wp-block-image:first-of-type{
        margin-block-start: 0;
        margin-block-end:0;
    }
    .entry-content.is-layout-constrained > :last-child:not(.alignfull) {
        margin-block-end: 1.5rem;
    }
    .entry-content.is-layout-constrained:not(.specificity) > [style="writing-mode:vertical-rl"]{
        margin-block-start:auto;
        margin-block-end:auto;
    }

    div > [class*="-aligned-"],
    div > [class*="-align-"]{
        width: min(100%, var(--wp--style--global--content-size));
        max-width:100%;
    }

    /* exception */
    .wp-block-pullquote.alignleft,
    .wp-block-pullquote.alignright{
        max-width:100%;
    }

    .is-layout-flex{
        display:flex;
    }
    .is-layout-grid{
        display:grid;
    }
    .is-grid > *,
    .is-flex-container > *,
    .is-layout-flex:not(.is-vertical)> *:not(.wp-block-post-title):not(.wp-block-site-title) {
        margin:0;
    }
    .size-thumbnail{
        width:9.375rem;
        padding:0;
    }

    /*layout exceptions */

    .is-layout-constrained > .alignwide{
        max-width:100%;
    }
    .layout,
    .wp-site-blocks{

        .wp-block-comments-pagination{
            margin:1.5rem auto;
            .wp-block-comments-pagination-numbers,
            .wp-block-comments-pagination-next,
            .wp-block-comments-pagination-previous,
            .wp-block-comments-pagination-numbers * {
                width:-moz-fit-content;
                width:fit-content;
                margin:0;
            }
        }

        .aligncenter:not(.wp-block-site-logo){
            width: var(--wp--custom--width--aligncenter);
            clear: both;
            margin:var(--wp--custom--margin--block);
        }
        .alignwide{
            width: var(--wp--style--global--wide-size);
        }
        .alignfull{
            width: var(--wp--custom--width--full);
            margin:var(--wp--custom--margin--container);
        }
        .is-style-layout-wide{
            width:auto;

            & > .has-post-thumbnail:not(.specificity){
                margin:auto;
                .loop-item{
                    width:auto!important;
                }
            }
            & > *:not(.alignfull){
                width:var(--wp--style--global--wide-size, 57.5rem);
                margin-right:auto;
                margin-left:auto;
            }
            .archive-title,
            .post-header-content,
            .fse-header-content,
            .wp-block-comment-template .wp-block-columns,
            .wp-block-comment-template,
            .wp-block-post-featured-image img{
                width:var(--wp--style--global--wide-size, 57.5rem);
            }

        }

        .wp-block-group:not(.fse-header-content).is-layout-flex{

            &.is-vertical{
                gap:0;
                & > *{
                    margin:var(--wp--custom--margin--container);

                    &:where(.wp-block-group){
                        margin:var(--wp--custom--margin--container);
                    }

                    &:where(p, h1,h2,h3,h4,h5,h6,ul,ol,figure){

                        /* Margin collapsing does not occur in flexbox */

                        margin-top:calc(var(--wp--custom--margin--top) / 2);
                        margin-bottom:calc(var(--wp--custom--margin--bottom) / 2);
                    }
                    &.is-nowrap{
                        width:100%;
                        &:not(.alignright){
                            margin-left:0;
                        }
                        &.alignright{
                            margin-right:0;
                        }
                    }
                }
            }
        }
    }
    & > #wp-toolbar,
    & > #adminmenumain{
        width:auto;
        max-width:none;
    }
}
body{
    &:not(.block-editor-page) *{
        box-sizing:border-box;
        max-width:100%;
    }
    &:not(.block-editor-page) .has-shadow{
        max-width:calc(100% - 1.5rem);
        margin:auto;
    }
}
:where(.is-layout-constrained){

    & > blockquote:where(:not(.wp-block-quote)),
        & > table,
        & > dl,
        & > form:where(:not(.wp-block-form)),
        & > h1:where(:not(.wp-block-heading):not(.child-of-post-header)),
        & > h2:where(:not(.wp-block-heading)),
        & > h3:where(:not(.wp-block-heading)),
        & > h4:where(:not(.wp-block-heading)),
        & > h5:where(:not(.wp-block-heading)),
        & > h6:where(:not(.wp-block-heading)),
        & > hr:where(:not(.wp-block-separator)),
        .wp-block-post-time-to-read,
        .wp-playlist-tracks,
        .wp-playlist{
        margin-top:var(--wp--custom--margin--top);
        margin-left:max(1px,calc(50% - var(--wp--style--global--content-size) / 2 + var(--wp--custom--padding--left))) !important;
        margin-right: max(1px,calc(50% - var(--wp--style--global--content-size) / 2 + var(--wp--custom--padding--right))) !important;
        margin-bottom:var(--wp--custom--margin--bottom);
        max-width:calc(var(--wp--style--global--content-size) - var(--wp--custom--padding--right) - var(--wp--custom--padding--left));


        &.alignwide{
            margin-left: max(1px,calc(50% - var(--wp--style--global--wide-size) / 2 + var(--wp--custom--padding--left))) !important;
            margin-right: max(1px,calc(50% - var(--wp--style--global--wide-size) / 2 + var(--wp--custom--padding--right))) !important;
            max-width:calc(var(--wp--style--global--wide-size) - var(--wp--custom--padding--right) - var(--wp--custom--padding--left));

        }
        &.aligncenter{
            margin-left: max(1px,calc(50% - var(--wp--custom--width--aligncenter) / 2 )) !important;
            margin-right: max(1px,calc(50% - var(--wp--custom--width--aligncenter) / 2 )) !important;
        }
        &.alignleft{
            @media screen and ( min-width : 48rem ) {
                margin:var(--wp--custom--margin--alignleft) !important;
            }
        }
        &.alignright{
            @media screen and ( min-width : 48rem ) {
                margin:var(--wp--custom--margin--alignright) !important;
            }
        }

        &.alignfull{
            margin:0 !important;
            @media screen and ( min-width : 80rem ) {
                /* Limit width */
                max-width:var(--wp--custom--width--limit, 1600px);
                margin-left: max(1px,calc(50% - var(--wp--custom--width--limit) / 2 )) !important;
                margin-right: max(1px,calc(50% - var(--wp--custom--width--limit) / 2 )) !important;
            }
        }
    }

}

.wp-block-post-content > [style*="inline-block"],
.wp-block-post-content > [style*="inline-flex"],
.wp-block-post-content > [style*="inline-grid"]{
    max-width:calc(100% - var(--wp--custom--margin--start-content) - var(--wp--custom--padding--content, .75rem) * 2);
    margin-right:auto;
    margin-left:auto;
    margin-left:max(1px,var(--wp--custom--margin--start-content));
    @media (min-width: 768px){
        position:static;
        max-width: calc(100% - var(--wp--custom--padding--content,.75rem) * 2);

    }
}

.wp-site-blocks{
    /* core pattern */
    .wp-block-query-no-results,
    .wp-block-query{
        width:100%;
        max-width:none;
        margin:var(--wp--custom--margin--container);
        ul{
            padding-left:0;

        }
    }
}


.emulsion{
    /**
    * name: core/post-content
    */
    .wp-block-post-content{
        min-height:var(--wp--custom--min-height--one-third);
        overflow:hidden;
        & > :last-child:where(h1,h2,h3,h4,h5,h6,p,ul,ol,.wp-block-table,pre,figure:not(.alignfull)){
            margin-bottom:3rem;
        }


        & > .alignleft ~ .wp-block-table:not([class*="align"]),
            & > .alignleft ~ .wp-block-pullquote:not([class*="align"]),
            & > .alignleft ~ .wp-block-quote:not([class*="align"]),
            & > .alignleft ~ .wp-block-code:not([class*="align"]),
            & > .alignright ~ .wp-block-table:not([class*="align"]),
            & > .alignright ~ .wp-block-pullquote:not([class*="align"]),
            & > .alignright ~ .wp-block-quote:not([class*="align"]),
            & > .alignright ~ .wp-block-code:not([class*="align"]){

            margin-right: max(1px, calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
            margin-left: max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
        }
    }
    &.summary{
        /* classic */
        .wp-block-post-content{
            min-height:0;
        }
        main > .excerpt{
            martin-top:0;
            margin-right: max(1px, calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
            margin-left: max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
            margin-bottom:0;
            list-style:none;
            padding:0;
        }
    }

    .page{
        .wp-block-post-content > *:first-child{
            margin-top:0;
        }
    }
}
.main-query > .wp-block-query > [class*="align"].is-layout-default {
    .post-header-content{
        width:100%;

    }
    .has-post-thumbnail .loop-item.post.wp-block-group{
        width:100%;
    }
}


.entry-content,
.wp-block-post-content{
    .wp-block-query{
        .wp-block-post-title{
            margin: var(--wp--custom--margin--block);
            font-family: var(--wp--preset--font-family--system-font);
            font-size: var(--wp--preset--font-size--medium);
            font-weight: 700;
            line-height: var(--wp--custom--line-height--heading, 1.15);
            text-decoration: none;
            text-transform: var(--wp--custom--text-transform--heading);
        }
    }
}

*:not([id]):not(.main-query) > .wp-block-query{
    margin: var(--wp--custom--margin--block);
    /* pattern query */
    & > *{
        width: var(--wp--style--global--content-size);
    }

    & > #adminmenumain{
        width:auto;
    }
    & > .alignleft{
        float: left;
        width: var(--wp--custom--width--float);
        margin: var(--wp--custom--margin--alignleft);
        clear: left;

    }
    & > .alignright{
        float: right;
        width: var(--wp--custom--width--float);
        margin: var(--wp--custom--margin--alignright);
        clear: right;
    }
    & > .aligncenter{
        width: var(--wp--custom--width--aligncenter);
        margin: var(--wp--custom--margin--block);
        clear: both;
    }
    & > .alignwide{
        width: var(--wp--style--global--wide-size);
        margin: var(--wp--custom--margin--block);
    }
    & > .alignfull{
        width: var(--wp--custom--width--full);
        margin: var(--wp--custom--margin--container);
    }

    .wp-block-group.is-layout-flex.is-vertical > :not(.specificity){
        width:100%;
    }
    .is-style-layout-wide{
        width:auto;

        & > *:not(.alignfull){
            width:var(--wp--style--global--wide-size, 57.5rem);
        }
        .archive-title,
        .post-header-content,
        .fse-header-content,
        .wp-block-comment-template .wp-block-columns,
        .wp-block-comment-template,
        .wp-block-post-featured-image img{
            width:var(--wp--style--global--wide-size, 57.5rem);
        }
        .wp-block-query-title,
        .post-footer,
        .wp-block-comments-title,
        .taxsonomy,
        .posted-on,
        .wp-block-post-title{
            width:auto;
        }
    }

}

#emulsion{
    .wp-block-navigation.fse-primary.items-justified-center{
        /* exception */
        & > *{
            &.wp-block-navigation__responsive-container-open{
                margin-right:auto;
                margin-left:.75rem;
            }
            .wp-block-navigation__responsive-container-close{
                margin-right:.75rem;
                margin-left:auto;
            }
            &.wp-block-navigation__responsive-container li{
                margin:0;
            }
        }
    }
}

.wp-block-columns{
    &.are-vertically-aligned-top{
        align-items:flex-start;
    }
    &.are-vertically-aligned-center{
        align-items:center;
    }
    &.are-vertically-aligned-bottom{
        align-items:flex-end;
    }
    .wp-block-column{
        &.is-vertically-aligned-top{
            align-self: flex-start;
        }
        &.is-vertically-aligned-center{
            align-self:center;
        }
        &.is-vertically-aligned-bottom{
            align-self:flex-end
        }
    }
}
/**
* WordPress 6.3 END
*/

/**
* name: core/table-of-contents
*/

:where(.wp-block-table-of-contents) {
    background-color: var(--wp--custom--color--code-tag-bg);
    border-color: var(--wp--preset--color--border-color);
    border-width: var(--wp--custom--border--common-width);
    border-style: var(--wp--custom--border--common-style);
    color: var(--wp--custom--color--code-tag-text);
}
.wp-block-table-of-contents{
    padding:0;
    & > ol,
    & > ul{
        width:auto;
        margin:0 auto;
    }
}

/**
* name: core/next-page
*/

.wp-block-nextpage,
.post-nav-links{
    float:none;
    clear:both;
    .post-page-numbers{
        padding:.375rem var( --wp--custom--padding--content, .75rem );
        border:var(--wp--custom--border--common);
    }
    .current{
        padding:var( --wp--custom--padding--content, .75rem );
        font-weight:700;
    }
}

/**
* name: core/tag-cloud
*/

.is-style-outline{
    &.wp-block-tag-cloud{
        a{
            flex:1 1 auto;
        }
    }
}
.emulsion{
    /**
    * figcaption
    */

    figcaption{
        width:-moz-fit-content;
        width:fit-content;
        padding:.75rem;
        margin:0 auto;
        font-size:var(--wp--preset--font-size--small,0.8125rem);
        text-align:left;
    }

    .alignleft.size-thumbnail{
        figcaption{
            width:9.375rem;
            margin-right:0;
        }
    }
    .alignright.size-thumbnail{
        figcaption{
            width:9.375rem;
            margin-left:0;
        }
    }
    .alignleft.is-resized figcaption{
        width:inherit;
        padding-right:var(--wp--custom--padding--content);
        margin-right:0;
        text-align:center;
    }
    .alignright.is-resized figcaption{
        width:inherit;
        padding-left:var(--wp--custom--padding--content);
        margin-left:0;
        text-align:center;
    }
    .wp-element-caption:has(br){
        /* todo waiting firefox suppots */
        width:auto;
        padding:1.5rem;
        margin-top:0;
        font-size:1rem;
        white-space:pre-wrap;
        border-bottom: var(--wp--custom--border--common);

    }
}

/* custom margin */

:where(.wp-block.toc),
:where(.wp-block-columns),
.post-password-form{
    box-sizing:border-box;
    padding:0;
    margin:var(--wp--custom--margin--container);
    overflow:hidden;
}
:where(.wp-block-group.alignfull){
    box-sizing:border-box;
    padding:0;
    overflow:hidden;

    &:not(#specificity){
        margin:0;
        max-width:100%;
    }
    &.is-vertical{
        width:100%;

    }
}

:where(.wp-block-term-description){
    box-sizing:border-box;
    padding:0;
    margin:var(--wp--custom--margin--container);
    overflow:hidden;
}

.is-layout-flow.wp-block-template-part,
.is-layout-default.wp-block-template-part,
.is-style-layout-flow.wp-block-template-part{
    & > :first-child,
        & > :last-child{
        box-sizing:border-box;
        padding:0;
        margin:var(--wp--custom--margin--container);
        overflow:hidden;
    }
}

.emulsion{
    /**
     * post-header
     */
    .wp-site-blocks > header + .wp-block-group header,
    .post-header{
        clear:both;
        float:none;
        .posted-on{
            padding:0;
            margin-left:0;
        }
        .taxsonomy{
            margin:0;
        }
    }

    div.taxsonomy{
        /* width depend .post-header-content */
        padding:0 var( --wp--custom--padding--content, .75rem );
        overflow:initial;
        .taxsonomy{
            padding:0;
        }
        .taxonomy-category, /* classic */
        .taxonomy-post_tag,/* classic */
        .wp-block-post-terms{
            display:flex;
            flex-wrap:wrap;
            width:100%;
            margin-bottom:.75rem;
            a{
                padding:.375rem .75rem;
                border:var(--wp--custom--border--common);

            }
            .wp-block-post-terms__separator{
                display:none;
            }
        }

    }
    .posted-on{

        /* width depend post-header-content */

        overflow:initial;
        font-family:var(--wp--preset--font-family--system-font);
        font-size:var( --wp--preset--font-size--small );
        time{
            width:auto;
        }
    }

    .wp-block-post-author__name{
        font-family:var(--wp--preset--font-family--system-font);
        font-size:var( --wp--preset--font-size--normal );
    }
    .centered{
        -webkit-box-sizing:border-box;
        box-sizing:border-box;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction:column;
        flex-direction:column;
        align-items: center;
        justify-content: center;
        -webkit-box-pack: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }


    /**
    * wp-block (front end Theme class)
    */

    .wp-block{
        & > .wp-block:where(div,aside,section,main,header,footer,article){
            padding:0;

            .wp-block-buttons{
                box-sizing:border-box;
                padding-right:var( --wp--custom--padding--content, .75rem );
                padding-left:var( --wp--custom--padding--content, .75rem );

            }
        }
        &.wp-block-table{
            thead{
                border-bottom-color:inherit;
            }
            tfoot{
                border-top-color:inherit;
            }
            th,
            td{
                border-color:inherit;
            }

            &.aligncenter:not(#specificity){
                box-sizing:border-box;
                float:none;
                width:var(--wp--custom--width--aligncenter);
                clear:both;
                @media screen and ( max-width : 40rem ) {
                    width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
                    margin-right:auto;
                    margin-left:auto;
                }
            }
            &.alignwide:not(#specificity){
                width:var(--wp--style--global--wide-size, 57.5rem);
            }
            &.alignfull:not(#specificity){
                width:var(--wp--custom--width--full);

                @media screen and ( min-width : 80rem ) {
                    /* Limit width */
                    max-width:var(--wp--custom--width--limit, 1600px);
                }
            }
        }
        &.wp-block-columns{
            overflow:visible;
        }

        ul.is-layout-grid,
        ul.is-flex-container{
            padding:0;

            &.alignfull{
                max-width:calc(100% - var(--wp--custom--padding--content) * 2);
            }
            li{
                padding:0;

            }
            @media screen and ( max-width : 40rem ) {
                max-width:calc(100% - var(--wp--custom--padding--content) * 2);
            }
        }

        &.alignwide{
            box-sizing:border-box;
            width:var(--wp--style--global--wide-size, 57.5rem);
            padding-right:0;
            padding-left:0;

        }
        &.alignfull{
            width:var(--wp--custom--width--full);

            @media screen and ( min-width : 80rem ) {
                /* Limit width */
                max-width:var(--wp--custom--width--limit, 1600px);
            }
        }
        &.wp-block-navigation{
            overflow:visible;
        }
    }

    /**
    * Clear Align
    */

    .wp-block-post-content > div:not([class]),
        .wp-block-query-pagination{
        float:none;
        clear:both;

    }
    .is-layout-flex.is-vertical{
        padding:0;
    }
    .post-password-form{
        box-sizing:border-box;
        padding:0;

        overflow:hidden;
    }
}

/**
* name: core/group
*/
.editor-styles-wrapper,
#emulsion{

    .wp-block-group.is-vertical{
        &.items-justified-top{

            align-items:flex-start;
            justify-content: flex-start;

            &.items-justified-left{
                flex-direction: column;
                align-items: flex-start !important;
            }
            &.items-justified-right{
                flex-direction: column;
                align-items: flex-end !important;
            }
            &.items-justified-space-between{
                justify-content: space-between;
            }
        }
        &.items-justified-center{

            align-items:center;
            justify-content: center;

            &.items-justified-left{
                flex-direction: column;
                align-items: flex-start !important;

            }
            &.items-justified-right{
                flex-direction: column;
                align-items: flex-end !important;
            }
            &.items-justified-space-between{
                justify-content: space-between;
            }


        }
        &.items-justified-bottom{

            align-items:flex-end;
            justify-content: flex-end;

            &.items-justified-left{
                flex-direction: column;
                align-items: flex-start !important;
            }
            &.items-justified-right{
                flex-direction: column;
                align-items: flex-end !important;
            }
            &.items-justified-space-between{
                justify-content: space-between;
            }
        }

    }
    .is-layout-flex.is-vertical{
        & > .fit{
            margin-left:0;
            width:-moz-fit-content;
            width:fit-content;
        }
        & > .fill{
            margin-left:0;
        }
        .wp-block-table.fill{
            width:calc(  var(--wp--style--global--content-size) - var(--wp--custom--padding--content,.75rem) * 2);
            margin:var(--wp--custom--margin--block);
        }
    }

    .items-justified-left,
    .is-content-justification-left{

        & > *{
            margin-left:0;
            width:-moz-fit-content;
            width:fit-content;
        }

        &:where(.is-layout-flex){

            display:flex;
            justify-content: flex-start;
            align-content: flex-start;
            & > *{
                margin-left:0;
            }
            &.items-justified-space-between{
                justify-content: space-between;
            }

        }
    }

    .items-justified-center,
    .is-content-justification-center{

        & > *{
            margin-right:auto;
            margin-left:auto;

        }
        &.fse-primary{
            justify-content: center;
            & > *{
                margin-right:0;
                margin-left:0;
            }
        }
    }

    .items-justified-right,
    .is-content-justification-right{
        & > *{
            width:-moz-fit-content;
            width:fit-content;
            margin-right:max(1px,var(--wp--custom--margin--start-content));
        }
        &:where(.is-layout-flex){
            display:flex;

            align-items: flex-end;
            justify-content: flex-end;

            & > *{
                margin-right:0;
                margin-left:0;
            }
        }
    }
    .is-content-justification-stretch,
    .items-justified-stretch{
        align-items:stretch;
    }

    /* lost */
    .items-justified-space-between,
    .is-content-justification-space-between{
        &:where(.is-layout-flex){
            display:flex;
        }
        justify-content: space-between;
        & > *{
            margin-right:0;
            margin-left:0;
            &:where(:not([class])){
                width:100%;
            }
        }

    }
}

.wp-block-group{
    box-sizing:border-box;
    display:block;
    padding:0;

    overflow:hidden;
    &.alignfull{

        width:var(--wp--custom--width--full);

        @media screen and ( min-width : 80rem ) {
            /* Limit width */
            max-width:var(--wp--custom--width--limit, 1600px);
        }
    }
    &.is-layout-flex{
        &.is-vertical{
            flex-direction:column;
        }
    }
    &.is-layout-grid{
        display:grid;



        & > .wp-block-image:not(#specificity){
            margin:0;
        }
    }
    &.is-layout-grid:not(#specificity){
        .wp-block-group,
        & > *{
            margin:0;

            img{
                aspect-ratio:unset;
            }
        }
    }
    &.is-content-justification-right > *:not(.specificity){
        margin-right:0;
    }
    &.is-content-justification-left > *:not(.specificity){
        margin-left:0;
    }
    &.centered{
        -webkit-box-sizing:border-box;
        box-sizing:border-box;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction:column;
        flex-direction:column;
        align-items: center;
        justify-content: center;
        -webkit-box-pack: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

/**
* name: core/group stack
*/

.is-root-container > .wp-block-group.is-layout-flex,
.wp-block-post-content > .wp-block-group.is-layout-flex{

    &.is-vertical{
        gap:var(--wp--style--block-gap, .75rem);
    }
    &.is-nowrap{
        flex-wrap:nowrap;
        & > .wp-block-separator{
            width:48px;
            transform: rotate( 90deg );
            transform-origin: center center;
            &.is-style-dots:before{
                padding-left:0;
                margin:0;
            }
        }
        & > *{
            width:fit-content;
            margin:0;
        }

        &.fill > *:where(:not([style])),
            & > .fill{

            flex: 1 1 auto;
        }
    }
    .fill{
        flex-grow: 1;
    }
    &:where(:not(.is-vertical)){
        /* ][ */
        flex-direction: row;
        align-items:center;
        justify-content:flex-start;

    }
    &.items-justified-left{
        justify-content: flex-start;
    }
    &.items-justified-right{
        align-items:flex-end;
        justify-content: flex-end;
    }
    &.items-justified-center {
        align-items:center;
        justify-content: center;

    }
    &.items-justified-top {
        align-items:start;
    }
    &.items-justified-center {
        align-items:center;
    }
    &.items-justified-bottom {
        align-items:end;
    }
    &.items-justified-stretch {
        align-items:stretch;
    }
    &.items-justified-space-between{
        align-content: space-between;
        justify-content: flex-start;
        & > *{
            flex:0 1 auto;
            width:fit-content;
        }
        & > *:last-child{
            width:-moz-fit-content;
            width:fit-content;
            margin-left:auto;
        }
    }

    &.is-style-responsive{
        @media screen and ( max-width : 40rem ) {
            display:block;
            @for $i from 1 through 6 {
                &:not(.is-vertical) > *:nth-child(1):nth-last-child(#{$i})~ *,
                &:not(.is-vertical) > *:nth-child(1):nth-last-child(#{$i}){
                    width:100%;
                }
            }
        }
    }
}

body.emulsion{
    div.wp-block-avatar{
        &.alignleft{
            width:-moz-fit-content;
            width:fit-content;
        }
        &.alignright{
            width:-moz-fit-content;
            width:fit-content;
        }
    }
}
.emulsion{

    .alignright,
    .alignleft{
        /* push not apply width auto */
        &.wp-block-archives,
        &.wp-block-categories{
            & ~ .wp-block-group{
                margin-right: max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
                margin-left: max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
                &.alignfull{
                    margin-right:auto;
                    margin-left:auto;
                }
            }
        }
    }
}
/**
 * name: core/gallery
 */
figure.wp-block-gallery.has-nested-images {
  align-items: normal;
}

.wp-block-gallery.has-nested-images {
  figure.wp-block-image {
    &:not(#individual-image) {
      margin: 0;
      width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2);
    }

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    max-width: 100%;
    position: relative;

    > {
      a, div {
        flex-direction: column;
        flex-grow: 1;
        margin: 0;
      }
    }

    img {
      display: block;
      height: auto;
      max-width: 100% !important;
      width: auto;
    }

    figcaption {
      background: linear-gradient(0deg, #000000b3, #0000004d 70%, #0000);
      bottom: 0;
      box-sizing: border-box;
      color: #fff;
      font-size: 13px;
      left: 0;
      margin-bottom: 0;
      max-height: 60%;
      overflow: auto;
      padding: 0 8px 8px;
      position: absolute;
      scrollbar-color: #0000 #0000;
      scrollbar-gutter: stable both-edges;
      scrollbar-width: thin;
      text-align: center;
      width: 100%;
      will-change: transform;

      &::-webkit-scrollbar {
        height: 12px;
        width: 12px;
      }

      &::-webkit-scrollbar-track {
        background-color: initial;
      }

      &::-webkit-scrollbar-thumb {
        background-clip: padding-box;
        background-color: initial;
        border: 3px solid #0000;
        border-radius: 8px;
      }

      &:focus-within::-webkit-scrollbar-thumb, &:focus::-webkit-scrollbar-thumb, &:hover::-webkit-scrollbar-thumb {
        background-color: #fffc;
      }

      &:focus, &:focus-within, &:hover {
        scrollbar-color: #fffc #0000;
      }

      img {
        display: inline;
      }

      a {
        color: inherit;
      }
    }

    &.has-custom-border {
      img {
        box-sizing: border-box;
      }

      > {
        a, div {
          flex: 1 1 auto;
        }
      }
    }

    &.is-style-rounded > {
      a, div {
        flex: 1 1 auto;
      }
    }

    &.has-custom-border figcaption, &.is-style-rounded figcaption {
      background: none;
      color: inherit;
      flex: initial;
      margin: 0;
      padding: 10px 10px 9px;
      position: relative;
    }
  }

  figcaption {
    flex-basis: 100%;
    flex-grow: 1;
    text-align: center;
  }

  &:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
    margin-bottom: auto;
    margin-top: 0;
  }

  &.is-cropped figure.wp-block-image:not(#individual-image) {
    align-self: inherit;

    > {
      a, div:not(.components-drop-zone) {
        display: flex;
      }
    }

    a, img {
      flex: 1 0 0%;
      height: 100%;
      object-fit: cover;
      width: 100%;
    }
  }
}

@media (hover: none) {
  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    scrollbar-color: #fffc #0000;
  }
}

.emulsion{


    .wp-block-post-content{
        & > .wp-block-gallery{
            @media (min-width: 48rem){
                max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
            }
        }
    }
    .wp-block-gallery{

        &.has-nested-images{
            flex-wrap:wrap;
            justify-content: center;

            figure.wp-block-image{
                figcaption{
                    color:#fff;
                    background:#000;
                    a{
                        color:#fff;
                    }
                }
            }
        }
    }
    .wp-block-group.is-vertical,
    .wp-block-column{
        & > .wp-block-gallery{
            width:auto;

        }
    }
}
/**
* name: core/columns
*/
.wp-block-columns{
    align-items:normal !important;
    box-sizing:border-box;
    display:flex;
    flex-wrap:wrap !important;
}
@media (min-width:782px){
    .wp-block-columns{
        flex-wrap:nowrap !important;
    }
}
.emulsion{
    .wp-block-columns{

        overflow:visible;
        @media screen and (min-width: 37.5rem) and (max-width: 48rem){
            &:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
                flex-basis: calc(50% - var(--wp--style--block-gap, .75rem) * 2)!important;
                flex-grow: 0;
            }
        }
    }
    .wp-block-columns:not(.fse-columns){
        .wp-block-column{
            border-radius: inherit;
            &:not(.is-style-main):not(.main){
                & > ul,
                & > ol{
                    ul,
                    ol{
                        padding-left:min(15%, 1.5rem);
                        @media screen and ( max-width : 48rem ) {
                            padding-left: clamp( 2rem, calc( 100vw / 72 ), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
                        }
                        li{
                            padding-left:0;
                        }
                    }
                }
                h1{
                    font-size:xx-large;
                }
                h2{
                    font-size:x-large;
                }
                h3{
                    font-size:large;
                }
                h4{
                    font-size:medium;
                }
                h5{
                    font-size:small;
                }
                h6{
                    font-size:x-small;
                }
            }

        }
    }
}

/**
* name: core/table
*/

.is-layout-constrained > .wp-block-table:not([class*="align"]){
    width:calc( var(--wp--style--global--content-size) - var(--wp--custom--padding--content) * 2);
}

.wp-block-table{
    thead {
        border-bottom-color:var(--wp--preset--color--border-color);
        border-bottom-style:var(--wp--custom--border--common-style);
        border-bottom-width:3px;
    }
    tfoot {
        border-top-color:var(--wp--preset--color--border-color);
        border-top-style:var(--wp--custom--border--common-style);
        border-top-width:3px;
    }
    td,th{
        padding:calc( var(--wp--custom--padding--content,.75rem) / 2);
        border:var(--wp--custom--border--common);
    }
}
.emulsion{
    .wp-block-table{
        &.is-style-stripes{
            tbody tr:nth-child(odd) {
                background-color:var(--wp--custom--color--stripe);
            }
        }

        table{
            width:100%;
            margin:0;
            &[style]{
                thead {
                    border-bottom-width:3px;
                }
                tfoot {
                    border-top-width:3px;
                }
            }
        }
    }
}

.emulsion{

    /**
    * name: core/post-excerpt
    */


    .wp-block-post-excerpt{
        .wp-block-post-excerpt__excerpt{
            margin:0 auto 1.5rem;
        }
    }
}
.trancate,
.wp-block-post-excerpt__excerpt{
    margin-top:0;
}
.emulsion{
    /**
    * name: core/media-text
    */

    .wp-block-media-text{

        &:not(.alignleft):not(.alignright){
            padding-right:0;
            padding-left:0;
        }
        &.is-stacked-on-mobile{
            .wp-block-media-text__media{
                @media screen and (max-width: 48rem){
                    width:auto;
                    max-width:100%;
                }
            }
        }
    }

    /**
    * name: core/pullquote
    */
    .is-layout-constrained > .wp-block-pullquote:not([class*="align"]){
        width:calc( var(--wp--style--global--content-size) - var(--wp--custom--padding--content) * 2);
        margin-left:max(1px, calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
        margin-right:max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
    }

    .wp-block-pullquote {
        padding:1.5rem 0;
        text-align:left;
        &:not(.has-border-color){
            border:var(--wp--custom--border--common);
        }
        &:not(#specificity){
            border-right-width:0 ! important;
            border-left-width:0 ! important;
        }
        blockquote{
            border:none;
            p{
                font-size:inherit;
                line-height:inherit;
            }
        }
        cite{
            padding: 0 var(--wp--custom--padding--content);
            font-size: var(--wp--preset--font-size--small);
            font-weight:700;
            line-height: var(--wp--custom--line-height--common,1.5);
            text-transform: var(--wp--custom--text-transform--common, none);
        }
    }

    /**
    * name: core/quote
    */
    .is-layout-constrained > .wp-block-quote:not([class*="align"]){
        width:calc( var(--wp--style--global--content-size) - var(--wp--custom--padding--content) * 2);
        margin-left:max(1px, calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
        margin-right:max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
    }

    &.is-tpl-single-with-toc_template{
        .wp-block-post-content{
            .wp-block-quote{
                margin-right:auto;
                margin-left:auto;
            }
        }
    }
    .wp-block-quote{
        position:relative;
        box-sizing:border-box;
        padding-right:var( --wp--custom--padding--content, .75rem );
        padding-left:var( --wp--custom--padding--content, .75rem );
        padding-left: clamp(2rem, calc(100vw / 72), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));

        p{
            padding:0;
        }

        &.has-text-align-left{
            padding-left: clamp(2rem, calc(100vw / 72), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
            border:none;
            border-left:var(--wp--custom--border--common);
            border-width:2px;
        }
        &.has-text-align-center{
            padding:0 clamp(2rem, calc(100vw / 72), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
            border:none;
            border-top:var(--wp--custom--border--common);
            border-width:2px;
            &:before{
                position: absolute;
                top: .75rem;
                left: .75rem;
                display: inline-block;
                width:1.875rem;
                height:1.875rem;
                font-size: 2.5rem;
                line-height: 1;
                content: "“";
            }
        }
        @media screen and ( max-width : 40rem ) {
            max-width:calc(100vw - var(--wp--custom--padding--content) * 2);
            padding-left: clamp(2rem, calc(100vw / 72), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
        }
        &.has-text-align-right{
            padding-right: clamp(2rem, calc(100vw / 72), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
            border:none;
            border-right:var(--wp--custom--border--common);
            border-width:2px;
        }

        &.alignfull{
            width: calc( 100% - var(--wp--custom--padding--content,.75rem) * 2) !important;
            padding-left: clamp(2rem, calc(100vw / 72), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
        }

        cite{
            padding: 0;
            font-size: var(--wp--preset--font-size--small);
            font-weight:700;
            line-height: var(--wp--custom--line-height--common,1.5);
            text-transform: var(--wp--custom--text-transform--common, none);
        }
    }
    .is-root-container blockquote p.alignright ~ cite,
    .is-root-container blockquote p.alignleft ~ cite{
        width:50%;
        clear:both;
    }

    /**
     * name: core/separator
     */

    .wp-block-separator{
        position:relative !important;
        height:3rem;
        border:none;
        &:before{
            position:absolute;
            top:0;
            right:0;
            bottom:0;
            left:0;
            width:50%;
            height:2px;
            margin:auto;
            color:inherit;
            content:'';
            background:transparent;
            border-bottom:1px solid var(--wp--preset--color--border-color);

        }
        &.has-background{
            &:before{
                border-bottom-color: inherit;
                border-bottom: 3px solid;
            }
        }
        &.is-style-dots{
            height:3rem;
            &:before{
                width:-moz-fit-content;
                width:fit-content;
                height:3rem;
                margin:1rem auto;
                font-size:3rem;
                color:inherit;
                content:'\2026';
                background:transparent;
                border:none;
            }
        }
        &.is-style-wide{
            background:transparent !important;
            &:before{
                width:100%;
                color:inherit;
                background:transparent;
            }
        }
    }

    .wp-block-column{
        & > .wp-block-separator{
            width:auto;
            margin:auto;
            &:not(.is-style-dots):before{
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left:0;
                width: 6.25rem;
                height: 2px;
                margin: auto;
                color: inherit;
                content: '';
                background: transparent;
                border-bottom: 1px solid;
            }
        }
    }
}

/**
* name: core/cover
*/

.wp-block-cover,
.wp-block-cover-image {
    align-items: center;
    background-position: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-height: 430px;
    overflow: hidden;
    overflow: clip;
    padding: 1em;
    position: relative;
}
.wp-block-cover .has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]) {
    background-color: #000;
}
.wp-block-cover .has-background-dim.has-background-gradient,.wp-block-cover-image .has-background-dim.has-background-gradient {
    background-color: initial;
}
.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before {
    background-color: inherit;
    content: "";
}
.wp-block-cover .wp-block-cover__background,.wp-block-cover .wp-block-cover__gradient-background,.wp-block-cover-image .wp-block-cover__background,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover.has-background-dim:not(.has-background-gradient):before {
    bottom: 0;
    left: 0;
    opacity: .5;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before {
    opacity: .1;
}
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before {
    opacity: .2;
}
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before {
    opacity: .3;
}
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before {
    opacity: .4;
}
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before {
    opacity: .5;
}
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before {
    opacity: .6;
}
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before {
    opacity: .7;
}
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before {
    opacity: .8;
}
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before {
    opacity: .9;
}
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before {
    opacity: 1;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0 {
    opacity: 0;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10 {
    opacity: .1;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20 {
    opacity: .2;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30 {
    opacity: .3;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40 {
    opacity: .4;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50 {
    opacity: .5;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60 {
    opacity: .6;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70 {
    opacity: .7;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80 {
    opacity: .8;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90 {
    opacity: .9;
}
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100 {
    opacity: 1;
}
.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright {
    max-width: 420px;
    width: 100%;
}
.wp-block-cover-image:after,.wp-block-cover:after {
    content: "";
    display: block;
    font-size: 0;
    min-height: inherit;
}
@supports (position:sticky) {
    .wp-block-cover-image:after,
        .wp-block-cover:after{
        content:none;
    }
}
@supports (-webkit-touch-callout:inherit){

    .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{
        background-attachment: scroll;
    }
}

.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright {
    display: flex;
}
.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover-image .wp-block-cover__inner-container {
    color: inherit;
    width: 100%;
    z-index: 1;
}
.wp-block-cover h1:where(:not(.has-text-color)),.wp-block-cover h2:where(:not(.has-text-color)),.wp-block-cover h3:where(:not(.has-text-color)),.wp-block-cover h4:where(:not(.has-text-color)),.wp-block-cover h5:where(:not(.has-text-color)),.wp-block-cover h6:where(:not(.has-text-color)),.wp-block-cover p:where(:not(.has-text-color)),.wp-block-cover-image h1:where(:not(.has-text-color)),.wp-block-cover-image h2:where(:not(.has-text-color)),.wp-block-cover-image h3:where(:not(.has-text-color)),.wp-block-cover-image h4:where(:not(.has-text-color)),.wp-block-cover-image h5:where(:not(.has-text-color)),.wp-block-cover-image h6:where(:not(.has-text-color)),.wp-block-cover-image p:where(:not(.has-text-color)) {
    color: inherit;
}
.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left {
    align-items: flex-start;
    justify-content: flex-start;
}
.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center {
    align-items: flex-start;
    justify-content: center;
}
.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right {
    align-items: flex-start;
    justify-content: flex-end;
}
.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left {
    align-items: center;
    justify-content: flex-start;
}
.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center {
    align-items: center;
    justify-content: center;
}
.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right {
    align-items: center;
    justify-content: flex-end;
}
.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
}
.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center {
    align-items: flex-end;
    justify-content: center;
}
.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
}
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
    margin: 0;
}
.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container {
    margin: 0;
    width: auto;
}
.wp-block-cover .wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background,.wp-block-cover-image .wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background {
    border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (prefers-reduced-motion:reduce){
    .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{
        background-attachment:scroll;
    }
}
.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated,
.wp-block-cover__image-background.is-repeated,
video.wp-block-cover__video-background.is-repeated {
    background-repeat: repeat;
    background-size: auto;
}
.wp-block-cover__image-background,.wp-block-cover__video-background {
    z-index: 0;
}
.wp-block-cover-image-text,.wp-block-cover-image-text a,
.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,
.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,
.wp-block-cover-text a:active,.wp-block-cover-text a:focus,
.wp-block-cover-text a:hover,section.wp-block-cover-image h2,
section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,
section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover {
    color: #fff;
}
.wp-block-cover-image {
    .wp-block-cover {
        &.has-left-content {
            justify-content: flex-start;
        }
        &.has-right-content {
            justify-content: flex-end;
        }
    }
}
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
.wp-block-cover.has-left-content .wp-block-cover-text,
section.wp-block-cover-image.has-left-content>h2 {
    margin-left: 0;
    text-align: left;
}
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
.wp-block-cover.has-right-content .wp-block-cover-text,
section.wp-block-cover-image.has-right-content>h2 {
    margin-right: 0;
    text-align: right;
}
.wp-block-cover .wp-block-cover-text,
.wp-block-cover-image .wp-block-cover-image-text,
section.wp-block-cover-image>h2 {
    font-size: 2em;
    line-height: 1.25;
    margin-bottom: 0;
    max-width: 840px;
    padding: .44em;
    text-align: center;
    z-index: 1;
}
:where(.wp-block-cover-image:not(.has-text-color)),
:where(.wp-block-cover:not(.has-text-color)) {
    color: #fff;
}
:where(.wp-block-cover-image.is-light:not(.has-text-color)),
:where(.wp-block-cover.is-light:not(.has-text-color)) {
    color: #000;
}

.wp-block-cover,
.wp-block-cover-image{
    align-items:center;
    background-position:50%;
    box-sizing:border-box;
    display:flex;
    position:relative;
    justify-content:center;
    min-height:430px;
    overflow:hidden;
    overflow:clip;
    position:relative;
}
.wp-block-cover__inner-container{
    overflow:hidden;
    position:absolute;
    &:has(.is-layout-flex){
        position:relative;
        overflow:visible;
    }
}
.emulsion{
    .wp-block-cover{
        padding:0;
        &.is-position-bottom-left,
        &.is-position-center-left,
        &.is-position-top-left{
            .wp-block-cover__inner-container > *{
                margin-left:0;
            }
        }
        &.is-position-bottom-right,
        &.is-position-center-right,
        &.is-position-top-right{
            .wp-block-cover__inner-container > *{
                margin-right:0;
            }
        }
        &.alignleft,
        &.alignright{
            max-width:100%;
        }
    }

    .wp-block-cover__gradient-background,
    .wp-block-cover__background{
        width:100%;
        height:100%;

    }

    /**
    * name: core/embed
    */

    .wp-block-group.is-vertical,
    .wp-block-column{
        & > .wp-block-embed{
            .wp-block-embed__wrapper{
                display:flex;
                flex-direction: column;
                width:auto;
            }
        }
    }

    /**
    * name: core/image
    */
    :where(.wp-block-group){
        .wp-block-image{
            &.alignleft{
                &.is-style-circle-mask{

                    margin-right:2rem;

                    & + *{
                        margin-top:0;
                    }
                    @media screen and ( max-width : 40rem ) {
                        shape-outside: none;
                        margin:0;
                    }
                }
            }
            &.alignright{
                &.is-style-circle-mask{

                    margin-left:2rem;

                    & + *{
                        margin-top:0;
                    }
                    @media screen and ( max-width : 40rem ) {
                        shape-outside: none;
                        margin:0;
                    }
                }
            }
        }
    }
    .wp-lightbox-overlay{
        .wp-block-image{
            margin-top:0;
        }
    }
    .wp-block-image:not(#specificity) img[style*="width"][style*="height"]{
        height:auto !important;
    }
    .wp-block-image{
        position:relative;
        text-align:center;
        .components-resizable-box__container:not(.specificity){
            max-width:100%!important;
            max-height:auto!important;
            margin:auto;
            & ~ figcaption{
                display:block;
            }
        }
        &.alignleft{
            .components-resizable-box__container{
                margin-right:0;
            }
        }
        &.alignright{
            .components-resizable-box__container{
                margin-left:0;
            }
        }
        figcaption{
            display:block;
        }

        &.alignright.size-thumbnail,
        &.alignleft.size-thumbnail{
            width:var(--wp--custom--width--thumbnail-float);
            @media screen and ( max-width : 40rem ) {
                width:auto;
                padding:0;
                margin-right:auto;
                margin-left:auto;
                text-align:center;
                figcaption{
                    margin-right:auto;
                    margin-left:auto;
                }
            }
        }

        .alignleft,
        &.alignleft{
            display:block;
            text-align:right;
            @media screen and ( max-width : 40rem ) {
                padding:0;
                margin-right:auto;
                margin-left:auto;
                text-align:center;
            }
            &.is-style-circle-mask{
                text-align:center;
                shape-outside: circle();
                img{
                    border-radius:9999px;
                }
                .wp-element-caption{
                    display:none;
                }
                @media screen and ( max-width : 40rem ) {
                    shape-outside: none;
                }
            }
        }
        .alignright,
        &.alignright{
            display:block;
            text-align:left;
            @media screen and ( max-width : 40rem ) {
                padding:0;
                margin-right:auto;
                margin-left:auto;
                text-align:center;
            }
            &.is-style-circle-mask{
                text-align:center;
                shape-outside: circle();
                img{
                    border-radius:9999px;
                }
                .wp-element-caption{
                    display:none;
                }
                @media screen and ( max-width : 40rem ) {
                    shape-outside: none;
                }
            }
        }
    }
    .wp-block-group.is-vertical,
    .wp-block-column{
        & > .wp-block-image{
            display:flex;
            flex-direction: column;
            align-items: center;
            background: var(--wp--custom--color--featured-image-bg);
            &:not(.alignleft):not(.alignright){
                margin:0 auto;
            }
        }

    }
    .wp-block-group.shape-speech-bubble{
        .wp-block-image{
            background:transparent;
        }
    }

    /**
    * name: core/post-navigation
    */

    .is-root-container .wp-block-post-navigation-link a{
        padding:.75rem;
    }
    .wp-block-post-navigation{
        max-width: calc( 100% - var(--wp--style--block-gap, .75rem) * 2);
        &.wp-block-group:not(.specificity){

            flex-wrap: wrap !important;
            margin:var(--wp--custom--margin--container);

        }
        .wp-block-post-navigation-link{
            flex: 1 1 auto;
            min-width:35%;
            padding:0;
            a{
                padding: 0.385rem;
            }
            &:empty{
                display:none;
            }
        }
    }
    .wp-block-post-navigation-link.post-navigation-link-previous a,
    .wp-block-post-navigation-link.post-navigation-link-next a{
        display:block;

    }

    .wp-block-post-template.is-layout-grid,
    .wp-block-post-template.is-layout-flex,
    .wp-block-post-template.is-flex-container{
        li{
            border:var(--wp--custom--border--common,1px solid #ccc);
            .loop-item{
                position:relative;
                height:100%;
                margin:0;
                .wp-block-post-title{
                    font-size:revert;
                }
            }

            & > .wp-block-group{
                margin:0;
            }
        }
        &:not(.wp-block-query-pagination){

            .loop-item:after{
                display:none;
                border:none;
            }
            li{
                border:var(--wp--custom--border--common,1px solid #ccc);
                .wp-block-post-title{
                    font-family: var(--wp--preset--font-family--system-font);
                    font-weight:700;
                    line-height: var(--wp--custom--line-height--heading,1.15);
                    text-transform: var(--wp--custom--text-transform--heading);
                }

                &.has-post-thumbnail{
                    .wp-block-post-featured-image ~  .wp-block-post-excerpt{
                        display:none;
                    }
                }
                & > div{
                    &.has-background{
                        height:100%;

                    }
                }
                article{
                    &.has-background{

                    }
                }
            }
        }
    }
    .main-query .wp-block-post-template:where(:not(.is-flex-container):not(.is-layout-flex):not(.is-layout-grid)) {

        li{
            width:100%;
            .loop-item{
                position:relative;
                width:100%;
                height:100%;
                border-bottom:var(--wp--custom--border--common);
            }
            &.has-post-thumbnail{
                display:block;
                margin-right:0;
                margin-left:0;
                border-bottom:none;
                .loop-item{
                    position:relative;
                    width:100%;
                    height:100%;
                    border:none;
                    .wp-block-post-title{
                        margin-top:1.5rem;
                    }
                    .post-header,
                    .wp-block-post-featured-image{
                        width:calc( var(--wp--style--global--content-size) / 2 - var(--wp--style--block-gap, .75rem) * 2);

                    }
                    .wp-block-post-title{
                        background:transparent;
                    }
                    @media screen and (max-width: 45rem) {
                        min-height:0;
                        margin:auto;
                        .post-header,
                        .wp-block-post-featured-image{
                            width:100%;
                            min-height:0;
                            margin:0 auto;
                        }
                        .post-header{
                            padding-bottom:1.5rem;
                        }
                    }
                }
            }
        }
        &.alignwide,
        &.alignfull{
            .loop-item{
                .wp-block-post-excerpt{
                    padding:0;

                }
            }
        }
    }

    /**
    * name: core/query-pagination
    */

    &.summary .wp-block-query-pagination a{
        flex:1 1 auto;
    }
    .wp-block-query-pagination{

        align-items:center;
        padding:0 var(--wp--custom--padding--content,.75rem);
        margin:var(--wp--custom--margin--block);
        overflow-wrap: break-word;
        font-size:var( --wp--preset--font-size--small );
        a{
            flex:0 1 auto;
            border:var(--wp--custom--border--common,1px solid #ccc);
        }
        .wp-block-query-pagination-numbers{
            display:flex;
            align-items:center;
            .current{
                padding:.375rem .75rem;
                border:var(--wp--custom--border--common,1px solid #ccc);
            }
            .dots{
                padding:var(--wp--custom--padding--content,.75rem);
                border:none;
            }
        }
    }

    /**
    * name: core/query-title
    */
    div.wp-site-blocks{
        .archive-title{

            &:last-child{
                .wp-block-query-title{
                    margin: var(--wp--custom--margin--bottom);
                }
            }
        }
    }

    /**
    * name: core/query
    */

    .wp-block-post-template{
        li.wp-block-post{
            display:block;
            width:100%;
            padding:0;
            & > *{
                width:auto;
            }
        }
    }

    .main-query .wp-block-query{
        & > .wp-block-post-template:not([data-block]){
            display: flex;
            &.is-layout-grid{
                display:grid;
                grid-auto-flow: dense;
                & > li{
                    display:grid;
                    margin: 0;

                }
                &.columns-3{
                    & > .has-post-thumbnail{
                        grid-column: span 2;
                        grid-row: span 2;
                    }
                    & > .wp-block-post{
                        @media (max-width: 37.5rem){

                            grid-column: span 1;
                            grid-row: span 1;
                        }
                    }
                }

                &.columns-4,
                &.columns-5,
                &.columns-6{
                    & > .has-post-thumbnail{
                        grid-column: span 2;
                        grid-row: span 1;
                    }
                    & > .wp-block-post{
                        @media (max-width: 37.5rem){

                            grid-column: span 1;
                            grid-row: span 1;
                        }
                    }
                }

            }

            li{
                z-index:0;
                order:2;
                &.sticky{
                    order:1;
                }

            }
        }
        & > .wp-block-post-template:not(.is-layout-flex):not(.is-flex-container):not(.is-layout-grid):not([data-block]){
            flex-direction: column;
            padding:0;
            li{
                padding:0;
            }
        }

    }
    .wp-block-query{
        .wp-block-group{
            &.is-layout-grid{
                display:grid;

                &.loop-item{
                    /* query loop article */
                    .wp-block-post-excerpt{
                        /* centered */
                        -webkit-box-sizing:border-box;
                        box-sizing:border-box;
                        display: -webkit-box;
                        display: -ms-flexbox;
                        display: flex;
                        -ms-flex-direction:column;
                        flex-direction:column;
                        align-items: center;
                        justify-content: center;
                        -webkit-box-pack: center;
                        -webkit-box-align: center;
                        -ms-flex-align: center;
                        -ms-flex-pack: center;
                    }
                }
            }
        }
        ul:not(.is-layout-flex):not(.is-flex-container):not(.is-layout-grid){
            li.has-post-thumbnail{
                .is-layout-grid{
                    display:grid;
                }
            }
        }
    }

    .main-query .wp-block-query{
        ul.wp-block-post-template{
            padding-left:0;
            &.is-layout-flex{
                @media (max-width: 48rem){
                    padding:0 .75rem;
                }
            }
        }
        .wp-block-post-template li{
            overflow:hidden;
        }
        .is-layout-flex li{
            padding:0;
            margin:0;
        }
    }
}
.single,
.page{
    .wp-block-query{
        ul:not(.is-layout-flex):not(.is-flex-container):not(.is-layout-grid){
            /* alignwide or alignfull wp-block-post-template start */
            .loop-item{
                width:100%;
            }
            .post-header-content{
                width:100%;
            }
            /* alignwide or alignfull wp-block-post-template end */
        }
    }
    .wp-block-query{
        ul.is-layout-flex{
            padding-left:0;
            margin:0;
            .has-post-thumbnail{
                .loop-item{
                    .wp-block-post-excerpt{
                        display:none;
                    }
                }
            }
        }
    }
}

body.emulsion{
    /**
    * name: core/term-description
    */
    .wp-block-term-description{

        p{
            width:100%;
            margin-top:0;
            margin-bottom:1.5rem;
            font-family:var(--wp--preset--font-family--system-font);
            font-size:var( --wp--preset--font-size--normal );

        }
    }
}
.wp-block-button__link {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    word-break: break-word;
    &.aligncenter {
        text-align: center;
    }
    &.alignright {
        text-align: right;
    }
}
:where(.wp-block-button__link) {
    border-radius: 9999px;
    box-shadow: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}
.wp-block-button[style*=text-decoration] {
    .wp-block-button__link {
        text-decoration: inherit;
    }
}
.wp-block-buttons {
    & > .wp-block-button {
        display: inline-block;
        margin: 0;
        &.has-custom-width {
            max-width: none;
            .wp-block-button__link {
                width: 100%;
            }
        }
        &.has-custom-font-size {
            .wp-block-button__link {
                font-size: inherit;
            }
        }
        &.wp-block-button__width-25 {
            width: calc(25% - var(--wp--style--block-gap, .5em)*.75);
        }
        &.wp-block-button__width-50 {
            width: calc(50% - var(--wp--style--block-gap, .5em)*.5);
        }
        &.wp-block-button__width-75 {
            width: calc(75% - var(--wp--style--block-gap, .5em)*.25);
        }
        &.wp-block-button__width-100 {
            flex-basis: 100%;
            width: 100%;
        }
    }
    &.is-vertical {
        flex-direction: column;
        & > .wp-block-button {
            &.wp-block-button__width-25 {
                width: 25%;
            }
            &.wp-block-button__width-50 {
                width: 50%;
            }
            &.wp-block-button__width-75 {
                width: 75%;
            }
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
    &.is-content-justification-left {
        justify-content: flex-start;
        &.is-vertical {
            align-items: flex-start;
        }
    }
    &.is-content-justification-center {
        justify-content: center;
        &.is-vertical {
            align-items: center;
        }
    }
    &.is-content-justification-right {
        justify-content: flex-end;
        &.is-vertical {
            align-items: flex-end;
        }
    }
    &.is-content-justification-space-between {
        justify-content: space-between;
    }
    &.aligncenter {
        text-align: center;
    }
    &.has-custom-font-size {
        .wp-block-button__link {
            font-size: inherit;
        }
    }
}
.wp-block-button.is-style-squared,
.wp-block-button__link.wp-block-button.is-style-squared {
    border-radius: 0;
}
.wp-block-button.no-border-radius,
.wp-block-button__link.no-border-radius {
    border-radius: 0 !important;
}
.wp-block-button .wp-block-button__link:where(.is-style-outline),
.wp-block-button:where(.is-style-outline)>.wp-block-button__link {
    border: 2px solid;
    padding: .667em 1.333em;
}
.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),
.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color) {
    color: currentColor;
}
.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),
.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background) {
    background-color: initial;
    background-image: none;
}
.wp-block-button {
    .wp-block-button__link {
        &:where(.has-border-color) {
            border-width: initial;
        }
        &:where([style*=border-top-color]) {
            border-top-width: medium;
        }
        &:where([style*=border-right-color]) {
            border-right-width: medium;
        }
        &:where([style*=border-bottom-color]) {
            border-bottom-width: medium;
        }
        &:where([style*=border-left-color]) {
            border-left-width: medium;
        }
        &:where([style*=border-style]) {
            border-width: initial;
        }
        &:where([style*=border-top-style]) {
            border-top-width: medium;
        }
        &:where([style*=border-right-style]) {
            border-right-width: medium;
        }
        &:where([style*=border-bottom-style]) {
            border-bottom-width: medium;
        }
        &:where([style*=border-left-style]) {
            border-left-width: medium;
        }
    }
}
.wp-block-buttons:not(.is-content-justification-space-between,
.is-content-justification-right,.is-content-justification-left,
.is-content-justification-center) .wp-block-button.aligncenter {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link {
    text-decoration: inherit;
}
.wp-block-button.aligncenter,.wp-block-calendar {
    text-align: center;
}

.emulsion{
    /**
    * name: core/buttons
    * global style
    wp-block-buttons : block spacing (gap)
    wp-block-button : padding, radius,
    */
    :not(.wp-block-buttons) > .wp-block-button{
        width:-moz-fit-content;
        width:fit-content;
        margin-left:.75rem;
        min-width:6rem;
    }
    &.is-presentation-theme{
        .wp-block-buttons{
            padding:0 var(--wp--custom--padding--content, 0.75rem);
        }
    }
    .wp-block-buttons{
        display:flex;
        gap:var(--wp--custom--margin--gap);
        align-items: stretch;
        overflow:visible;

        &.alignfull{
            padding:0 var(--wp--custom--padding--content, 0.75rem);
        }
        &.is-layout-flex{
            flex-wrap:wrap;
        }
        .wp-block-button:not(.has-custom-width){
            width:-moz-fit-content;
            width:fit-content;
            text-align:left;
        }
        .wp-block-button{
            padding:0;
            .wp-block-button__link{
                display:inline-block;
                width:100%;
                &:empty{
                    display:none;
                }
            }
            &.is-style-outline{
                a{
                    padding: calc(var(--wp--custom--padding--content, 0.75rem) / 2 - 2px) calc(var(--wp--custom--padding--content, 0.75rem) - 2px);
                }
            }
            &.wp-block-button__width-25{
                flex-basis:calc( 25% - var(--wp--style--block-gap, .75rem) * 4);
                width:calc( 25% - var(--wp--style--block-gap, .75rem) * 4);
                margin:0;
            }
            &.wp-block-button__width-50{
                flex-basis:calc(50% - var(--wp--style--block-gap, .75rem) * 4);
                width:calc(50% - var(--wp--style--block-gap, .75rem) * 4);
                margin:0;
            }
            &.wp-block-button__width-75{
                flex-basis:calc( 75% - var(--wp--style--block-gap, .75rem) * 4);
                width:calc( 75% - var(--wp--style--block-gap, .75rem) * 4);
                margin:0;
            }
            &.wp-block-button__width-100{
                flex-basis:calc( 100% - var(--wp--style--block-gap, .75rem) * 4 );
                width:calc( 100% - var(--wp--style--block-gap, .75rem) * 4 );
                margin:0;
            }
        }
        &.is-vertical:not(#specificity){
            width:-moz-fit-content;
            width:fit-content;
            .wp-block-button{
                &.wp-block-button__width-25{
                    flex-basis:calc( 25% - var(--wp--style--block-gap, .75rem) * 4);
                    width:calc( 25% - var(--wp--style--block-gap, .75rem) * 4);
                    margin:0;
                }
                &.wp-block-button__width-50{
                    flex-basis:calc(50% - var(--wp--style--block-gap, .75rem) * 4);
                    width:calc(50% - var(--wp--style--block-gap, .75rem) * 4);
                    margin:0;
                }
                &.wp-block-button__width-75{
                    flex-basis:calc( 75% - var(--wp--style--block-gap, .75rem) * 4);
                    width:calc( 75% - var(--wp--style--block-gap, .75rem) * 4);
                    margin:0;
                }
                &.wp-block-button__width-100{
                    flex-basis:calc( 100% - var(--wp--style--block-gap, .75rem) * 4 );
                    width:calc( 100% - var(--wp--style--block-gap, .75rem) * 4 );
                    margin:0;
                }
                .wp-block-button__link{
                    min-width:9.125rem;
                }
            }
            &.alignleft{
                margin-right:.75rem;
                margin-left:var(--wp--custom--padding--content,.75rem);
            }
            &.alignright{
                margin-right:var(--wp--custom--padding--content,.75rem);
                margin-left:.75rem;
            }
        }
        &.is-style-has-shadow{
            .wp-block-button{
                .wp-block-button__link{
                    filter: var(--thm_filter_shadow, drop-shadow(3px 3px 3px rgba(0,0,0,0.3)));
                }
                .wp-block-button__link:active{
                    filter:none;
                }
            }
        }
        &.alignleft:not(.specificity),
            &.alignright:not(.specificity){
            @media screen and (max-width: 40rem) {
                float:none;
                width:auto;
                clear:both;
            }
        }
    }

    /**
    * name: core/heading
    */

    .wp-block-heading:is(h1,h2,h3,h4,h5,h6){
        &.alignfull{
            padding:0 var(--wp--custom--padding--content,.75rem);
        }
    }

    /**
    * name: core/file
    */

    .wp-block-file{
        display:block;
        margin:var(--wp--custom--margin--block);
        a{
            display:inline-block;
            width:-moz-fit-content;
            width:fit-content;
            padding:.375rem .75rem;
            margin:0 0 0 0.75rem;
            text-align:left;
            background-color: var(--wp--custom--color--button-bg);
            border-radius: var(--wp--custom--border--radius);
            color: var(--wp--custom--color--button-text);
            &:empty{
                display:none;
            }
        }
    }

    /**
    * name: core/post-comments-form
    */

    .form-submit [type="submit"]{
        width:auto;
    }
    /*
    * Theme align
    * must last for cascading
    */

    .alignwide{

        width:var(--wp--style--global--wide-size, 57.5rem);
        margin:var(--wp--custom--margin--block);


        &:where(ul,ol){
            &.is-style-list-style-inline{
                padding-left:var(--wp--custom--padding--content,.75rem);
            }
            &.is-layout-flex,
            &.is-grid,
            &.is-layout-grid{
                padding:0;
            }
        }
    }
    .alignfull{
        &:where(ul,ol){
            &.is-style-list-style-inline{
                padding-left:var(--wp--custom--padding--content,.75rem);
            }
        }
    }
    .is-layout-constrained > .is-style-new-line{
        position:static;
        & ~ :where(h1,h2,h3,h4,h5,h6,p) {
            position: static;
        }
        & ~ :where(ul,ol){
            position:static;
            &:not(.alignleft):not(.alignright){
                width:var(--wp--style--global--content-size, 45rem );
            }

        }
    }
    .alignright{
        & ~ :where(h1,h2,h3,h4,h5,h6,p) {
            position: static;
        }
        &:where(ul,ol){
            &.is-style-list-style-inline{
                padding-left:var(--wp--custom--padding--content,.75rem);
            }
        }
    }
    .alignleft{
        &:is(ul,ol){
            &.is-style-list-style-inline{
                padding-left:var(--wp--custom--padding--content,.75rem);
            }
        }
    }
}

/**
* Minimal kindness for posts written in old editors
*/

.no-block{
    h1,h2,h3,h4,h5,h6,p,ul,ol{

        width: min(100%, var(--wp--style--global--content-size));
    }

    img{
        display:block;
        height: auto;
    }
}

/**
* header
*/
/**
* Position fse-header/fse-header-content post-header/post-header-content
*/

.wp-block-site-logo{

    &:where(:not([class*="align"])){
        padding:0 0 0 var(--wp--preset--spacing--40);
        margin:0;
        width:-moz-fit-content;
        width:fit-content;
    }
    img{
        display:block;
        height:revert;
    }
    a{
        width:auto;
        width:-moz-fit-content;
        width:fit-content;
    }
    &.is-default-size{
        width:4rem;
        padding:0;
        img{
            max-width:100%;
            height:auto;
        }
    }
}
.wp-block-site-tagline,
.wp-block-site-title,
.wp-block-site-logo{
    width:-moz-fit-content;
    width:fit-content;
}
.bbpress{
    .header-layer.fse-header{
        overflow:hidden;
    }
}



/**
* Accesibility
*/

.home:not(.paged){
    .header-layer{
        .wp-block-site-title a{
            text-decoration: none;
            pointer-events: none;
            cursor: default;
        }
    }
}

/**
* name: core/media-text
*/

.wp-block-media-text{
    display: grid;
    grid-template-areas: "media-text-media media-text-content";
    grid-template-rows: auto;
    grid-template-rows: 2;
    grid-template-columns: 50% 50%;
    align-items: center;

    .wp-block-media-text__media{
        position:relative;
        width:100%;
        height:100%;
        overflow:hidden;
        margin:0;

        &[style^="background-image"]{
            img{
                display:block;
                height:100%;
                visibility:hidden;
            }
            & > a{
                display:block;
                height:100%;
            }
        }
        & > a{
            position:absolute;
            top:50%;
            left:50%;
            width:100%;
            transform: translate(-50%, -50%);
        }
        & > img{
            position:absolute;
            top:50%;
            left:50%;
            width:100%;
            max-height: 100%;
            transform: translate(-50%, -50%);
        }
        &:before{
            z-index:-1;
            display:block;
            height:0;
            padding-bottom:56.25%;
            content:'';
        }
    }
    &.is-vertically-aligned-top{
        figure:not([style^="background-image"]){
            & > img,
            & > a{
                top: 0;
                left: 50%;
                transform: translate(-50%, 0);
            }
        }
    }
    &.is-vertically-aligned-bottom{
        figure:not([style^="background-image"]){
            & > img,
            & > a{
                top:auto;
                bottom: 0;
                left: 0;
                transform: none;
            }
        }
    }
    .wp-block-media-text__content{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-right:0;
        padding-left:0;
        overflow:hidden;
        p{
            margin-bottom:0;
        }
        p:last-child{
            margin-bottom: calc(1rem * var(--wp--custom--line-height--common));
        }
        .wp-block-table{
            padding-right:var(--wp--custom--padding--content);
            padding-left:var(--wp--custom--padding--content);
            overflow-x:auto;
            overflow-y:hidden;
        }
        ul,ol{
            padding-left:min(15%, 1.5rem);
            @media screen and ( max-width : 48rem ) {
                padding-left: clamp( 2rem, calc( 100vw / 72 ), calc(2.5rem + var(--wp--custom--padding--content, .75rem)));
            }
            li{
                padding-left:0;
            }
        }
        h1{
            font-size:xx-large;
        }
        h2{
            font-size:x-large;
        }
        h3{
            font-size:large;
        }
        h4{
            font-size:medium;
        }
        h5{
            font-size:small;
        }
        h6{
            font-size:x-small;
        }
    }
    &.has-media-on-the-right {
        grid-template-areas: "media-text-content media-text-media";
        grid-template-columns: 50% 50%;
    }
}


/**
* name: core/latest-posts
*/

.wp-block-latest-posts{

    overflow-wrap: break-word;
    &.wp-block-latest-posts__list{
        padding-left: clamp(2rem, calc(100vw / 36), calc(2.5rem + var(--wp--custom--padding--content,.75rem)));
        list-style:decimal;
    }

    .wp-block-latest-posts__post-title{
        display:block;
        margin:var(--wp--custom--margin--block);
        font-family:var(--wp--preset--font-family--system-font);
        font-size: var(--wp--preset--font-size--medium);
        font-weight:700;
        line-height: var(--wp--custom--line-height--heading,1.15);
        text-decoration:none;
        text-transform: var(--wp--custom--text-transform--heading);

        &:first-child:last-child{
            margin:.375rem;
        }
    }

    &.is-grid{
        display:flex;
        flex-wrap:wrap;
        padding:0;
        &.alignfull{
            padding-left:0;
        }
        @for $i from 1 through 5 {
            &.columns-#{$i}{
                li{
                    flex:1 1 auto;
                    width: calc( 99.9% / #{$i} - var(--wp--style--block-gap, .75rem));
                    @media screen and ( max-width : 40rem ) {
                        width:100%;
                    }
                    .wp-block-latest-posts__post-title{
                        display:block;
                        margin:var(--wp--custom--margin--block);
                    }
                }
            }
        }
        padding:0;
        list-style:none;
        @media screen and ( max-width : 40rem ) {
            &:not(.specificity){
                max-width:calc(100% - var(--wp--custom--padding--content) * 2);
            }
        }
        li{
            margin:0;
            border: var(--wp--custom--border--common,1px solid #ccc);
            padding: var(--wp--custom--padding--content, .75rem);
            list-style-type:none;
            .wp-block-latest-posts__featured-image{

            }
        }
    }
}

/**
* name: core/list
*/

.is-tpl-single-with-toc_template{
    .wp-block-post-content{
        & > .is-style-inline,
        & > .is-style-list-style-inline:not(.specificity){
            margin-right:auto;
            margin-left:auto;
        }
    }
}
.block-editor-block-list__layout{
    /* only editor */
    &.wp-block-list{
        &.alignleft,
        &.alignright{
            li{
                width:auto;
            }
        }
        li{
            margin:0;
        }
    }
    &.is-style-list-style-inline{
        li{
            width:-moz-fit-content;
            width:fit-content;
        }
    }
}

/**
* name: core/post-title
*/

.layout{
    /* classic */
    .sticky{
        .entry-title{
            position:relative!important;
            &:before{
                position:relative;
                display:inline-block;
                font-size:1.15rem;
                color:currentColor;
                vertical-align:top;
                content:'\1f4cc';
            }
        }
    }
}
.main-query{

    /**
    * Sticky Post
    */

    .sticky{
        .wp-block-post-title{
            position:relative!important;
            &:before{
                position:relative;
                display:inline-block;
                font-size:1.15rem;
                color:currentColor;
                vertical-align:top;
                content:'\1f4cc';
            }
        }
    }
}

.emulsion{
    &.fse-scheme-grid-midnight,
    &.fse-scheme-grid{
        .wp-block-query{
            .wp-block-post-title{
                margin-top:var(--wp--custom--margin--top);
            }
        }
    }
}

/**
* name: core/verse
*/

pre.wp-block-verse{
    overflow:visible;
    padding:0 .75rem;
}


/**
* name: core/preformatted
*/

.wp-block-preformatted{
    padding:0 .75rem;
    &.alignleft:not(.specificity),
        &.alignright:not(.specificity){
        @media screen and (max-width: 40rem) {
            float:none;
            width:auto;
            clear:both;
        }
    }
}

/**
* name: core/social-links
*/

.wp-block-social-links{
    margin-top:1.5rem;
    &.has-icon-background-color{
        background:transparent;
    }
    .wp-block-social-link{
        width:-moz-fit-content;
        width:fit-content;
    }
    &.is-style-pill-shape:not(.specificity){
        width:-moz-fit-content;
        width:fit-content;
    }
}
.wp-block-social-links .wp-social-link{
    padding:0;
    button{
        padding:0;
        margin:0;
        &:before{
            display:none!important;
        }
    }
}
ul.wp-block-social-links{
    &:not(.alignleft):not(.alignright){
        float:none;
        clear:both;
    }
    display:flex;
    margin: 1.5rem auto .75rem;
    &.is-vertical{
        flex-direction:column;
    }
    &.is-content-justification-space-between{
        justify-content: space-between;
    }
    &.is-content-justification-left{
        justify-content: flex-start;
    }
    &.is-content-justification-center{
        align-items: center;
        justify-content: center;
    }
    &.is-content-justification-right{
        align-items: flex-end;
        justify-content: flex-end;
    }
    .wp-block-social-link-anchor{
        min-width:1rem;
    }
    &.alignleft{
        justify-content: flex-end;
    }
    &.has-huge-icon-size{
        &.is-style-pill-shape{
            .wp-social-link{
                width:calc( 1rem * 8 );
                height:calc( 1rem * 8 );
            }
        }
        .wp-social-link{
            width:calc( 1rem * 4 );
            height:calc( 1rem * 4 );
            a{
                svg{
                    width:calc(1rem * 3);
                    height:calc(1rem * 3);
                }
            }
        }
    }
    &.has-large-icon-size{
        &.is-style-pill-shape{
            .wp-social-link{
                width:calc( 1rem * 6 );
                height:calc( 1rem * 6 );
            }
        }
        .wp-social-link{
            width:calc( 1rem * 3 );
            height:calc( 1rem * 3 );
            a{
                svg{
                    width:calc(1rem * 2);
                    height:calc(1rem * 2)
                }
            }
        }
    }
    &.has-normal-icon-size{
        &.is-style-pill-shape{
            .wp-social-link{
                width:calc( 1rem * 4 );
                height:calc( 1rem * 4 );
            }
        }
        .wp-social-link{
            width:calc( 1rem * 2 );
            height:calc( 1rem * 2 );
        }
    }
    &.has-small-icon-size{
        &.is-style-pill-shape{
            .wp-social-link{
                width:calc( 1rem * 3 );
                height:calc( 1rem * 3 );
            }
        }
        .wp-social-link{
            width:calc( 1rem * 1.3 );
            height:calc( 1rem * 1.3 );
        }
    }
    &.has-visible-labels{
        .wp-social-link{
            width:-moz-fit-content;
            width:fit-content;
            height:auto;
            .wp-block-social-link-label{
                white-space:pre;
            }
        }
    }
    .wp-social-link{
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width:calc( 1rem * 2 );
        height:calc( 1rem * 2 );
        padding:0;
        margin:0;
        text-align:center;
        list-style:none;
        a{
            background:transparent;
            svg{
                width:1rem;
                height:auto;
                fill: var(--wp--social-links--icon-color,#fff);
            }
        }
    }
    &:not(.has-icon-background-color){
        &:not(.has-icon-color){
            .wp-social-link-chain {
                color:var(--thm_social_icon_color, #666);
                border: 2px solid rgba(188,188,188,.5);
                a{
                    svg{
                        fill:var(--thm_social_icon_color, #666);
                    }
                }
            }
        }
    }
    &.is-style-logos-only{
        &:not(.has-icon-color){
            .wp-social-link{
                /* gutenberg deactivated WordPress 5.6 */
                a{
                    svg{
                        fill:var(--thm_social_icon_color, #666);
                    }
                }
            }
        }
        .wp-block-social-link.wp-social-link-chain {
            border:none;
        }
    }
}

/**
* name: core/post-comments
*/

.wp-block-comment-template .is-layout-flex,
.wp-block-comments-pagination.is-layout-flex {
    align-items: center;
    justify-content: flex-start;
}
body.emulsion :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    .wp-block-comment-edit-link,
    .wp-block-comment-reply-link{
        display:inline-block;
        width:-moz-fit-content;
        width:fit-content;
    }
    .wp-block-comment-date{
        display:inline-block;
        width:-moz-fit-content;
        width:fit-content;
    }
}
.wp-block-post-comments{
    .wp-list-comments{
        padding:0;
    }
    .trackback,
    .pingback,
    .comment{
        margin-bottom:var(--wp--style--block-gap, .75rem);
        list-style:none;
    }
    .paginate-comment-links{
        a{
            padding:var(--wp--custom--padding--content,.75rem);
            &.page-numbers{
                border:var(--wp--custom--border--common,1px solid #ccc);
            }
        }
        .current{
            padding:var( --wp--custom--padding--content, .75rem );
            border:var(--wp--custom--border--common);
        }
    }
    .comment-respond{
        overflow:auto;
    }

}
.comment-wrapper{
    .comment-form,
    .wp-block-post-comments-form{
        margin:auto;
        .comment-form-cookies-consent{
            display:flex;
            input{
                width:48px;
            }
        }
    }
}
.comment-wrapper{
    overflow:hidden;
}

/**
* name: core/code
*/

.is-layout-constrained > .wp-block-code:not([class*="align"]){
    margin-left:max(1px, calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
    margin-right:max(1px,calc(50% - var(--wp--style--global--content-size) / 2 )) !important;
}
.emulsion{
    .wp-block-code{

        overflow-x:auto;


        &.alignleft,
        &.alignright{
            @media screen and ( max-width : 40rem ) {
                width: 100%;
                padding: 0 var(--wp--custom--padding--content, 0.75rem);
                margin-right: auto;
                margin-left: auto;
            }
        }
        code{
            position:relative;
            width:100%;
            padding:var(--wp--custom--padding--content);
            color:inherit;
            tab-size:var(--wp--custom--tab-size--default);
            white-space:pre;
            border:none;
        }
        &.is-style-dark{
            background:#002B36;
            color:#eee;
        }
    }
}
pre.wp-block-code{
    overflow-x:auto;
    overflow-y:hidden;
}

/**
* name: core/post-author-biography
*/

.wp-block-post-author-biography{
    padding:var( --wp--custom--padding--content, .75rem );
}
.wp-block-post-author{
    display:inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap:nowrap;
    align-items: flex-start;
    width:auto;
    .wp-block-post-author__avatar{
        display:inline-block;
        flex: 0 0 auto;
        align-items: baseline;
        justify-content: center;
        margin:0;
        img{
            display:inline;
            height:auto;
            vertical-align:bottom;
        }
        .avatar-24{
            width:24px;
            height:24px;
        }
        .avatar-48{
            width:48px;
            height:48px;
        }
        .avatar-96{
            width:96px;
            height:96px;
        }
    }
    .wp-block-post-author__content{
        flex:1 1 auto;
        width:auto;
        padding:0;
        margin:0;
    }
    .wp-block-post-author__name{
        display:inline;
        white-space:pre;
        margin: 0;
        vertical-align:bottom;
    }
    .wp-block-post-author__byline{
        display:inline;
        vertical-align:bottom;
    }
    .wp-block-post-author__byline{
        display:none;
    }
}
/**
* name: core/spacer
*/

.emulsion{
    div.wp-block-spacer{
        margin:var(--wp--custom--margin--container);
        .block-library-spacer__resize-container{
            background:rgba(0,0,0,.1);
        }
    }
}



/**
* bbpress
*/

div.wp-editor-container{
    /* bbpress */
    width:90%;
}
div.bbp-submit-wrapper{
    float:none;
}

/**
* WordPress.com Editing Toolkit
*/

.wp-block-newspack-blocks-carousel{
    .post-thumbnail{
        width:auto;
    }
    .entry-title{
        margin:auto;
    }
}
@media only screen and (min-width: 40rem) {
    ul.wp-block-jetpack-timeline.is-alternating .wp-block-jetpack-timeline-item {
        width: calc(50% - 99px);
    }
}
.wp-block-jetpack-timeline.wp-block-jetpack-timeline{
    padding:revert;
}
.wp-block-jetpack-timeline li.wp-block-jetpack-timeline-item .timeline-item__bubble{
    height:2px;
    background:#ccc;
}
.wp-block-jetpack-timeline li.wp-block-jetpack-timeline-item .timeline-item:after {
    width: 2px;
    background: #ccc;
}
.wp-block-newspack-blocks-homepage-articles{
    [data-posts]{
        article{
            display:flex;
            flex-direction:column;

        }
    }
}

/**
* AMP
*/

[amp]{
    .emulsion{
        .post-header-content{
            .posted-on{
                .wp-block-post-author{
                    line-height:1.5;
                    .wp-block-post-author__avatar amp-img{
                        display:inline-block;
                    }
                }
            }
        }
        .wp-block-post-comments .comment-form textarea{
            border-color: var(--thm_common_border,rgba(188,188,188,.5));
            border-style: var(--thm_common_border_style, solid);
            border-width: var(--thm_common_border_width, 1px );
        }
        .wp-block-template-part{
            &.post-footer{
                width:100%;
            }
            &.footer-layer a{
                background:transparent;
            }
        }
        .form-submit [type="submit"]{
            color:#fff;
            background:#000;
        }
        .breadcrumbs{
            box-sizing:border-box;
            padding-right:var( --wp--custom--padding--content, .75rem );
            padding-left:var( --wp--custom--padding--content, .75rem );

        }
        article footer .editor{
            box-sizing:border-box;
            display:block;
            padding-right:var( --wp--custom--padding--content, .75rem );
            padding-left:var( --wp--custom--padding--content, .75rem );

        }
        .wp-block-categories-dropdown{
            width:auto;
        }
        &.is-tpl-single-with-toc_template{
            .column-toc{
                display:none;
            }
        }
        .wp-block-gallery[data-amp-carousel="true"]{

            amp-carousel{
                width:100%;
            }
        }
    }
}

/**
* name: core/rss
*/

@for $i from 2 through 6 {
    ul.wp-block-rss.is-grid.columns-#{$i} li{
        flex:1 1 auto;
        width:calc(100% / #{$i} - var( --wp--custom--padding--content, .75rem ) * #{$i} );
        margin:0 !important;
        border: var(--wp--custom--border--common,1px solid #ccc);
    }
}
.emulsion{
    ul.wp-block-rss.is-grid{
        display:flex;
        flex-wrap:wrap;
        list-style:none;
        padding:0;

        @media screen and ( max-width : 40rem ) {
            display:flex;
            width:calc(100% - var( --wp--custom--padding--content, .75rem ) * 2 );
            .wp-block-rss__item{
                width:100%;
            }
        }
    }
}
.wp-block-rss__item{
    padding:var( --wp--custom--padding--content, .75rem );
}
.wp-block-rss__item-title{
    width:auto;
    a{
        display:block;
        width:auto;
        margin:var(--wp--custom--margin--block);

        font-family: var(--wp--preset--font-family--system-font);
        font-size: var(--wp--preset--font-size--medium);
        font-weight:700;
        line-height: var(--wp--custom--line-height--heading, 1.15);
        text-decoration:none;
        text-transform: var(--wp--custom--text-transform--heading);
    }

}

a.wp-block-read-more{
    display:inline-block;
    width:-moz-fit-content;
    width:fit-content;
    padding:var(--wp--custom--padding--content, .75rem);

}
.wp-block-post-comments-link{
    width:auto;
    padding:0 var(--wp--custom--padding--content, .75rem);
}

.wp-block-post-content:not(.specificity){
    .wp-block-post-comments-link,
    .wp-block-post-author,
    .wp-block-post-date{
        box-sizing:border-box;
        display:flex;
        justify-content:flex-start;
        margin:var(--wp--custom--margin--container);
    }

}

/**
* Password form
*/


.emulsion{
    .theme-message{
        box-sizing: border-box;
        display: block;
        float: none;
        width: calc(var(--thm_content_width, 45rem) - var(--thm_align_offset, 12.5rem));
        max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
        padding:0;
        margin: 1.5rem auto;
        overflow:auto;
        clear: both;
        border:var(--wp--custom--border--common);
        .post-password-form{
            box-sizing: border-box;
            padding:0;
            margin: auto;
            .message{
                position:relative;
                padding:0 0 0 2rem;
                &:before{
                    position:absolute;
                    left:var( --wp--custom--padding--content, .75rem );
                    display:inline-block;
                    width:1.5rem;
                    height:1.5rem;
                    vertical-align:middle;
                    content:' ';
                    background: url("../images/svg/lock.svg#alert") no-repeat 50% 50%;
                    background-size:contain;
                    -webkit-mask-size: contain;
                    mask-size: contain;
                }
            }
            p:empty,
                br{
                display:none;
            }
            [type="password"]{
                max-width:50vw;
            }
        }
    }
}

/**
* Columns Class
*/

.emulsion{
    @for $i from 1 through 6 {
        .columns-#{$i}{
            li{
                flex:1 1 auto;
                width: calc( 99.9% / #{$i} - var(--wp--style--block-gap, .75rem));
                /*   @media screen and ( max-width : 40rem ) {
                       width:100%;
                   }*/

                @media screen and ( max-width : 40rem ) {
                    display:block;
                    width: 100%;
                }
            }
        }
    }
}

/**
* Site Editor
*/

/**
* name: core/comments-query-loop
*/

.comment-wrapper{
    background:var(--wp--custom--color--comments-bg);
    & > .wp-block-group{

    }
    .wp-block-comments-query-loop{
        margin-block-start:0;
        padding:0;
        .wp-block-comment-template{
            .wp-block-columns{
                overflow:visible;
            }
        }
        .wp-block-column{
            .wp-block-comment-author-name{
                padding:0 var( --wp--custom--padding--content, .75rem );
            }
            & > .is-layout-flex:not(.specificity){

                align-items: center;
                margin:auto;
            }
        }
        .comment-respond{
            padding:0;
            .comment-form{
                width:100%;
            }
        }
        .wp-block-comment-edit-link{
            padding:.375rem .75rem;
            margin:0 .75rem;
        }
    }
    .wp-list-comments{
        .comment-edit-link{
            padding:.375rem .75rem;
        }
    }
    /* classic */
    .comment-form{
        input,
        textarea{
            box-sizing: border-box;
            display: block;
            width: 100%;
        }
    }
}

/**
* name: core/comments-pagination
*/


.wp-block-comments-pagination{

    .wp-block-comments-pagination-next,
    .wp-block-comments-pagination-previous{
        border:var(--wp--custom--border--common);
    }
    .wp-block-comments-pagination-numbers{

        a, span{
            border:var(--wp--custom--border--common);
        }
    }
}

ol {
    &.wp-block-latest-comments {
        box-sizing: border-box;
        margin-left: 0;
    }
}

.has-dates :where(.wp-block-latest-comments:not([style*=line-height])),.has-excerpts :where(.wp-block-latest-comments:not([style*=line-height])) {
    line-height: 1.5;
}
.wp-block-latest-comments {
    .wp-block-latest-comments {
        padding-left: 0;
    }
}
.wp-block-latest-comments__comment {
    list-style: none;
    margin-bottom: 1em;
}
.has-avatars {
    .wp-block-latest-comments__comment {
        list-style: none;
        min-height: 2.25em;
    }
}
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
    margin-left: 3.25em;
}
.wp-block-latest-comments__comment-excerpt {
    p {
        font-size: .875em;
        margin: .36em 0 1.4em;
    }
}
.wp-block-latest-comments__comment-date {
    display: block;
    font-size: .75em;
}
.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar {
    border-radius: 1.5em;
    display: block;
    float: left;
    height: 2.5em;
    margin-right: .75em;
    width: 2.5em;
}
.wp-block-latest-comments[class*=-font-size] a,.wp-block-latest-comments[style*=font-size] a {
    font-size: inherit;
}


ol.wp-block-latest-comments{
    &.has-avatars{
        .wp-block-latest-comments__comment{
            article{
                margin-left:3.25rem;
                .wp-block-latest-comments__comment-excerpt,
                .wp-block-latest-comments__comment-meta{
                    margin-left:0;
                }
            }
        }
    }
}

/**
* name: core/loginout
*/

.logged-out.wp-block-loginout,
.logged-in.wp-block-loginout{
    a{
        display:inline-block;
    }
}

/**
* name: core/search
*/

.wp-block-search__button{
    margin-left:10px;
    word-break:normal;
}
.wp-block-search__button.has-icon{
    line-height:0;
}
.wp-block-search__button svg{
    height:1.25em;
    min-height:24px;
    min-width:24px;
    width:1.25em;
    fill:currentColor;
    vertical-align:text-bottom;
}

:where(.wp-block-search__button){
    border:1px solid #ccc;
    padding:6px 10px;
}

.wp-block-search__inside-wrapper{
    display:flex;
    flex:auto;
    flex-wrap:nowrap;
    max-width:100%;
}

.wp-block-search__label{
    width:100%;
}

.wp-block-search__input{
    -webkit-appearance:initial;
    appearance:none;
    border:1px solid #949494;
    flex-grow:1;
    margin-left:0;
    margin-right:0;
    min-width:3rem;
    padding:8px;
    text-decoration:unset !important;
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button{
    flex-shrink:0;
    margin-left:0;
    max-width:100%;
}
.wp-block-search.wp-block-search__button-only .wp-block-search__button[aria-expanded=true]{
    max-width:calc(100% - 100px);
}
.wp-block-search.wp-block-search__button-only .wp-block-search__inside-wrapper{
    min-width:0 !important;
    transition-property:width;
}
.wp-block-search.wp-block-search__button-only .wp-block-search__input{
    flex-basis:100%;
    transition-duration:.3s;
}
.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden,.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper{
    overflow:hidden;
}
.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden .wp-block-search__input{
    border-left-width:0 !important;
    border-right-width:0 !important;
    flex-basis:0;
    flex-grow:0;
    margin:0;
    min-width:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    width:0 !important;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){
    border:1px solid #949494;
    box-sizing:border-box;
    padding:4px;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{
    border:none;
    border-radius:0;
    padding:0 4px;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input:focus{
    outline:none;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) :where(.wp-block-search__button){
    padding:4px 8px;
}

.wp-block-search.aligncenter .wp-block-search__inside-wrapper{
    margin:auto;
}

.wp-block[data-align=right] .wp-block-search.wp-block-search__button-only .wp-block-search__inside-wrapper{
    float:right;
}

.wp-block-search{

    margin:var(--wp--custom--margin--block);

    .wp-block-search__label{
        display:block;
        padding:0 .75rem;
    }
    .wp-block-search__inside-wrapper{
        padding:0;
        .wp-block-search__input{
            width:auto;
            min-width:6rem;

            padding:calc( var(--wp--custom--padding--content, 0.75rem) / 2);
            text-align:left;
            border:var(--wp--custom--border--common);
        }
        .wp-block-search__button{
            width:auto;
            padding:calc( var(--wp--custom--padding--content, 0.75rem) / 2);
            white-space:pre;
        }
    }

    @media screen and ( max-width : 26.25rem ) {
        .wp-block-search__inside-wrapper[style]:not(#specificity){
            width:100%!important;
        }
    }
}

/**
* name: core/navigation
*/

.emulsion{
    .wp-block-navigation{
        margin:0 auto;
        &.wp-block{
            max-width:100%;
        }
        .wp-block-navigation-item{
            flex:0 1 auto;
            min-width:9.375rem;
            padding:.3rem .75rem;
            a{
                width:-moz-fit-content;
                width:fit-content;
            }
        }

        &.fse-primary{
            margin-top:0;
            margin-bottom:0;
            font-size:var( --wp--preset--font-size--small );
            .wp-block-navigation__container{
                padding-top:.75rem;
                padding-bottom:.75rem;
                li{
                    min-width:120px;
                }

            }
        }
        .has-modal-open .wp-block-navigation__responsive-close{
            max-width:100%;
        }
        .wp-block-navigation__responsive-container-open{
            padding:.75rem;
        }
    }
}
.is-root-container{
    .wp-block-navigation-item{
        width:auto;
    }
}

/**
* name: core/page-list
*/

.wp-block-navigation{
    .is-menu-open{
        .wp-block-page-list{
            li{
                width:100%;
                &.has-child{
                    .wp-block-navigation__submenu-container{
                        width:100%;
                    }
                }
            }
        }
    }
    .wp-block-navigation__responsive-container-close + .wp-block-navigation__responsive-container-content{
        .wp-block-navigation__container{
            padding:0;
            .wp-block-page-list{
                padding:0;
            }
        }
    }

    .wp-block-navigation__container{
        padding:0;
        &.is-vertical{
            .wp-block-page-list{
                display:block;
                .wp-block-pages-list__item{
                    display:list-item;
                    padding:.375rem;
                    .wp-block-pages-list__item__link{
                        display:inline-block;
                    }
                    .wp-block-navigation__submenu-container{
                        padding:0;
                        .wp-block-pages-list__item{
                            padding:.375rem;
                        }
                    }
                }
            }
        }
    }
    .wp-block-page-list{
        --navigation-layout-wrap:wrap;
        flex-wrap: wrap;
        gap:3px;
        padding:0;
        .wp-block-pages-list__item{
            flex:1 1 auto;
            padding:.375rem;
            border:var(--wp--custom--border--common);
            .wp-block-navigation__submenu-container{
                padding:0;
                .wp-block-pages-list__item{
                    padding:.375rem;
                }
            }
        }
    }
}

/**
* name: core/post-time-to-read
*/

.wp-block-post-time-to-read{

    &:before{
        margin-right:.25rem;
        content:'\23f2';
    }
}

/**
* .counter
*/

.counter{
    border:var(--wp--custom--border--common);
    &:empty{
        display:none ! important;
    }
}
.counter.badge{
    display:inline-block;
    min-width:1.3rem;
    padding:0;
    margin:0;
    font-size:var(--wp--preset--font-size--small);
    text-align:center;
    &.circle{
        border-radius:9999px;
    }
    & > *{
        display:inline-block;
        padding:0;
        margin:0;
    }
    &:before{
        position:absolute;
        padding:3px 3px 3px;
    }
    &:empty:before,
        &:empty{
        display:none;
    }
}
.typography-block-support-panel .single-column {
    grid-column: 1 / -1;
}

/**
* .is-layout-constrained,
*/

.emulsion .wp-block-post-content.is-layout-constrained{

    table{
        @media screen and (max-width: 48rem){
            width:-moz-fit-content;
            width:fit-content;
            min-width:calc(100% - var(--wp--custom--padding--content) * 2);
            margin:auto;
        }
    }
    .theme-message,
    .wp-block-table,
    .dropdown-on-click,
    .dropdown-on-hover,
    .emulsion-panel,
    blockquote,
    form,
    pre,
    figure,
    fieldset{
        @media screen and (max-width: 48rem){
            width:calc( var(--wp--style--global--content-size, 45rem) - var(--wp--custom--padding--content,.75rem) * 2);
        }
    }
    .is-layout-grid{
        @media screen and (max-width: 48rem){
            figure{
                max-width:100%;
            }
        }
    }
    .wp-block-post-featured-image,
    figure:not(.has-nested-images) .wp-block-image{
        @media screen and (max-width: 40rem){
            width:100%;
        }
    }



}
.emulsion.fse-scheme-grid{
    .wp-block-query > ul{
        @media screen and (max-width: 48rem){
            width:calc( var(--wp--style--global--content-size, 45rem) - var(--wp--custom--padding--content,.75rem) * 2);
            max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
        }
    }
}

/**
* .is-layout-flow
*/

.emulsion{
    /* Exception in theme.json */
    .wp-block-group.emulsion-pattern-magic-layout{

        & > .wp-block-image{


            &.alignleft{
                padding:0;

            }
            &.alignright{
                padding:0;
            }
        }

    }
    .is-layout-constrained{
        & > button,
        & > button,
        & > select,
        & > input,
        & > textarea{
            padding-top:var(--wp--preset--spacing--40);
            padding-bottom:var(--wp--preset--spacing--40);
        }
    }
    &.has-emulsion-base-layout-apply-globaly .wp-block-column,
    .is-layout-default,
    .is-layout-flow:not(.is-root-container),
        .is-style-layout-flow,
        .is-style-fluid-children,
        .has-fluid-children{
        & > *:not([class*="align"]){
            width:auto;
        }

        & > .wp-block-post-author-name,
        & > button,
        & > select,
        & > input,
        & > textarea{

            display:inline-block;
            width:initial;
            padding-top:var(--wp--preset--spacing--40);
            padding-bottom:var(--wp--preset--spacing--40);
            margin:initial;
        }
        & > .wp-block-site-logo{
            display:inline-block;

            width:initial;
            padding:var(--wp--custom--padding--content);
            margin:initial;
        }

        & > .wp-block-image{
            .components-resizable-box__container{
                img{
                    margin:auto;
                }
            }
            &:not(.alignleft):not(.alignright){
                background: var(--wp--custom--color--featured-image-bg);
            }
            &.alignleft{
                padding:0;

            }
            &.alignright{
                padding:0;

            }

        }

    }
}

.emulsion:not(#specificity){
    .is-layout-default:not(.is-root-container),
        .is-layout-flow:not(.is-root-container),
        .is-style-layout-flow:not(.is-layout-flex):not(.is-flex-container):not(.is-layout-grid),
        .is-style-fluid-children:not(.is-layout-flex):not(.is-flex-container):not(.is-layout-grid),
        .is-style-layout-flow.is-vertical,
        .has-fluid-children{
        & > *{

            --wp--custom--width--float:calc(50% - var(--wp--style--block-gap) * 2);
            --wp--custom--margin--alignleft:var(--wp--style--block-gap);
            --wp--custom--margin--alignright:var(--wp--style--block-gap);
            position:static;
        }
        .is-layout-flex,
        .wp-block-rss.is-grid,
        .wp-block-latest-posts  *{
            --wp--custom--width--float:calc(50% - var(--wp--style--block-gap) * 2);
            --wp--custom--margin--alignleft:var(--wp--style--block-gap);
            --wp--custom--margin--alignright:var(--wp--style--block-gap);
            .is-grid{
                padding-left:0;
            }

            &.wp-block-gallery{
                display:flex;
                .wp-block-image{
                    margin:0;
                    img{
                        margin:0;
                    }
                }
            }
            .has-background:not(ul,ol){
                padding-left:var(--wp--style--block-gap);
            }
            .fse-header-text{
                margin:0;
            }
        }
        .wp-block-social-links{
            li{
                width:auto;
            }
        }
        & > .is-style-shrink{
            width:100%;
        }

        .wp-block-image:where(:not(.alignleft):not(.alignright)){
            text-align:center;
        }
    }
}

.emulsion{
    .wp-block-template-part{
        &.is-style-layout-wide{

            width:auto;

            & > *:not(.alignfull){
                width:var(--wp--style--global--wide-size, 57.5rem);
            }
            .archive-title,
            .post-header-content,
            .fse-header-content,
            .wp-block-comment-template .wp-block-columns,
            .wp-block-comment-template,
            .wp-block-post-featured-image img{
                width:var(--wp--style--global--wide-size, 57.5rem);
            }
            .wp-block-query-title,
            .post-footer,
            .wp-block-comments-title,
            .taxsonomy,
            .posted-on,
            .wp-block-post-title{
                width:auto;
            }
        }
    }
}


/**
* .is-layout-grid
* extremely experimental
*/
.is-layout-grid{

    @for $i from 1 through 6 {
        &.columns-#{$i}{
            display:grid;
            grid-template-columns: repeat(#{$i}, minmax(calc(100% / #{$i} - var(--wp--style--block-gap) * 2), 1fr));
            width:var(--wp--style--global--content-size);

            & > li{
                display:grid;
                margin:0;
                padding:0;
                width:auto;

            }
            .block-editor-block-list__block.wp-block-post-featured-image{
                width:auto;
            }
            &.alignfull{
                width:var(--wp--custom--width--full);
            }
            &.alignwide{
                width:var(--wp--style--global--wide-size);
            }
        }
    }

}

@media (max-width: 37.5rem){
    #emulsion .is-layout-grid{
        &.wp-block-group,
        &.wp-block-post-template{
            &[class*="columns-"]{
                grid-template-columns: repeat(auto-fit, minmax(calc(100% / 1), 1fr));
                li{
                    grid-column: span 1;
                    grid-row: span 1;
                }
                & > *{
                    grid-column: span 1 !important;
                    grid-row: span 1 !important;
                }
                figure{
                    max-width:100%;
                }
            }
        }
    }
}

@for $i from 1 through 6 {
    .editor-styles-wrapper .wp-block-post-template.columns-#{$i}{
        display:grid;
        grid-template-columns: repeat(#{$i}, minmax(0, 1fr));
        width:var(--wp--style--global--content-size);
        padding-left:0 !important;

        & > li{
            width:auto;
            margin:0;
            display:grid;
            padding:0;
            article{
                width:100%;
                .wp-block-post-excerpt{
                    margin:1.5rem auto;
                }
            }
        }

        &.alignfull{
            width:var(--wp--custom--width--full);
        }
        &.alignwide{
            width:var(--wp--style--global--wide-size);
        }
        @media (max-width: 40rem){

            grid-template-columns: repeat(1, minmax(0, 1fr));

            figure{
                max-width:100%;
            }
        }
        &.alignfull{
            width:calc(100% - var(--wp--style--block-gap) * 2);
        }

    }
    .is-layout-grid.columns-#{$i}{
        display:grid;
        grid-template-columns: repeat(#{$i}, minmax(0, 1fr));
        width:var(--wp--style--global--content-size);
        &.alignfull{
            width:var(--wp--custom--width--full);
        }
        &.alignwide{
            width:var(--wp--style--global--wide-size);
        }
        @media (max-width: 40rem){

            display:flex;
            flex-direction: column;

            figure{
                max-width:100%;
            }
        }
        &.alignfull{
            width:calc(100% - var(--wp--style--block-gap) * 2);
        }


    }
}
.main:first-child:last-child{

    .main-query{
        @for $i from 1 through 6 {
            .is-layout-grid.columns-#{$i}{

                display:grid!important;
                grid-template-columns: repeat(#{$i}, minmax(calc(100% / #{$i} - var(--wp--style--block-gap) * 2), 1fr));
                width:var(--wp--style--global--content-size);
                &.alignfull{
                    width:var(--wp--custom--width--full);
                }
                &.alignwide{
                    width:var(--wp--style--global--wide-size);
                }

                @media (max-width: 37.5rem){
                    grid-template-columns: repeat(auto-fit, minmax(calc(100% / 1), 1fr));
                    li{
                        grid-column: span 1;
                        grid-row: span 1;
                    }
                    figure{
                        max-width:100%;
                    }
                }
            }
        }
    }
}
.emulsion .is-layout-grid{
    .has-post-thumbnail .loop-item{
        margin:0!important;
        .wp-block-post-featured-image,
        .post-header{
            width:100%!important;
            overflow:hidden;
        }
    }
    li{
        width:auto;
        margin-bottom:0!important;

        .loop-item{
            height:100%;

            .wp-block-post-title{
                margin-left:0;
                margin-right:0;
                font-size:revert;

            }
        }
    }
}

.wp-block-group{
    &.gallery-light-box .wp-block-gallery{
        margin-top:var(--wp--style--block-gap, .75rem);
        margin-bottom:var(--wp--style--block-gap, .75rem);
    }
}
.emulsion{
    .emulsion-cta-block{
        overflow:hidden;
        .wp-block-group{
            overflow:hidden;
        }
        .wp-block-image{
            margin-top:0;
        }
        .wp-block-buttons:not(.specificity){

        }
    }
}
.has-drop-cap:not(:focus)::first-letter {
    display:inline-block;
    float: left;
    padding:0 .7rem .4rem;
    margin: .4rem .5rem 0 0;
    font-size: 3rem;
    line-height: 1;
    text-transform: uppercase;
}

.search-no-results  .wp-block-query-no-results,
.error404 .wp-block-query-no-results{
    position:relative;
    display:block;
    width:100%;
}

.logged-in .debug{
    border:1px solid red ! important;
}
.emulsion-hook-name{
    padding:.75rem;
    color:#000 ! important;
    background:#EEF296 ! important;
}
.components-popover__content form{
    width:auto;
}
.interface-interface-skeleton__sidebar{
    overflow-x:hidden;
    overflow-y:auto;
}
.edit-site-template-card * {
    width: auto;
}
.single.on-scroll .is-position-sticky{
    top:100px;
}

.single.emulsion .article-wrapper{
    overflow:visible;
}

.editor-styles-wrapper{

    h1,h2,h3,h4,h5,h6,p,ul,ol{
        width: min(100%, var(--wp--style--global--content-size));
    }
    pre.wp-block{
        width: min(100%, var(--wp--style--global--content-size));
    }
    .wp-block-comments-query-loop.wp-block,
    .post-footer.wp-block,
    main.wp-block{
        /* template editor */
        width:100%;
    }
    .wp-block-post-comments-form.wp-block{
        margin:1.5rem auto;
    }
    .wp-block-details-summary{
        margin:0;
    }
}
.emulsion .wp-block-details{
    max-width:calc( 100% - var(--wp--custom--padding--content,.75rem) * 2);
}
.edit-site-sidebar-navigation-screen__title-icon .components-button.is-primary{
    min-width:-moz-fit-content;
    min-width:fit-content;
}
[data-projection-id][style]:not(#specificity){
    background-image:revert!important;
}
#editor{
    .edit-post-meta-boxes-area__container{
        form{
            margin:auto;
        }
    }
}
.is-layout-flex.alignfull.has-sidebar-widget-area,
.wp-block-template-part-post-content.alignfull,
main.alignfull.is-layout-constrained{
    overflow:visible;
}

.emulsion-addons-inactive{
    .relate-posts-wrapper{
        display:none!important;
    }
}
.commands-command-menu__container{
    mark{
        padding:0;
        margin:0;
    }
}

.wp-block-group.is-layout-flex:where(:not(.banner):not(.fse-header-text):not(.post-header-content)){
    /* core pattern */
    align-items: center;

    .wp-block-site-tagline,
    .wp-block-site-title{
        width:auto;
        margin:auto 0;
    }
}

.is-presentation-fse .block-editor-hooks__layout-controls-helptext:after{
    /*@since emulsion 2.8.1 */
    display:none;
}
.widgets-php{
    .wp-block-widget-area{
        width:var(--wp--style--global--content-size);
    }
}
.wp-video-playlist .mejs-overlay-button{
    width:auto;
}

.wp-block-template-part{
    width:100%;
}
.wp-lightbox-overlay .wp-block-image {
    justify-content: flex-start;
}
.wp-lightbox-overlay .wp-block-image img {
    width: var(--wp--lightbox-image-width);
    min-width: var(--wp--lightbox-image-width);
    height: var(--wp--lightbox-image-height);
    min-height: var(--wp--lightbox-image-height);
}

/**
 * Calendar
 */
.wp-block-button.aligncenter,.wp-block-calendar{
    text-align:center;
}
.wp-block-calendar td,.wp-block-calendar th{
    border:1px solid;
    padding:.25em;
}
.wp-block-calendar th{
    font-weight:400;
}
.wp-block-calendar caption{
    background-color:inherit;
}
.wp-block-calendar table{
    border-collapse:collapse;
    width:100%;
}
.wp-block-calendar table:where(:not(.has-text-color)){
    color:var(--wp--preset--color--contrast);
}
.wp-block-calendar table:where(:not(.has-text-color)) td,
.wp-block-calendar table:where(:not(.has-text-color)) th{
    border-color:var(--wp--preset--color--border-color);
}
.wp-block-calendar table.has-background th{
    background-color:inherit;
}
.wp-block-calendar table.has-text-color th{
    color:inherit;
}
.wp-block-calendar{
    aspect-ratio: 16 / 9;
    .wp-calendar-table{
        height:100%;
    }
    .wp-calendar-nav,
    caption{
        padding:var(--wp--custom--padding--content);
    }
    tr td{
        border-color:var(--wp--preset--color--border-color);
    }
}

/**
 * core/navigation
 */
/*----------------------------------------------------------------------------*/

$color_1: inherit;
$color_2: currentColor;
$color_3: #000;
$font-family_1: inherit;
$background-color_1: inherit;
$background-color_2: initial;
$background-color_3: #fff;

@keyframes overlay-menu__fade-in-animation {
    0% {
        opacity: 0;
        transform: translateY(.5em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.wp-block-navigation {
    position: relative;
    --navigation-layout-justification-setting: flex-start;
    --navigation-layout-direction: row;
    --navigation-layout-wrap: wrap;
    --navigation-layout-justify: flex-start;
    --navigation-layout-align: center;
    ul {
        margin-bottom: 0;
        margin-left: 0;
        margin-top: 0;
        padding-left: 0;
        list-style: none;
        padding: 0;
        li {
            list-style: none;
            padding: 0;
        }
    }
    .wp-block-navigation-item {
        align-items: center;
        display: flex;
        position: relative;
        background-color: $background-color_1;
        .wp-block-navigation__submenu-container {
            &:empty {
                display: none;
            }
        }
    }
    .wp-block-navigation-item__content {
        display: block;
    }
    .wp-block-navigation-item__content.wp-block-navigation-item__content {
        color: $color_1;
    }
    &:where(:not([class*=has-text-decoration])) {
        a {
            text-decoration: none;
            &:active {
                text-decoration: none;
            }
            &:focus {
                text-decoration: none;
            }
        }
    }
    .wp-block-navigation__submenu-icon {
        align-self: center;
        background-color: $background-color_1;
        border: none;
        color: $color_2;
        display: inline-block;
        font-size: inherit;
        height: .6em;
        line-height: 0;
        margin-left: .25em;
        padding: 0;
        width: .6em;
        svg {
            display: inline-block;
            stroke: currentColor;
            height: inherit;
            margin-top: .075em;
            width: inherit;
        }
    }
    .has-child {
        .wp-block-navigation__submenu-container {
            align-items: normal;
            background-color: $background-color_1;
            color: $color_1;
            display: flex;
            flex-direction: column;
            height: 0;
            left: -1px;
            opacity: 0;
            overflow: hidden;
            position: absolute;
            top: 100%;
            transition: opacity .1s linear;
            visibility: hidden;
            width: 0;
            z-index: 2;
            >.wp-block-navigation-item {
                >.wp-block-navigation-item__content {
                    display: flex;
                    flex-grow: 1;
                    .wp-block-navigation__submenu-icon {
                        margin-left: auto;
                        margin-right: 0;
                    }
                }
            }
            .wp-block-navigation-item__content {
                margin: 0;
            }
        }
        .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container {
            height: auto;
            min-width: 200px;
            opacity: 1;
            overflow: visible;
            visibility: visible;
            width: auto;
        }
        &:not(.open-on-click) {
            &:hover {
                >.wp-block-navigation__submenu-container {
                    height: auto;
                    min-width: 200px;
                    opacity: 1;
                    overflow: visible;
                    visibility: visible;
                    width: auto;
                }
            }
            &:not(.open-on-hover-click) {
                &:focus-within {
                    >.wp-block-navigation__submenu-container {
                        height: auto;
                        min-width: 200px;
                        opacity: 1;
                        overflow: visible;
                        visibility: visible;
                        width: auto;
                    }
                }
            }
        }
    }
    .wp-block-page-list {
        gap: inherit;
        align-items: var(--navigation-layout-align, initial);
        background-color: $background-color_1;
        display: flex;
        flex-direction: var(--navigation-layout-direction, initial);
        flex-wrap: var(--navigation-layout-wrap, wrap);
        justify-content: var(--navigation-layout-justify, initial);
    }
    &:not(.has-background) {
        .wp-block-navigation__submenu-container {
            background-color: $background-color_3;
            border: 1px solid #00000026;
        }
        .wp-block-navigation__responsive-container.is-menu-open {
            background-color: $background-color_3;
        }
    }
    &:not(.has-text-color) {
        .wp-block-navigation__submenu-container {
            color: $color_3;
        }
        .wp-block-navigation__responsive-container.is-menu-open {
            color: $color_3;
        }
    }
    .wp-block-navigation-item__label {
        overflow-wrap: break-word;
    }
    .wp-block-navigation-item__description {
        display: none;
    }
}
.wp-block-navigation.has-text-decoration-underline {
    .wp-block-navigation-item__content {
        text-decoration: underline;
        &:active {
            text-decoration: underline;
        }
        &:focus {
            text-decoration: underline;
        }
    }
}
.wp-block-navigation.has-text-decoration-line-through {
    .wp-block-navigation-item__content {
        text-decoration: line-through;
        &:active {
            text-decoration: line-through;
        }
        &:focus {
            text-decoration: line-through;
        }
    }
}
.wp-block-navigation.is-vertical {
    --navigation-layout-direction: column;
    --navigation-layout-justify: initial;
    --navigation-layout-align: flex-start;
}
.wp-block-navigation.no-wrap {
    --navigation-layout-wrap: nowrap;
}
.wp-block-navigation.items-justified-center {
    --navigation-layout-justification-setting: center;
    --navigation-layout-justify: center;
}
.wp-block-navigation.items-justified-center.is-vertical {
    --navigation-layout-align: center;
}
.wp-block-navigation.items-justified-right {
    --navigation-layout-justification-setting: flex-end;
    --navigation-layout-justify: flex-end;
    .wp-block-navigation__container {
        .has-child {
            .wp-block-navigation__submenu-container {
                left: auto;
                right: 0;
                .wp-block-navigation__submenu-container {
                    left: -1px;
                    right: -1px;
                }
            }
        }
    }
    .wp-block-page-list {
        >.has-child {
            .wp-block-navigation__submenu-container {
                left: auto;
                right: 0;
                .wp-block-navigation__submenu-container {
                    left: -1px;
                    right: -1px;
                }
            }
        }
    }
}
.wp-block-navigation.items-justified-right.is-vertical {
    --navigation-layout-align: flex-end;
}
.wp-block-navigation.items-justified-space-between {
    --navigation-layout-justification-setting: space-between;
    --navigation-layout-justify: space-between;
    .wp-block-page-list {
        >.has-child {
            &:last-child {
                .wp-block-navigation__submenu-container {
                    left: auto;
                    right: 0;
                    .wp-block-navigation__submenu-container {
                        left: -1px;
                        right: -1px;
                    }
                }
            }
        }
    }
    >.wp-block-navigation__container {
        >.has-child {
            &:last-child {
                .wp-block-navigation__submenu-container {
                    left: auto;
                    right: 0;
                    .wp-block-navigation__submenu-container {
                        left: -1px;
                        right: -1px;
                    }
                }
            }
        }
    }
}
.wp-block-navigation.has-background {
    .has-child {
        .wp-block-navigation__submenu-container {
            left: 0;
            top: 100%;
        }
    }
    .wp-block-navigation__submenu-container {
        background-color: $background-color_1;
    }
}
.wp-block-navigation-submenu {
    display: flex;
    position: relative;
    .wp-block-navigation__submenu-icon {
        svg {
            stroke: currentColor;
        }
    }
}
button.wp-block-navigation-item__content {
    background-color: $background-color_2;
    border: none;
    color: $color_2;
    font-family: $font-family_1;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: left;
    text-transform: inherit;
}
.wp-block-navigation-submenu__toggle {
    cursor: pointer;
}
.wp-block-navigation-item.open-on-click {
    .wp-block-navigation-submenu__toggle {
        padding-left: 0;
        padding-right: .85em;
    }
    .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon {
        margin-left: -.6em;
        pointer-events: none;
    }
    button.wp-block-navigation-item__content {
        &:not(.wp-block-navigation-submenu__toggle) {
            padding: 0;
        }
    }
}
.wp-block-navigation__container {
    gap: inherit;
    align-items: var(--navigation-layout-align, initial);
    display: flex;
    flex-direction: var(--navigation-layout-direction, initial);
    flex-wrap: var(--navigation-layout-wrap, wrap);
    justify-content: var(--navigation-layout-justify, initial);
    list-style: none;
    margin: 0;
    padding-left: 0;
    .is-responsive {
        display: none;
    }
    &:only-child {
        flex-grow: 1;
    }
}
.wp-block-navigation__responsive-close {
    gap: inherit;
    width: 100%;
    &:focus {
        outline: none;
    }
}
.wp-block-navigation__responsive-container {
    gap: inherit;
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    &:where(.wp-block-navigation-item) {
        a{
            color: $color_1;
        }
    }
    .wp-block-navigation__responsive-container-content {
        align-items: var(--navigation-layout-align, initial);
        display: flex;
        flex-direction: var(--navigation-layout-direction, initial);
        flex-wrap: var(--navigation-layout-wrap, wrap);
        justify-content: var(--navigation-layout-justify, initial);
    }
    &:not(.is-menu-open.is-menu-open) {
        background-color: $background-color_1 !important;
        color: $color_1 !important;
    }
}
.wp-block-navigation__responsive-container-content {
    gap: inherit;
}
.wp-block-navigation__responsive-dialog {
    gap: inherit;
    position: relative;
}
&:where(.wp-block-navigation.has-background) {
    .wp-block-navigation-item {
        a:not(.wp-element-button) {
            padding: .5em 1em;
        }
    }
    .wp-block-navigation-submenu {
        a:not(.wp-element-button) {
            padding: .5em 1em;
        }
    }
}
&:where(.wp-block-navigation) {
    .wp-block-navigation__submenu-container {
        .wp-block-navigation-item {
            a:not(.wp-element-button) {
                padding: .5em 1em;
            }
        }
        .wp-block-navigation-submenu{
            a:not(.wp-element-button) {
                padding: .5em 1em;
            }
            button.wp-block-navigation-item__content{
                padding: .5em 1em;
            }
        }
        .wp-block-pages-list__item {
            button.wp-block-navigation-item__content {
                padding: .5em 1em;
            }
        }
    }
}
.wp-block-page-list {
    &:only-child {
        flex-grow: 1;
    }
}
.wp-block-navigation__responsive-container.is-menu-open {
    animation: overlay-menu__fade-in-animation .1s ease-out;
    animation-fill-mode: forwards;
    background-color: $background-color_1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: clamp(1rem, var(--wp--style--root--padding-top), 20rem) clamp(1rem, var(--wp--style--root--padding-right), 20rem) clamp(1rem, var(--wp--style--root--padding-bottom), 20rem) clamp(1rem, var(--wp--style--root--padding-left), 20em);
    z-index: 100000;
    .wp-block-navigation__responsive-container-content {
        align-items: var(--navigation-layout-justification-setting, inherit);
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow: visible;
        padding-top: calc(2rem + 24px);
        justify-content: flex-start;
        .wp-block-navigation__container {
            justify-content: flex-start;
            gap: inherit;
            align-items: var(--navigation-layout-justification-setting, initial);
            display: flex;
            flex-direction: column;
        }
        .wp-block-page-list {
            justify-content: flex-start;
            align-items: var(--navigation-layout-justification-setting, initial);
            display: flex;
            flex-direction: column;
        }
        .wp-block-navigation__submenu-icon {
            display: none;
        }
        .has-child {
            .wp-block-navigation__submenu-container {
                border: none;
                height: auto;
                min-width: 200px;
                opacity: 1;
                overflow: initial;
                padding-left: 2rem;
                padding-right: 2rem;
                position: static;
                visibility: visible;
                width: auto;
            }
        }
        .wp-block-navigation__submenu-container {
            gap: inherit;
            padding-top: var(--wp--style--block-gap, 2em);
        }
        .wp-block-navigation-item__content {
            padding: 0;
        }
        .wp-block-navigation-item {
            align-items: var(--navigation-layout-justification-setting, initial);
            display: flex;
            flex-direction: column;
        }
    }
    .wp-block-navigation-item {
        background: #0000 !important;
        color: $color_1 !important;
        .wp-block-navigation__submenu-container {
            background: #0000 !important;
            color: $color_1 !important;
        }
    }
    .wp-block-navigation__container {
        background: #0000 !important;
        color: $color_1 !important;
    }
    .wp-block-page-list {
        background: #0000 !important;
        color: $color_1 !important;
    }
    .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
        left: auto;
        right: auto;
    }
}
.wp-block-navigation__toggle_button_label {
    font-size: 1rem;
    font-weight: 700;
}
.wp-block-navigation__responsive-container-close {
    background: #0000;
    border: none;
    color: $color_2;
    cursor: pointer;
    margin: 0;
    padding: 0;
    text-transform: inherit;
    vertical-align: middle;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    svg {
        fill: currentColor;
        display: block;
        height: 24px;
        pointer-events: none;
        width: 24px;
    }
}
.wp-block-navigation__responsive-container-open {
    background: #0000;
    border: none;
    color: $color_2;
    cursor: pointer;
    margin: 0;
    padding: 0;
    text-transform: inherit;
    vertical-align: middle;
    display: flex;
    svg {
        fill: currentColor;
        display: block;
        height: 24px;
        pointer-events: none;
        width: 24px;
    }
}
.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
    font-family: $font-family_1;
    font-size: inherit;
    font-weight: inherit;
}
.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
    font-family: $font-family_1;
    font-size: inherit;
    font-weight: inherit;
}
.has-modal-open {
    .wp-block-navigation__responsive-close {
        margin-left: auto;
        margin-right: auto;
        max-width: var(--wp--style--global--wide-size, 100%);
    }
    .admin-bar {
        .is-menu-open {
            .wp-block-navigation__responsive-dialog {
                margin-top: 46px;
            }
        }
    }
}
.is-menu-open {
    .wp-block-navigation__responsive-close {
        box-sizing: border-box;
    }
    .wp-block-navigation__responsive-container-content {
        box-sizing: border-box;
    }
    .wp-block-navigation__responsive-dialog {
        box-sizing: border-box;
    }
}
html.has-modal-open {
    overflow: hidden;
}
.link-ui-tools {
    border-top: 1px solid #f0f0f0;
    padding: 8px;
}
.link-ui-block-inserter {
    padding-top: 8px;
}
.link-ui-block-inserter__back {
    margin-left: 8px;
    text-transform: uppercase;
}
.components-popover-pointer-events-trap {
    background-color: $background-color_2;
    cursor: pointer;
    inset: 0;
    position: fixed;
    z-index: 1000000;
}
@media (min-width:782px) {
    .wp-block-navigation {
        .has-child {
            .wp-block-navigation__submenu-container {
                .wp-block-navigation__submenu-container {
                    left: 100%;
                    top: -1px;
                    &:before {
                        background: #0000;
                        content: "";
                        display: block;
                        height: 100%;
                        position: absolute;
                        right: 100%;
                        width: .5em;
                    }
                }
                .wp-block-navigation__submenu-icon {
                    margin-right: .25em;
                    svg {
                        transform: rotate(-90deg);
                    }
                }
            }
        }
    }
    .wp-block-navigation.has-background {
        .has-child {
            .wp-block-navigation__submenu-container {
                .wp-block-navigation__submenu-container {
                    left: 100%;
                    top: 0;
                }
            }
        }
    }
    .wp-block-navigation.items-justified-right {
        .wp-block-navigation__container {
            .has-child {
                .wp-block-navigation__submenu-container {
                    .wp-block-navigation__submenu-container {
                        left: auto;
                        right: 100%;
                    }
                }
            }
        }
        .wp-block-page-list {
            >.has-child {
                .wp-block-navigation__submenu-container {
                    .wp-block-navigation__submenu-container {
                        left: auto;
                        right: 100%;
                    }
                }
            }
        }
    }
    .wp-block-navigation.items-justified-space-between {
        .wp-block-page-list {
            >.has-child {
                &:last-child {
                    .wp-block-navigation__submenu-container {
                        .wp-block-navigation__submenu-container {
                            left: auto;
                            right: 100%;
                        }
                    }
                }
            }
        }
        >.wp-block-navigation__container {
            >.has-child {
                &:last-child {
                    .wp-block-navigation__submenu-container {
                        .wp-block-navigation__submenu-container {
                            left: auto;
                            right: 100%;
                        }
                    }
                }
            }
        }
    }
    .has-modal-open {
        .admin-bar {
            .is-menu-open {
                .wp-block-navigation__responsive-dialog {
                    margin-top: 32px;
                }
            }
        }
    }
}
@media (prefers-reduced-motion:reduce) {
    .wp-block-navigation__responsive-container.is-menu-open {
        animation-delay: 0s;
        animation-duration: 1ms;
    }
}
@media (min-width:600px) {
    .wp-block-navigation__responsive-container {
        &:not(.hidden-by-default) {
            &:not(.is-menu-open) {
                background-color: $background-color_1;
                display: block;
                position: relative;
                width: 100%;
                z-index: auto;
                .wp-block-navigation__responsive-container-close {
                    display: none;
                }
            }
        }
    }
    .wp-block-navigation__responsive-container.is-menu-open {
        .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
            left: 0;
        }
    }
    .wp-block-navigation__responsive-container-open {
        &:not(.always-shown) {
            display: none;
        }
    }
}


/*----------------------------------------------------------------------------*/

$background-color_1: #5a5a5a40;
$background-color_2: #fff;

@keyframes turn-on-visibility {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes turn-off-visibility {
    0% {
        opacity: 1;
        visibility: visible;
    }
    99% {
        opacity: 0;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes lightbox-zoom-in {
    0% {
        transform: translate(calc((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position)), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
    }
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes lightbox-zoom-out {
    0% {
        transform: translate(-50%, -50%) scale(1);
        visibility: visible;
    }
    99% {
        visibility: visible;
    }
    to {
        transform: translate(calc((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position)), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
        visibility: hidden;
    }
}
.wp-lightbox-container {
    display: flex;
    flex-direction: column;
    position: relative;
    img {
        cursor: zoom-in;
        &:hover+button {
            opacity: 1;
        }
    }
    button {
        align-items: center;
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        backdrop-filter: blur(16px) saturate(180%);
        background-color: $background-color_1;
        border: none;
        border-radius: 4px;
        cursor: zoom-in;
        display: flex;
        height: 20px;
        justify-content: center;
        opacity: 0;
        padding: 0;
        position: absolute;
        right: 16px;
        text-align: center;
        top: 16px;
        transition: opacity .2s ease;
        width: 20px;
        z-index: 100;
        &:focus-visible {
            outline: 3px auto #5a5a5a40;
            outline: 3px auto -webkit-focus-ring-color;
            outline-offset: 3px;
        }
        &:hover {
            cursor: pointer;
            opacity: 1;
            background-color: $background-color_1;
            border: none;
        }
        &:focus {
            opacity: 1;
            background-color: $background-color_1;
            border: none;
        }
        &:not(:hover) {
            &:not(:active) {
                &:not(.has-background) {
                    background-color: $background-color_1;
                    border: none;
                }
            }
        }
    }
}
.wp-lightbox-overlay {
    box-sizing: border-box;
    cursor: zoom-out;
    height: 100vh;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 100000;
    .close-button {
        align-items: center;
        cursor: pointer;
        display: flex;
        justify-content: center;
        min-height: 40px;
        min-width: 40px;
        padding: 0;
        position: absolute;
        right: calc(env(safe-area-inset-right) + 16px);
        top: calc(env(safe-area-inset-top) + 16px);
        z-index: 5000000;
        &:focus {
            background: none;
            border: none;
        }
        &:hover {
            background: none;
            border: none;
        }
        &:not(:hover) {
            &:not(:active) {
                &:not(.has-background) {
                    background: none;
                    border: none;
                }
            }
        }
    }
    .lightbox-image-container {
        height: var(--wp--lightbox-container-height);
        left: 50%;
        overflow: hidden;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        transform-origin: top left;
        width: var(--wp--lightbox-container-width);
        z-index: 9999999999;
    }
    .wp-block-image {
        align-items: center;
        box-sizing: border-box;
        display: flex;
        height: 100%;
        justify-content: center;
        margin: 0;
        position: relative;
        transform-origin: 0 0;
        width: 100%;
        z-index: 3000000;
        img {
            height: var(--wp--lightbox-image-height);
            min-height: var(--wp--lightbox-image-height);
            min-width: var(--wp--lightbox-image-width);
            width: var(--wp--lightbox-image-width);
        }
        figcaption {
            display: none;
        }
    }
    button {
        background: none;
        border: none;
    }
    .scrim {
        background-color: $background-color_2;
        height: 100%;
        opacity: .9;
        position: absolute;
        width: 100%;
        z-index: 2000000;
    }
}
.wp-lightbox-overlay.active {
    animation: turn-on-visibility .25s both;
    visibility: visible;
    img {
        animation: turn-on-visibility .35s both;
    }
}
.wp-lightbox-overlay.show-closing-animation {
    &:not(.active) {
        animation: turn-off-visibility .35s both;
        img {
            animation: turn-off-visibility .25s both;
        }
    }
}
@media (prefers-reduced-motion:no-preference) {
    .wp-lightbox-overlay.zoom.active {
        animation: none;
        opacity: 1;
        visibility: visible;
        .lightbox-image-container {
            animation: lightbox-zoom-in .4s;
            img {
                animation: none;
            }
        }
        .scrim {
            animation: turn-on-visibility .4s forwards;
        }
    }
    .wp-lightbox-overlay.zoom.show-closing-animation {
        &:not(.active) {
            animation: none;
            .lightbox-image-container {
                animation: lightbox-zoom-out .4s;
                img {
                    animation: none;
                }
            }
            .scrim {
                animation: turn-off-visibility .4s forwards;
            }
        }
    }
}
.has-border-color{
    border-style:solid;
    border-width:initial;
}
/**
 * comments
 */
.wp-block-post-comments {
    box-sizing: border-box;
    .alignleft {
        float: left;
    }
    .alignright {
        float: right;
    }
    .navigation {
        &:after {
            clear: both;
            content: "";
            display: table;
        }
    }
    .commentlist {
        clear: both;
        list-style: none;
        margin: 0;
        padding: 0;
        .comment {
            min-height: 2.25em;
            padding-left: 3.25em;
            p {
                font-size: 1em;
                line-height: 1.8;
                margin: 1em 0;
            }
        }
        .children {
            list-style: none;
            margin: 0;
            padding: 0;
        }
    }
    .comment-author {
        line-height: 1.5;
        .avatar {
            border-radius: 1.5em;
            display: block;
            float: left;
            height: 2.5em;
            margin-right: .75em;
            margin-top: .5em;
            width: 2.5em;
        }
        cite {
            font-style: normal;
        }
    }
    .comment-meta {
        font-size: .875em;
        line-height: 1.5;
        b {
            font-weight: 400;
        }
        .comment-awaiting-moderation {
            display: block;
            margin-bottom: 1em;
            margin-top: 1em;
        }
    }
    .comment-body {
        .commentmetadata {
            font-size: .875em;
        }
    }
    .comment-form-cookies-consent {
        display: flex;
        gap: .25em;
        #wp-comment-cookies-consent {
            margin-top: .35em;
        }
    }
    .comment-reply-title {
        margin-bottom: 0;
        :where(small) {
            font-size: var(--wp--preset--font-size--medium, smaller);
            margin-left: .5em;
        }
    }
    .reply {
        font-size: .875em;
        margin-bottom: 1.4em;
    }
}
.wp-block-post-comments .comment-form-author label,.wp-block-post-comments .comment-form-comment label,
.wp-block-post-comments .comment-form-email label,.wp-block-post-comments .comment-form-url label {
    display: block;
    margin-bottom: .25em;
}
.wp-block-post-comments-form textarea,
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),
.wp-block-post-comments .comment-form textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
}
.wp-block-post-comments input:not([type=submit]),
.wp-block-post-comments textarea {
    border: 1px solid #949494;
    font-family: inherit;
    font-size: 1em;
}
.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),
.wp-block-post-comments textarea {
    padding: calc(.667em + 2px);
}
:where(.wp-block-post-comments) {
    input[type=submit] {
        border: none;
    }
}
.wp-block-comments-pagination>.wp-block-comments-pagination-next,
.wp-block-comments-pagination>.wp-block-comments-pagination-numbers,
.wp-block-comments-pagination>.wp-block-comments-pagination-previous {
    margin-bottom: .5em;
    margin-right: .5em;
}
.wp-block-comments-pagination>.wp-block-comments-pagination-next:last-child,
.wp-block-comments-pagination>.wp-block-comments-pagination-numbers:last-child,
.wp-block-comments-pagination>.wp-block-comments-pagination-previous:last-child {
    margin-right: 0;
}
.wp-block-comments-pagination {
    .wp-block-comments-pagination-previous-arrow {
        display: inline-block;
        margin-right: 1ch;
        &:not(.is-arrow-chevron) {
            transform: scaleX(1);
        }
    }
    .wp-block-comments-pagination-next-arrow {
        display: inline-block;
        margin-left: 1ch;
        &:not(.is-arrow-chevron) {
            transform: scaleX(1);
        }
    }
    &.aligncenter {
        justify-content: center;
    }
}
.wp-block-comment-template {
    box-sizing: border-box;
    list-style: none;
    margin-bottom: 0;
    max-width: 100%;
    padding: 0;
    li {
        clear: both;
    }
    ol {
        list-style: none;
        margin-bottom: 0;
        max-width: 100%;
        padding-left: 2rem;
    }
    &.alignleft {
        float: left;
    }
    &.aligncenter {
        margin-left: auto;
        margin-right: auto;
        width: -moz-fit-content;
        width: fit-content;
    }
    &.alignright {
        float: right;
    }
}

.wp-block-form-input__label {
    display: flex;
    flex-direction: column;
    gap: .25em;
    margin-bottom: .5em;
    width: 100%;
    &.is-label-inline {
        align-items: center;
        flex-direction: row;
        gap: .5em;
        .wp-block-form-input__label-content {
            margin-bottom: .5em;
        }
    }
    &:has(input[type=checkbox]) {
        flex-direction: row-reverse;
        width: -moz-fit-content;
        width: fit-content;
    }
}
.wp-block-form-input__label-content {
    width: -moz-fit-content;
    width: fit-content;
}
.wp-block-form-input__input {
    font-size: 1em;
    margin-bottom: .5em;
    padding: 0 .5em;
}
.wp-block-form-input__input[type=date],
.wp-block-form-input__input[type=datetime-local],
.wp-block-form-input__input[type=datetime],
.wp-block-form-input__input[type=email],
.wp-block-form-input__input[type=month],
.wp-block-form-input__input[type=number],
.wp-block-form-input__input[type=password],
.wp-block-form-input__input[type=search],
.wp-block-form-input__input[type=tel],
.wp-block-form-input__input[type=text],
.wp-block-form-input__input[type=time],
.wp-block-form-input__input[type=url],
.wp-block-form-input__input[type=week] {
    border: 1px solid;
    line-height: 2;
    min-height: 2em;
}
textarea {
    &.wp-block-form-input__input {
        min-height: 10em;
    }
}

.has-regular-font-size{
    font-size:1em;
}

.has-larger-font-size{
    font-size:2.625em;
}

.has-normal-font-size{
    font-size:var(--wp--preset--font-size--normal);
}

.has-huge-font-size{
    font-size:var(--wp--preset--font-size--huge);
}

.has-text-align-center{
    text-align:center;
}

.has-text-align-left{
    text-align:left;
}

.has-text-align-right{
    text-align:right;
}

#end-resizable-editor-section{
    display:none;
}

.aligncenter{
    clear:both;
}
/**
 *
 */
.wp-block-social-links {
    background: none;
    box-sizing: border-box;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    text-indent: 0;
    .wp-social-link {
        a {
            padding: .25em;
        }
        svg {
            height: 1em;
            width: 1em;
        }
        span {
            &:not(.screen-reader-text) {
                font-size: .65em;
                margin-left: .5em;
                margin-right: .5em;
            }
        }
    }
    &.has-small-icon-size {
        font-size: 16px;
    }
    &.has-large-icon-size {
        font-size: 36px;
    }
    &.has-huge-icon-size {
        font-size: 48px;
    }
    &.aligncenter {
        display: flex;
        justify-content: center;
    }
    &.alignright {
        justify-content: flex-end;
    }
    .wp-block-social-link {
        &.wp-social-link {
            margin: 0;
            padding: 0;
        }
    }
    &:not(.is-style-logos-only) {
        .wp-social-link {
            background-color: #f0f0f0;
            color: #444;
        }
        .wp-social-link-amazon {
            background-color: #f90;
            color: #fff;
        }
        .wp-social-link-bandcamp {
            background-color: #1ea0c3;
            color: #fff;
        }
        .wp-social-link-behance {
            background-color: #0757fe;
            color: #fff;
        }
        .wp-social-link-codepen {
            background-color: #1e1f26;
            color: #fff;
        }
        .wp-social-link-deviantart {
            background-color: #02e49b;
            color: #fff;
        }
        .wp-social-link-dribbble {
            background-color: #e94c89;
            color: #fff;
        }
        .wp-social-link-dropbox {
            background-color: #4280ff;
            color: #fff;
        }
        .wp-social-link-etsy {
            background-color: #f45800;
            color: #fff;
        }
        .wp-social-link-facebook {
            background-color: #1778f2;
            color: #fff;
        }
        .wp-social-link-fivehundredpx {
            background-color: #000;
            color: #fff;
        }
        .wp-social-link-flickr {
            background-color: #0461dd;
            color: #fff;
        }
        .wp-social-link-foursquare {
            background-color: #e65678;
            color: #fff;
        }
        .wp-social-link-github {
            background-color: #24292d;
            color: #fff;
        }
        .wp-social-link-goodreads {
            background-color: #eceadd;
            color: #382110;
        }
        .wp-social-link-google {
            background-color: #ea4434;
            color: #fff;
        }
        .wp-social-link-gravatar {
            background-color: #1d4fc4;
            color: #fff;
        }
        .wp-social-link-instagram {
            background-color: #f00075;
            color: #fff;
        }
        .wp-social-link-lastfm {
            background-color: #e21b24;
            color: #fff;
        }
        .wp-social-link-linkedin {
            background-color: #0d66c2;
            color: #fff;
        }
        .wp-social-link-mastodon {
            background-color: #3288d4;
            color: #fff;
        }
        .wp-social-link-medium {
            background-color: #02ab6c;
            color: #fff;
        }
        .wp-social-link-meetup {
            background-color: #f6405f;
            color: #fff;
        }
        .wp-social-link-patreon {
            background-color: #000;
            color: #fff;
        }
        .wp-social-link-pinterest {
            background-color: #e60122;
            color: #fff;
        }
        .wp-social-link-pocket {
            background-color: #ef4155;
            color: #fff;
        }
        .wp-social-link-reddit {
            background-color: #ff4500;
            color: #fff;
        }
        .wp-social-link-skype {
            background-color: #0478d7;
            color: #fff;
        }
        .wp-social-link-snapchat {
            background-color: #fefc00;
            color: #fff;
            stroke: #000;
        }
        .wp-social-link-soundcloud {
            background-color: #ff5600;
            color: #fff;
        }
        .wp-social-link-spotify {
            background-color: #1bd760;
            color: #fff;
        }
        .wp-social-link-telegram {
            background-color: #2aabee;
            color: #fff;
        }
        .wp-social-link-tumblr {
            background-color: #011835;
            color: #fff;
        }
        .wp-social-link-twitch {
            background-color: #6440a4;
            color: #fff;
        }
        .wp-social-link-twitter {
            background-color: #1da1f2;
            color: #fff;
        }
        .wp-social-link-vimeo {
            background-color: #1eb7ea;
            color: #fff;
        }
        .wp-social-link-vk {
            background-color: #4680c2;
            color: #fff;
        }
        .wp-social-link-wordpress {
            background-color: #3499cd;
            color: #fff;
        }
        .wp-social-link-whatsapp {
            background-color: #25d366;
            color: #fff;
        }
        .wp-social-link-x {
            background-color: #000;
            color: #fff;
        }
        .wp-social-link-yelp {
            background-color: #d32422;
            color: #fff;
        }
        .wp-social-link-youtube {
            background-color: red;
            color: #fff;
        }
    }
    &.is-style-logos-only {
        .wp-social-link {
            background: none;
            a {
                padding: 0;
            }
            svg {
                height: 1.25em;
                width: 1.25em;
            }
        }
        .wp-social-link-amazon {
            color: #f90;
        }
        .wp-social-link-bandcamp {
            color: #1ea0c3;
        }
        .wp-social-link-behance {
            color: #0757fe;
        }
        .wp-social-link-codepen {
            color: #1e1f26;
        }
        .wp-social-link-deviantart {
            color: #02e49b;
        }
        .wp-social-link-dribbble {
            color: #e94c89;
        }
        .wp-social-link-dropbox {
            color: #4280ff;
        }
        .wp-social-link-etsy {
            color: #f45800;
        }
        .wp-social-link-facebook {
            color: #1778f2;
        }
        .wp-social-link-fivehundredpx {
            color: #000;
        }
        .wp-social-link-flickr {
            color: #0461dd;
        }
        .wp-social-link-foursquare {
            color: #e65678;
        }
        .wp-social-link-github {
            color: #24292d;
        }
        .wp-social-link-goodreads {
            color: #382110;
        }
        .wp-social-link-google {
            color: #ea4434;
        }
        .wp-social-link-gravatar {
            color: #1d4fc4;
        }
        .wp-social-link-instagram {
            color: #f00075;
        }
        .wp-social-link-lastfm {
            color: #e21b24;
        }
        .wp-social-link-linkedin {
            color: #0d66c2;
        }
        .wp-social-link-mastodon {
            color: #3288d4;
        }
        .wp-social-link-medium {
            color: #02ab6c;
        }
        .wp-social-link-meetup {
            color: #f6405f;
        }
        .wp-social-link-patreon {
            color: #000;
        }
        .wp-social-link-pinterest {
            color: #e60122;
        }
        .wp-social-link-pocket {
            color: #ef4155;
        }
        .wp-social-link-reddit {
            color: #ff4500;
        }
        .wp-social-link-skype {
            color: #0478d7;
        }
        .wp-social-link-snapchat {
            color: #fff;
            stroke: #000;
        }
        .wp-social-link-soundcloud {
            color: #ff5600;
        }
        .wp-social-link-spotify {
            color: #1bd760;
        }
        .wp-social-link-telegram {
            color: #2aabee;
        }
        .wp-social-link-tumblr {
            color: #011835;
        }
        .wp-social-link-twitch {
            color: #6440a4;
        }
        .wp-social-link-twitter {
            color: #1da1f2;
        }
        .wp-social-link-vimeo {
            color: #1eb7ea;
        }
        .wp-social-link-vk {
            color: #4680c2;
        }
        .wp-social-link-whatsapp {
            color: #25d366;
        }
        .wp-social-link-wordpress {
            color: #3499cd;
        }
        .wp-social-link-x {
            color: #000;
        }
        .wp-social-link-yelp {
            color: #d32422;
        }
        .wp-social-link-youtube {
            color: red;
        }
    }
    &.is-style-pill-shape {
        .wp-social-link {
            width: auto;
            a {
                padding-left: .66667em;
                padding-right: .66667em;
            }
        }
    }
    &:not(.has-icon-color):not(.has-icon-background-color) {
        .wp-social-link-snapchat {
            .wp-block-social-link-label {
                color: #000;
            }
        }
    }
}
.wp-block-social-links .wp-social-link a,
.wp-block-social-links .wp-social-link a:hover {
    border-bottom: 0;
    box-shadow: none;
    text-decoration: none;
}
.wp-block-social-links,
.wp-block-social-links.has-normal-icon-size {
    font-size: 24px;
}
.wp-block-social-link {
    border-radius: 9999px;
    display: block;
    height: auto;
    transition: transform .1s ease;
    &:hover {
        transform: scale(1.1);
    }
}
@media (prefers-reduced-motion:reduce){
    .wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,
    .wp-block-cover__image-background.has-parallax,
    video.wp-block-cover__video-background.has-parallax{
        background-attachment:scroll;
    }
}
.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor,
.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor svg,
.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:active,
.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:hover,
.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:visited {
    color: currentColor;
    fill: currentColor;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-threads,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok {
    background-color: #000;
    color: #fff;
}
.wp-block-social-links.is-style-logos-only .wp-social-link-threads,
.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok {
    color: #000;
}

/**
 * screen-reader-text
 */

.screen-reader-text{
  border:0;
  clip:rect(1px, 1px, 1px, 1px);
  -webkit-clip-path:inset(50%);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
  word-wrap:normal !important;
}

.screen-reader-text:focus{
  background-color:#ddd;
  clip:auto !important;
  -webkit-clip-path:none;
          clip-path:none;
  color:#444;
  display:block;
  font-size:1em;
  height:auto;
  left:5px;
  line-height:normal;
  padding:15px 23px 14px;
  text-decoration:none;
  top:5px;
  width:auto;
  z-index:100000;
}