@charset "utf-8";

/*
 * File    : rwd-blocks.css
 * Author  : STUDIO-JT (KMS)
 *
 * SUMMARY :
 * 1680px
 * 1480px
 * 1200px
 * 1023px
 * 860px
 * 540px
 */



/* **************************************** *
 * 1680px
 * **************************************** */
@media (max-width: 1680px){

    /* VARIABLE */
    :root {
        /* TYPOGRAPHY */
        --wp--preset--font-size--jt-01: 50rem;
        --wp--preset--font-size--jt-02: 40rem;
        --wp--preset--font-size--jt-03: 28rem;
        --wp--preset--font-size--jt-04: 26rem;

        --wp--custom--typography--line-height--jt-01: 62rem;
        --wp--custom--typography--line-height--jt-02: 54rem;
        --wp--custom--typography--line-height--jt-03: 42rem;
        --wp--custom--typography--line-height--jt-04: 39rem;
    }

}



/* **************************************** *
 * 1480px
 * **************************************** */
@media (max-width: 1480px){

    /* VARIABLE */
    :root {
        /* TYPOGRAPHY */
        --wp--preset--font-size--jt-01: 44rem;
        --wp--preset--font-size--jt-02: 36rem;
        --wp--preset--font-size--jt-03: 26rem;
        --wp--preset--font-size--jt-04: 24rem;
        --wp--preset--font-size--jt-05: 20rem;

        --wp--custom--typography--line-height--jt-01: 54rem;
        --wp--custom--typography--line-height--jt-02: 48rem;
        --wp--custom--typography--line-height--jt-03: 39rem;
        --wp--custom--typography--line-height--jt-04: 36rem;
        --wp--custom--typography--line-height--jt-05: 32rem;
    }

}



/* **************************************** *
 * 1200px
 * **************************************** */
@media (max-width: 1200px){

    /* VARIABLE */
    :root {
        /* SPACING */
        --wp--preset--spacing--jt-xxsmall: 16rem;
        --wp--preset--spacing--jt-xsmall: 20rem;
        --wp--preset--spacing--jt-small: 28rem;
        --wp--preset--spacing--jt-medium: 32rem;
        --wp--preset--spacing--jt-large: 36rem;
        --wp--preset--spacing--jt-xlarge: 44rem;
        --wp--preset--spacing--jt-xxlarge: 65rem;
        --wp--preset--spacing--jt-xxxlarge: 100rem;

        /* TYPOGRAPHY */
        --wp--preset--font-size--jt-01: 40rem;
        --wp--preset--font-size--jt-02: 32rem;
        --wp--preset--font-size--jt-03: 24rem;
        --wp--preset--font-size--jt-04: 22rem;

        --wp--custom--typography--line-height--jt-01: 50rem;
        --wp--custom--typography--line-height--jt-02: 42rem;
        --wp--custom--typography--line-height--jt-03: 36rem;
        --wp--custom--typography--line-height--jt-04: 33rem;
    }

    /* LIST */
    .jt-blocks ul.wp-block-list > li:before { width: 5rem; height: 5rem; margin-top: -2.5rem; }

    /* BUTTONS */
    .jt-blocks .wp-block-button__link { padding-left: 43rem; padding-right: 43rem; }

    /* LIGHTBOX */
    .wp-lightbox-overlay .close-button { right: 26rem; top: 26rem; }

}



/* **************************************** *
 * 1023px
 * **************************************** */
