@charset "utf-8";

/*
 * File    : blocks.css
 * Author  : STUDIO-JT (KMS)
 *
 * SUMMARY:
 * VARIABLE
 * LAYOUT
 * OPTIONS
 * COLUMNS
 * PARAGRAPH
 * HEADING
 * LIST
 * BUTTONS
 * QUOTE
 * TABLE
 * IMAGE
 * GALLERY
 * VIDEO
 * EMBED
 * SEPARATOR
 * SPACER 
 * LIGHTBOX
 * CUSTOM
 * JT SLIDESHOW
 * JT MARQUEE
 * OVERWRITE
 * MIGRATE
 * HOVER
 */



/* **************************************** *
 * VARIABLE
 * **************************************** */
:root {
    /* CONTAINER */
    --wp--style--global--content-size: 800rem;
    --wp--style--global--wide-size: 1360rem;

    /* SPACING */
    --wp--preset--spacing--jt-xxsmall: 8rem;
    --wp--preset--spacing--jt-xsmall: 16rem;
    --wp--preset--spacing--jt-small: 30rem;
    --wp--preset--spacing--jt-medium: 32rem;
    --wp--preset--spacing--jt-large: 60rem;
    --wp--preset--spacing--jt-xlarge: 120rem;

    /* TYPOGRAPHY */
    --wp--preset--font-size--jt-01: 48rem;
    --wp--preset--font-size--jt-02: 30rem;
    --wp--preset--font-size--jt-03: 24rem;
    --wp--preset--font-size--jt-04: 21rem;
    --wp--preset--font-size--jt-05: 18rem;
    --wp--preset--font-size--jt-06: 17rem;
    --wp--preset--font-size--jt-07: 16rem;
    --wp--preset--font-size--jt-08: 15rem;
    --wp--preset--font-size--jt-09: 14rem;
    
    --wp--custom--typography--line-height--jt-01: 60rem;
    --wp--custom--typography--line-height--jt-02: 38rem;
    --wp--custom--typography--line-height--jt-03: 32rem;
    --wp--custom--typography--line-height--jt-04: 27rem;
    --wp--custom--typography--line-height--jt-05: 24rem;
    --wp--custom--typography--line-height--jt-06: 28rem;
    --wp--custom--typography--line-height--jt-07: 26rem;
    --wp--custom--typography--line-height--jt-08: 21rem;
    --wp--custom--typography--line-height--jt-09: 19rem;
    --wp--custom--typography--line-height--jt-10: 22rem;

    /* LAYOUT SHIFT FIX */
    --wp--style--unstable-gallery-gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 0.5em)));
}



/* **************************************** *
 * LAYOUT
 * **************************************** */
/* ALIGNMENT */
.jt-blocks > * { max-width: var(--wp--style--global--content-size); margin: 0 auto; }
.jt-blocks > *.alignwide { max-width: var(--wp--style--global--wide-size); }
.jt-blocks > *.alignfull { max-width: none; }

/* RESET */
.jt-blocks .is-layout-flow > *,
.jt-blocks .is-layout-constrained > * { margin-block-start: 0; }

.jt-blocks .is-layout-flow > .alignleft,
.jt-blocks .is-layout-constrained > .alignleft { margin-inline-end: 0; }

.jt-blocks .is-layout-flow > .alignright,
.jt-blocks .is-layout-constrained > .alignright { margin-inline-start: 0; }



/* **************************************** *
 * OPTIONS
 * **************************************** */
/* CUSTOM FONT-SIZE SUPPORT */
.jt-blocks .has-jt-01-font-size { line-height: var(--wp--custom--typography--line-height--jt-01) !important; }
.jt-blocks .has-jt-02-font-size { line-height: var(--wp--custom--typography--line-height--jt-02) !important; }
.jt-blocks .has-jt-03-font-size { line-height: var(--wp--custom--typography--line-height--jt-03) !important; }
.jt-blocks .has-jt-04-font-size { line-height: var(--wp--custom--typography--line-height--jt-04) !important; }
.jt-blocks .has-jt-05-font-size { line-height: var(--wp--custom--typography--line-height--jt-05) !important; }
.jt-blocks .has-jt-06-font-size { line-height: var(--wp--custom--typography--line-height--jt-06) !important; }
.jt-blocks .has-jt-07-font-size { line-height: var(--wp--custom--typography--line-height--jt-07) !important; }
.jt-blocks .has-jt-08-font-size { line-height: var(--wp--custom--typography--line-height--jt-08) !important; }
.jt-blocks .has-jt-09-font-size { line-height: var(--wp--custom--typography--line-height--jt-09) !important; }