@media (max-width: 1023px){

    /* VARIABLE */
    :root {
        /* SPACING */
        --wp--preset--spacing--jt-xxxsmall: 10rem;
        --wp--preset--spacing--jt-xxsmall: 14rem;
        --wp--preset--spacing--jt-xsmall: 18rem;
        --wp--preset--spacing--jt-small: 24rem;
        --wp--preset--spacing--jt-medium: 26rem;
        --wp--preset--spacing--jt-large: 32rem;
        --wp--preset--spacing--jt-xlarge: 38rem;
        --wp--preset--spacing--jt-xxlarge: 55rem;
        --wp--preset--spacing--jt-xxxlarge: 90rem;

        /* TYPOGRAPHY */
        --wp--preset--font-size--jt-01: 38rem;
        --wp--preset--font-size--jt-02: 30rem;
        --wp--preset--font-size--jt-03: 22rem;
        --wp--preset--font-size--jt-04: 21rem;

        --wp--custom--typography--line-height--jt-01: 48rem;
        --wp--custom--typography--line-height--jt-02: 40rem;
        --wp--custom--typography--line-height--jt-03: 33rem;
        --wp--custom--typography--line-height--jt-04: 32rem;
    }

    /* LIST */
    .jt-blocks ul.wp-block-list.has-jt-01-font-size > li:before { width: 9rem; height: 9rem; margin-top: -4.5rem; }
    .jt-blocks ul.wp-block-list.has-jt-02-font-size > li:before { width: 7rem; height: 7rem; margin-top: -3.5rem; }
    .jt-blocks ul.wp-block-list.has-jt-03-font-size > li:before { width: 6rem; height: 6rem; margin-top: -3rem; }
    .jt-blocks ul.wp-block-list.has-jt-04-font-size > li:before { width: 6rem; height: 6rem; margin-top: -3rem; }
    .jt-blocks ul.wp-block-list.has-jt-08-font-size > li:before { width: 4rem; height: 4rem; margin-top: -2rem; }

    /* BUTTONS */
    .jt-blocks .wp-block-buttons { gap: 8rem; }
    .jt-blocks .wp-block-button__link { padding: 9rem 35rem; }

    /* QUOTE */
    .jt-blocks .wp-block-quote.is-style-plain:before { width: 16rem; height: 12rem; }

    /* GALLERY */
    .jt-blocks .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { padding: var(--wp--preset--spacing--jt-xsmall); }

}



/* **************************************** *
 * 860px
 * **************************************** */
@media (max-width: 860px){

    /* VARIABLE */
    :root {
        /* CONTAINER */
        --wp--style--global--content-size: inherit;

        /* SPACING */
        --wp--preset--spacing--jt-xsmall: 16rem;
        --wp--preset--spacing--jt-small: 20rem;
        --wp--preset--spacing--jt-medium: 24rem;
        --wp--preset--spacing--jt-large: 28rem;
        --wp--preset--spacing--jt-xlarge: 32rem;
        --wp--preset--spacing--jt-xxlarge: 42rem;
        --wp--preset--spacing--jt-xxxlarge: 64rem;

        /* GAP */
        --wp--style--block-gap: var(--wp--preset--spacing--jt-small);

        /* TYPOGRAPHY */
        --wp--preset--font-size--jt-01: 36rem;
        --wp--preset--font-size--jt-03: 21rem;
        --wp--preset--font-size--jt-04: 20rem;
        --wp--preset--font-size--jt-05: 18rem;
        --wp--preset--font-size--jt-06: 16rem;
        --wp--preset--font-size--jt-07: 15rem;

        --wp--custom--typography--line-height--jt-01: 47rem;
        --wp--custom--typography--line-height--jt-03: 32rem;
        --wp--custom--typography--line-height--jt-04: 30rem;
        --wp--custom--typography--line-height--jt-05: 28rem;
        --wp--custom--typography--line-height--jt-06: 26rem;
        --wp--custom--typography--line-height--jt-07: 24rem;
    }

    /* LIST */
    .jt-blocks ul.wp-block-list > li { padding-left: 0.88em; }

    /* IMAGE */
    .jt-blocks .wp-block-image.wp-lightbox-container button { width: 38rem; height: 38rem; }
    .jt-blocks .wp-block-image.wp-lightbox-container button svg { width: 14rem; }

    /* LIGHTBOX */
    .wp-lightbox-overlay .close-button { width: 38rem; height: 38rem; right: 20rem; top: 20rem; }
    .wp-lightbox-overlay .close-button svg { width: 18rem; }

}



/* **************************************** *
 * 540px
 * **************************************** */
@media (max-width: 540px){

    /* VARIABLE */
    :root {
        /* SPACING */
        --wp--preset--spacing--jt-xxxsmall: 8rem;
        --wp--preset--spacing--jt-xxsmall: 12rem;
        --wp--preset--spacing--jt-xsmall: 14rem;
        --wp--preset--spacing--jt-small: 16rem;
        --wp--preset--spacing--jt-medium: 20rem;
        --wp--preset--spacing--jt-large: 24rem;
        --wp--preset--spacing--jt-xlarge: 28rem;
        --wp--preset--spacing--jt-xxlarge: 36rem;
        --wp--preset--spacing--jt-xxxlarge: 48rem;

        /* GAP */
        --wp--style--block-gap: var(--wp--preset--spacing--jt-xxsmall);

        /* TYPOGRAPHY */
        --wp--preset--font-size--jt-01: 32rem;
        --wp--preset--font-size--jt-02: 28rem;
        --wp--preset--font-size--jt-03: 20rem;
        --wp--preset--font-size--jt-04: 18rem;
        --wp--preset--font-size--jt-05: 16rem;
        --wp--preset--font-size--jt-06: 15rem;
        --wp--preset--font-size--jt-07: 14rem;
        --wp--preset--font-size--jt-08: 13rem;

        --wp--custom--typography--line-height--jt-01: 46rem;
        --wp--custom--typography--line-height--jt-02: 40rem;
        --wp--custom--typography--line-height--jt-03: 32rem;
        --wp--custom--typography--line-height--jt-04: 28rem;
        --wp--custom--typography--line-height--jt-05: 24rem;
        --wp--custom--typography--line-height--jt-06: 24rem;
        --wp--custom--typography--line-height--jt-08: 20rem;

        /* STYLES */
        --wp--custom--border--radius--jt-01: 12rem;
    }

    /* LIST */
    .jt-blocks .wp-block-list .wp-block-list { margin-left: 0.5em; }

    .jt-blocks ul.wp-block-list > li:before { width: 4rem; height: 4rem; margin-top: -2rem; }
    .jt-blocks ul.wp-block-list.has-jt-01-font-size > li:before { width: 8rem; height: 8rem; margin-top: -4rem; }
    .jt-blocks ul.wp-block-list.has-jt-02-font-size > li:before { width: 6rem; height: 6rem; margin-top: -3rem; }
    .jt-blocks ul.wp-block-list.has-jt-03-font-size > li:before { width: 5rem; height: 5rem; margin-top: -2.5rem; }
    .jt-blocks ul.wp-block-list.has-jt-04-font-size > li:before { width: 5rem; height: 5rem; margin-top: -2.5rem; }
    .jt-blocks ul.wp-block-list.has-jt-08-font-size > li:before { width: 3rem; height: 3rem; margin-top: -1.5rem; }

    /* BUTTONS */
    .jt-blocks .wp-block-buttons { gap: 6rem; }
    .jt-blocks .wp-block-button__link { padding: 8rem 28rem; }

    /* QUOTE */
    .jt-blocks .wp-block-quote:not(.is-style-plain):not(.has-text-align-center, .has-text-align-right) { border-left-width: 3rem; }
    .jt-blocks .wp-block-quote:not(.is-style-plain).has-text-align-right { border-right-width: 3rem; }
    
    .jt-blocks .wp-block-quote.is-style-plain { padding-top: 28rem; }
    .jt-blocks .wp-block-quote.is-style-plain:before { width: 14rem; height: 11rem; }

    /* TABLE */
    .jt-blocks .wp-block-table :is(th, td) { padding-right: var(--wp--preset--spacing--jt-xxxsmall); padding-left: var(--wp--preset--spacing--jt-xxxsmall); }
    .jt-blocks .wp-block-table :is(th, td):first-child { padding-left: var(--wp--preset--spacing--jt-small); }
    .jt-blocks .wp-block-table :is(th, td):last-child {padding-right: var(--wp--preset--spacing--jt-small);}

    .jt-blocks .wp-block-table figcaption { padding: 0 var(--wp--preset--spacing--jt-small); }

    /* IMAGE */
    .jt-blocks .wp-block-image.wp-lightbox-container button { width: 34rem; height: 34rem; right: 12rem !important; top: 12rem !important; }
    .jt-blocks .wp-block-image.wp-lightbox-container button svg { width: 12rem; }

    /* SEPARATOR */
    .jt-blocks .wp-block-separator:after { width: 100rem; }

    .jt-blocks .wp-block-separator.aligncenter:not(.is-style-wide):after { left: calc(50% - 50rem); }

    /* LIGHTBOX */
    .wp-lightbox-overlay .close-button { width: 34rem; height: 34rem; right: 15rem; top: 15rem; }
    .wp-lightbox-overlay .close-button svg { width: 16rem; }

}