/* MORE OPTIONS */
.jt-blocks strong { font-weight: bold; }
.jt-blocks sub { vertical-align: sub; }
.jt-blocks sup { vertical-align: super; }
.jt-blocks em { font-style: italic; }
.jt-blocks code { font-family: inherit; background: var(--wp--preset--color--gray-300); }
.jt-blocks mark { color: inherit; background: inherit; }

/* LINK */
.jt-blocks a:not(.wp-element-button, .jtb-slideshow__link) { word-break: break-all; text-decoration: none; color: currentColor; box-shadow: 0 1px 0 0 currentColor; transition: box-shadow .3s; -webkit-box-decoration-break: clone; }



/* **************************************** *
 * COLUMNS
 * **************************************** */
.jt-blocks .wp-block-columns { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); }

/* CLEAR INNER BLOCK - BASE GROUP & COLUMNS */
.jt-blocks .wp-block-column > *:first-child { margin-top: 0; }
.jt-blocks .wp-block-column > *:last-child { margin-bottom: 0; }



/* **************************************** *
 * PARAGRAPH
 * **************************************** */
.jt-blocks p { margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-06); line-height: var(--wp--custom--typography--line-height--jt-06); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; }



/* **************************************** *
 * HEADING
 * **************************************** */
.jt-blocks .wp-block-heading { font-weight: 800; }
.jt-blocks h1.wp-block-heading { margin-top: var(--wp--preset--spacing--jt-large); margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-01); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-03); line-height: var(--wp--custom--typography--line-height--jt-01); }
.jt-blocks h2.wp-block-heading { margin-top: var(--wp--preset--spacing--jt-large); margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-02); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-02); line-height: var(--wp--custom--typography--line-height--jt-02); }
.jt-blocks h3.wp-block-heading { margin-top: var(--wp--preset--spacing--jt-large); margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-03); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-02); line-height: var(--wp--custom--typography--line-height--jt-03); }
.jt-blocks h4.wp-block-heading { margin-top: var(--wp--preset--spacing--jt-large); margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-04); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-02); line-height: var(--wp--custom--typography--line-height--jt-04); }
.jt-blocks h5.wp-block-heading { margin-top: var(--wp--preset--spacing--jt-small); margin-bottom: var(--wp--preset--spacing--jt-xsmall); font-size: var(--wp--preset--font-size--jt-05); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); line-height: var(--wp--custom--typography--line-height--jt-05); }
.jt-blocks h6.wp-block-heading { margin-top: var(--wp--preset--spacing--jt-small); margin-bottom: var(--wp--preset--spacing--jt-xsmall); font-size: var(--wp--preset--font-size--jt-07); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); line-height: var(--wp--custom--typography--line-height--jt-10); }



/* **************************************** *
 * LIST
 * **************************************** */
.jt-blocks .wp-block-list { margin-top: var(--wp--preset--spacing--jt-small); margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-07); line-height: var(--wp--custom--typography--line-height--jt-07); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; }
.jt-blocks .wp-block-list li { position: relative; }
.jt-blocks .wp-block-list li ~ li { margin-top: 0.5em; }
.jt-blocks .wp-block-list .wp-block-list { margin: 0.75em 0; font-size: inherit; line-height: inherit; }

/* UL */
.jt-blocks ul.wp-block-list > li { padding-left: 1em; }
.jt-blocks ul.wp-block-list > li:before { content: ''; display: block; width: 4rem; height: 4rem; position: absolute; left: 0; top: calc((var(--wp--custom--typography--line-height--jt-07) - 4rem) / 2); background: var(--wp--preset--color--black); border: 1px solid var(--wp--preset--color--black); border-radius: 50%; box-sizing: border-box; }
.jt-blocks ul.wp-block-list > li > ul.wp-block-list > li:before,
.jt-blocks ul.wp-block-list > li > ul.wp-block-list > li > ul.wp-block-list > li > ul.wp-block-list > li > ul.wp-block-list > li:before { background: transparent; border-radius: 50%; }
.jt-blocks ul.wp-block-list > li > ul.wp-block-list > li > ul.wp-block-list > li:before { background: var(--wp--preset--color--black); border-radius: 0; }
.jt-blocks ul.wp-block-list > li > ul.wp-block-list > li > ul.wp-block-list > li > ul.wp-block-list > li:before { border-radius: 50%; }

.jt-blocks ul.wp-block-list.has-jt-01-font-size > li { padding-left: 0.6em; }
.jt-blocks ul.wp-block-list.has-jt-01-font-size > li:before { width: 8rem; height: 8rem; top: calc((var(--wp--custom--typography--line-height--jt-01) - 8rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-02-font-size > li { padding-left: 0.7em; }
.jt-blocks ul.wp-block-list.has-jt-02-font-size > li:before { width: 7rem; height: 7rem; top: calc((var(--wp--custom--typography--line-height--jt-02) - 7rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-03-font-size > li { padding-left: 0.8em; }
.jt-blocks ul.wp-block-list.has-jt-03-font-size > li:before { width: 6rem; height: 6rem; top: calc((var(--wp--custom--typography--line-height--jt-03) - 6rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-04-font-size > li { padding-left: 0.9em; }
.jt-blocks ul.wp-block-list.has-jt-04-font-size > li:before { width: 5rem; height: 5rem; top: calc((var(--wp--custom--typography--line-height--jt-04) - 5rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-05-font-size > li:before { top: calc((var(--wp--custom--typography--line-height--jt-05) - 4rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-06-font-size > li:before { top: calc((var(--wp--custom--typography--line-height--jt-06) - 4rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-08-font-size > li:before { top: calc((var(--wp--custom--typography--line-height--jt-08) - 4rem) / 2); }
.jt-blocks ul.wp-block-list.has-jt-09-font-size > li:before { top: calc((var(--wp--custom--typography--line-height--jt-09) - 4rem) / 2); }

/* OL */
.jt-blocks ol.wp-block-list { list-style-position: inside; list-style-type: number; }
.jt-blocks ol.wp-block-list > li > ul.wp-block-list { padding-left: 1em; }



/* **************************************** *
 * BUTTONS
 * **************************************** */
.jt-blocks .wp-block-buttons { margin-top: var(--wp--preset--spacing--jt-small); margin-bottom: var(--wp--preset--spacing--jt-small); gap: 10rem; }

.jt-blocks .wp-block-button { font-size: var(--wp--preset--font-size--jt-07); line-height: var(--wp--custom--typography--line-height--jt-10); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 800; }
.jt-blocks .wp-block-button__link { display: flex; align-items: center; gap: 6rem; padding: 2rem 0; position: relative; color: var(--wp--preset--color--black); background: transparent; border: none; border-radius: 0; box-shadow: 0 0 0 0 currentColor; transition: box-shadow .3s; -webkit-box-decoration-break: clone; }
.jt-blocks .wp-block-button__link[target="_blank"]:after { content: ''; display: inline-block; width: 12rem; aspect-ratio: 1 / 1; background: url(../images/blocks/outlink.svg) no-repeat center / contain; transition: filter .3s; }

/* CONTAINER */
.jt-blocks .wp-block-button.is-style-jt-container .wp-block-button__link { padding: 8rem 18rem; font-size: var(--wp--preset--font-size--jt-08); line-height: var(--wp--custom--typography--line-height--jt-08); border: 2rem solid var(--wp--preset--color--black); border-radius: 30rem; transition: color .3s, background-color .3s; }



/* **************************************** *
 * QUOTE
 * **************************************** */
.jt-blocks .wp-block-quote { margin-top: var(--wp--preset--spacing--jt-large); margin-bottom: var(--wp--preset--spacing--jt-large); position: relative; color: var(--wp--preset--color--gray-700); }
.jt-blocks .wp-block-quote cite { display: block; margin-top: var(--wp--preset--spacing--jt-xsmall); font-size: var(--wp--preset--font-size--jt-07); line-height: var(--wp--custom--typography--line-height--jt-10); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 800; color: var(--wp--preset--color--black); }

.jt-blocks .wp-block-quote > *:first-child { margin-top: 0; }
.jt-blocks .wp-block-quote:has(cite) > *:nth-last-child(2) { margin-bottom: 0; }
.jt-blocks .wp-block-quote:not(:has(cite)) > *:nth-last-child(1) { margin-bottom: 0; }

/* DEFAULT */
.jt-blocks .wp-block-quote:not(.is-style-plain):not(.has-text-align-center, .has-text-align-right) { padding-left: calc(var(--wp--preset--spacing--jt-medium) - 3rem); border-left: 3rem solid var(--wp--preset--color--black); }
.jt-blocks .wp-block-quote:not(.is-style-plain).has-text-align-right { padding-right: calc(var(--wp--preset--spacing--jt-medium) - 3rem); border-right: 3rem solid var(--wp--preset--color--black); }

/* PLAIN */
.jt-blocks .wp-block-quote.is-style-plain { padding-top: 40rem; }
.jt-blocks .wp-block-quote.is-style-plain:before { content: ''; display: block; width: 24rem; height: 24rem; position: absolute; top: 0; left: 0; background: url(../images/blocks/quote.svg) no-repeat center center / contain; }

.jt-blocks .wp-block-quote.is-style-plain.has-text-align-center:before { left: 50%; transform: translate(-50%, 0); }
.jt-blocks .wp-block-quote.is-style-plain.has-text-align-right:before { left: auto; right: 0; }



/* **************************************** *
 * TABLE
 * **************************************** */
.jt-blocks .wp-block-table { margin-top: var(--wp--preset--spacing--jt-small); margin-bottom: var(--wp--preset--spacing--jt-small); font-size: var(--wp--preset--font-size--jt-08); line-height: var(--wp--custom--typography--line-height--jt-08); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-700); }
.jt-blocks .wp-block-table table { border-collapse: separate; }
.jt-blocks .wp-block-table tr { width: 100%; }
.jt-blocks .wp-block-table :is(th, td) { padding: var(--wp--preset--spacing--jt-xsmall) var(--wp--preset--spacing--jt-xsmall); vertical-align: middle; border: solid var(--wp--preset--color--gray-400); border-width: 1px 1px 0 0; }
.jt-blocks .wp-block-table :is(th, td):first-child { border-left-width: 1px; }

.jt-blocks .wp-block-table:not(:has(tfoot)) tbody tr:last-child td { border-bottom-width: 1px; }
.jt-blocks .wp-block-table tfoot td { border-bottom-width: 1px; }

.jt-blocks .wp-block-table figcaption { display: block; margin-top: var(--wp--preset--spacing--jt-xxsmall); font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-600); }
.jt-blocks .wp-block-table img { max-width: 100%; }

/* STRIPES */
.jt-blocks .wp-block-table.is-style-stripes { border: none; }
.jt-blocks .wp-block-table.is-style-stripes :is(th, td) { border: none; }
.jt-blocks .wp-block-table.is-style-stripes thead th { border-bottom: 1px solid var(--wp--preset--color--gray-400); }
.jt-blocks .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: var(--wp--preset--color--gray-100); }
.jt-blocks .wp-block-table.is-style-stripes tfoot td { border-top: 1px solid var(--wp--preset--color--gray-400); }

/* ALIGN */
.jt-blocks .wp-block-table.alignfull figcaption { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }

.jt-blocks .wp-block-table:is(.alignleft, .alignright) { float: none; max-width: var(--wp--style--global--content-size); }
.jt-blocks .wp-block-table.alignleft { margin-left: 0 !important; margin-right: auto !important; }
.jt-blocks .wp-block-table.alignright { margin-left: auto !important; margin-right: 0 !important; }



/* **************************************** *
 * IMAGE
 * **************************************** */
.jt-blocks .wp-block-image { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); font-size: 0; }
.jt-blocks .wp-block-image > a { display: block; box-shadow: none !important; }
.jt-blocks .wp-block-image figcaption { display: block; margin: var(--wp--preset--spacing--jt-xxsmall) 0 0; font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-600); }

/* ALIGN */
.jt-blocks .wp-block-image.alignfull figcaption { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }

.jt-blocks .wp-block-image:is(.alignleft, .alignright) { float: none; max-width: var(--wp--style--global--content-size); }
.jt-blocks .wp-block-image.alignleft { margin-left: 0 !important; margin-right: auto !important; }
.jt-blocks .wp-block-image.alignright { margin-left: auto !important; margin-right: 0 !important; }

/* LIGHTBOX */
.jt-blocks .wp-block-image.wp-lightbox-container button { width: 40rem; height: 40rem; right: 16rem !important; top: 16rem !important; background: var(--wp--preset--color--white) !important; border-radius: 4rem; }
.jt-blocks .wp-block-image.wp-lightbox-container button svg { display: block; width: 16rem; height: auto; }
.jt-blocks .wp-block-image.wp-lightbox-container button svg path { fill: var(--wp--preset--color--black); }



/* **************************************** *
 * GALLERY
 * **************************************** */
.jt-blocks .wp-block-gallery { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); }

/* GALLERY */
.jt-blocks .wp-block-gallery.has-nested-images > figcaption { display: block; margin: calc(-1 * var(--wp--style--unstable-gallery-gap) + var(--wp--preset--spacing--jt-xxsmall)) 0 0; font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; text-align: left; color: var(--wp--preset--color--gray-600); }

/* GALLERY ITEM */
.jt-blocks .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { margin: 0; padding: var(--wp--preset--spacing--jt-small) var(--wp--preset--spacing--jt-xxsmall) var(--wp--preset--spacing--jt-xsmall); font-size: var(--wp--preset--font-size--jt-09); text-align: left; color: var(--wp--preset--color--white); }

/* ALIGN */
.jt-blocks .wp-block-gallery.has-nested-images.alignfull > figcaption { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }

.jt-blocks .wp-block-gallery.has-nested-images:is(.alignleft, .alignright) { float: none; max-width: var(--wp--style--global--content-size); }
.jt-blocks .wp-block-gallery.has-nested-images.alignleft { margin-left: 0 !important; margin-right: auto !important; }
.jt-blocks .wp-block-gallery.has-nested-images.alignright { margin-left: auto !important; margin-right: 0 !important; }



/* **************************************** *
 * VIDEO
 * **************************************** */
.jt-blocks .wp-block-video { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); }
.jt-blocks .wp-block-video figcaption { display: block; margin: var(--wp--preset--spacing--jt-xxsmall) 0 0; font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-600); }



/* **************************************** *
 * EMBED
 * **************************************** */
.jt-blocks .wp-block-embed { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); }
.jt-blocks .wp-block-embed figcaption { display: block; margin: var(--wp--preset--spacing--jt-xxsmall) 0 0; font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-600); }

/* ALIGN */
.jt-blocks .wp-block-embed.alignfull figcaption { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }

.jt-blocks .wp-block-embed:is(.alignleft, .alignright) { float: none; max-width: var(--wp--style--global--content-size); }
.jt-blocks .wp-block-embed.alignleft { margin-left: 0 !important; margin-right: auto !important; }
.jt-blocks .wp-block-embed.alignright { margin-left: auto !important; margin-right: 0 !important; }



/* **************************************** *
 * SEPARATOR
 * **************************************** */
.jt-blocks .wp-block-separator { height: 2rem; margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-xlarge); padding: 0; position: relative; color: var(--wp--preset--color--black); background: none; border: none; }
.jt-blocks .wp-block-separator:after { content: ''; width: 160rem; height: 100%; background: currentColor; position: absolute; top: 0; left: 50%; translate: -50% 0; }

/* WIDE */
.jt-blocks .wp-block-separator.is-style-wide:after { width: 100%; left: 0; translate: 0; }

/* DOTS */
.jt-blocks .wp-block-separator.is-style-dots { height: 27rem; text-align: center; }
.jt-blocks .wp-block-separator.is-style-dots:after { display: none; }
.jt-blocks .wp-block-separator.is-style-dots:before { padding-left: 1em; font-size: 27rem; letter-spacing: 1em; }



/* **************************************** *
 * SPACER
 * **************************************** */
.jt-blocks .wp-block-spacer { margin: 0 auto; padding: 0; }



/* **************************************** *
 * LIGHTBOX
 * **************************************** */
/* IMAGE */
.wp-lightbox-overlay .wp-block-image img { border-radius: 0; }

.wp-lightbox-overlay .scrim { background: var(--wp--preset--color--black) !important; }

.wp-lightbox-overlay .close-button { width: 40rem; height: 40rem; min-width: auto; min-height: auto; right: 40rem; top: 40rem; background: var(--wp--preset--color--white) !important; border-radius: 4rem; transition: background-color .3s; }
.wp-lightbox-overlay .close-button svg { display: block; width: 20rem; height: auto; }
.wp-lightbox-overlay .close-button svg path { fill: var(--wp--preset--color--black); transition: fill .3s; }



/* **************************************** *
 * CUSTOM
 * **************************************** */
/* INSTAGRAM CODE */
.jt-blocks .instagram-media { max-width: var(--wp--style--global--content-size) !important; margin: var(--wp--preset--spacing--jt-xlarge) auto !important; }

/* CURSOR */
.jt-blocks-cursor { width: 60rem; height: 60rem; position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none; }
.jt-blocks-cursor__inner { display: block; width: 100%; height: 100%; position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.jt-blocks-cursor__circle { display: flex; align-items: center; justify-content: center; width: 0; height: 0; position: absolute; top: 50%; left: 50%; background: color-mix(in srgb, var(--wp--preset--color--black) 30%, transparent 70%); border-radius: 50%; transform: translate(-100%, -100%); overflow: hidden; opacity: 0; }
.jt-blocks-cursor__circle .jt-icon { display: block; width: 20rem; }
.jt-blocks-cursor__circle .jt-icon path { fill: var(--wp--preset--color--white); }

.jt-blocks-cursor__circle .jt-icon:has(.drag) { width: 42rem; }



/* **************************************** *
 * JT SLIDESHOW
 * **************************************** */
.jt-block-slideshow { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); }

.jtb-slideshow { max-width: var(--wp--style--global--content-size); position: relative; overflow: visible; }
.jtb-slideshow__image { display: block; padding-top: 100%; position: relative; }
.jtb-slideshow__image figure { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.jtb-slideshow__image figure img { width: 100%; height: 100%; margin: 0 auto; object-fit: contain; }
.jtb-slideshow__caption { display: block; margin-top: var(--wp--preset--spacing--jt-xxsmall); font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-600); }

.jtb-slideshow .swiper-button { position: absolute; width: 36rem; height: 36rem; top: 50%; translate: 0 -50%; opacity: .2; cursor: pointer; }
.jtb-slideshow .swiper-button-prev { left: -66rem; }
.jtb-slideshow .swiper-button-next { right: -66rem; }
.jtb-slideshow .swiper-button .jt-icon { width: 100%; height: auto; }
.jtb-slideshow .swiper-button.swiper-button-disabled { opacity: 0; }

.jtb-slideshow .swiper-scrollbar { background: var(--wp--preset--color--gray-300); border-radius: 0; }
.jtb-slideshow .swiper-scrollbar.swiper-scrollbar-horizontal { width: 100%; height: 2rem; margin-top: var(--wp--preset--spacing--jt-xsmall); position: relative; left: auto; bottom: auto; }
.jtb-slideshow .swiper-scrollbar .swiper-scrollbar-drag { background: var(--wp--preset--color--black); border-radius: 0; }

/* POPUP */
.jtb-slideshow-popup { width: 100%; height: 100%; max-width: inherit; max-height: inherit; margin: 0; padding: 0; position: fixed; left: 0; top: 0; background-color: var(--wp--preset--color--black); border: none; box-sizing: border-box; overflow: hidden; -ms-scroll-chaining: none; overscroll-behavior: none; }
.jtb-slideshow-popup::backdrop { background: transparent; }

.jtb-slideshow-popup__container { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; position: absolute; left: 0; top: 0; box-sizing: border-box; }
.jtb-slideshow-popup__content { width: calc(100% - 480rem); height: 100%; margin: 0; padding: 120rem 0; position: relative; }
.jtb-slideshow-popup__content img { display: block; width: 100%; height: 100%; margin: 0 auto; object-fit: contain; }
.jtb-slideshow-popup__content figcaption { width: 100%; position: absolute; left: 0; bottom: 70rem; font-size: var(--wp--preset--font-size--jt-07); line-height: var(--wp--custom--typography--line-height--jt-10); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 800; text-align: center; color: var(--wp--preset--color--white); }

.jtb-slideshow-popup__button { width: 64rem; height: 64rem; margin: 0; padding: 0; position: fixed; top: 50%; background: transparent; border: none; outline: none; translate: 0 -50%; cursor: pointer; z-index: 1; transition: opacity .3s; }
.jtb-slideshow-popup__prev { left: 60rem; }
.jtb-slideshow-popup__next { right: 60rem; }
.jtb-slideshow-popup__button > i { display: block; width: 100%; }
.jtb-slideshow-popup__button > i > svg > path { fill: var(--wp--preset--color--white); }

.jtb-slideshow-popup__close { display: flex; align-items: center; gap: 8rem; margin: 0; padding: 10rem 0; position: fixed; top: 50rem; right: 60rem; background: transparent; border: none; outline: none; cursor: pointer; z-index: 1; transition: opacity .3s; }
.jtb-slideshow-popup__close > span { font-size: var(--wp--preset--font-size--jt-07); line-height: var(--wp--custom--typography--line-height--jt-10); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 800; color: var(--wp--preset--color--white); }
.jtb-slideshow-popup__close > i { width: 24rem; }
.jtb-slideshow-popup__close > i > svg > path { fill: var(--wp--preset--color--white); }



/* **************************************** *
 * JT MARQUEE
 * **************************************** */
.jt-block-marquee { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-large); }

.jtb-marquee { display: block; font-size: 0; white-space: nowrap; overflow: hidden; }
.jtb-marquee__wrapper, .jtb-marquee__inner, .jtb-marquee__item { display: inline-block; vertical-align: top; }

.jtb-marquee__item { width: 432rem; margin: 0 calc(var(--wp--preset--spacing--jt-medium) / 2); }
.jtb-marquee__caption { display: block; margin-top: var(--wp--preset--spacing--jt-xxsmall); font-size: var(--wp--preset--font-size--jt-09); line-height: var(--wp--custom--typography--line-height--jt-09); letter-spacing: var(--wp--custom--typography--letter-spacing--jt-01); font-weight: 500; color: var(--wp--preset--color--gray-600); white-space: normal; }



/* **************************************** *
 * OVERWRITE
 * **************************************** */
.jt-blocks > *:first-child { margin-top: 0 !important; }
.jt-blocks > *:last-child { margin-bottom: 0 !important; }



/* **************************************** *
 * MIGRATE
 * **************************************** */
.jt-blocks .slideshow { visibility: hidden; opacity: 0; }
.jt-blocks p > img { max-width: 100%; vertical-align: top; }
.jt-blocks p:has(>img) { margin-top: var(--wp--preset--spacing--jt-xlarge); margin-bottom: var(--wp--preset--spacing--jt-xxsmall); font-size: 0; }

/* Empty */
.jt-blocks p:has(.pagingInfo) { display: none; }



/* **************************************** *
 * HOVER
 * **************************************** */
@media (hover: hover) and (pointer: fine) {

    /* LINK */
    .jt-blocks a:not(.wp-element-button, .jtb-slideshow__link):hover { box-shadow: 0 2px 0 0 currentColor; }

    /* BUTTONS */
    .jt-blocks .wp-block-button:not(.is-style-jt-container) .wp-block-button__link:hover { box-shadow: 0 2rem 0 0 currentColor; }
    
    .jt-blocks .wp-block-button.is-style-jt-container .wp-block-button__link:hover { color: var(--wp--preset--color--white); background: var(--wp--preset--color--black); }
    .jt-blocks .wp-block-button.is-style-jt-container .wp-block-button__link:hover:after { filter: invert(1); }

    /* LIGHTBOX */
    .wp-lightbox-overlay .close-button:hover { background: var(--wp--preset--color--gray-800) !important; }
    .wp-lightbox-overlay .close-button:hover svg path { fill: var(--wp--preset--color--white); }

    /* JT SLIDESHOW */
    .jtb-slideshow .swiper-button:not(.swiper-button-disabled):hover { opacity: 1; }

    .jtb-slideshow-popup__button:hover { opacity: .5; }
    .jtb-slideshow-popup__close:hover { opacity: .5; }

}