:root {
    /**Color**/
    --black: #050505;
    --white: #fff;
    --gray-1: #f7f7f7;
    --gray-2: #f1f1f1;
    --gray-3: #eaeaea;
    --gray-4: #c4c4c4;
    --gray-5: #808080;
    --gray-6: #6b6b6b;
    --gray-7: #484848;
    --gray-8: #1c1c1c;
    --primary: #ff522b;
    --red: #ff3e21;
    --blue: #3858F6;
    --orange: #ff8338;
    --orange-dark: #ff8338;
    --orange-light: #fffbe8;
    --green: #34968e;

    /**Gradient Colors**/
    --gradient-red: linear-gradient(to right, #ff6034, var(--red));
    --gradient-orange: linear-gradient(to right, #ffd01e, var(--orange));

    /**Theme Color**/
    --color-primary: var(--primary);
    --color-dark: var(--gray-8);
    --color-secondary: var(--gray-7);
    --color-muted: var(--gray-5);
    --color-light: var(--gray-4);
    --color-text: var(--gray-7);
    --color-text-link: var(--gray-8);
    --color-active: var(--primary);
    --color-background: var(--gray-1);
    --color-danger: var(--red);
    --color-warning: var(--orange);
    --color-success: var(--green);
    --color-body: var(--gray-8);

    /**Theme Border Color**/
    --border-color: var(--gray-2);

    /**Theme Bg Color**/
    --bg-body: var(--gray-1);
    --bg-dark: var(--gray-8);
    --bg-secondary: var(--gray-7);
    --bg-muted: var(--gray-3);
    --bg-light: var(--gray-2);
    --bg-white: #fff;

    /**Theme Dark Border Color**/
    --border-dark: var(--gray-8);
    --border-secondary: var(--gray-7);
    --border-muted: var(--gray-4);
    --border-light: var(--gray-2);

    --outline-primary: rgba(255, 82, 43, 0.06);
    --outline-secondary: rgba(38, 38, 38, 0.1);
    --outline-light: rgba(38, 38, 38, 0.05);
    --outline-danger: rgb(255 94 68 / 10%);

    --card-bg: #fff;
    --card-border-color: var(--gray-1);

    /**Theme shadow Color**/
    --shadow-1: rgba(0, 0, 0, 0.02);
    --shadow-2: rgba(0, 0, 0, 0.05);
    --shadow: 0 6px 16px 0 var(--shadow-1);

    /**Font**/
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 24px;
    --font-weight-bold: 500;
    --line-height-xs: 14px;
    --line-height-sm: 16px;
    --line-height-md: 20px;
    --line-height-lg: 24px;
    --base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB',
    'Microsoft Yahei', sans-serif;

    /**Animation**/
    --animation-duration-base: 0.3s;
    --animation-duration-fast: 0.2s;
    --animation-timing-function-enter: ease-out;
    --animation-timing-function-leave: ease-in;

    /**Border**/
    --border-width-base: 1px;
    --border-radius-xs: 4px;
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-max: 999px;


    /**Swiper Color**/
    --swiper-navigation-size: 32px;
    --swiper-navigation-mini-size: 30px;
    --swiper-pagination-bullet-inactive-color: var(--white);
    --swiper-pagination-color: var(--white);
    --swiper-theme-color: var(--color-primary);
}

:root body[data-scheme="dark"] {
    /**Color**/
    --black: #050505;
    --white: #fff;
    --gray-1: #f7f7f7;
    --gray-2: #f1f1f1;
    --gray-3: #eaeaea;
    --gray-4: #5d5d5d;
    --gray-5: #3e3e3e;
    --gray-6: #303030;
    --gray-7: #222222;
    --gray-8: #121212;
    --primary: #ff522b;
    --red: #ff3e21;
    --blue: #3858F6;
    --orange: #ff8338;
    --orange-dark: #ff8338;
    --orange-light: #fffbe8;
    --green: #34968e;

    /**Gradient Colors**/
    --gradient-red: linear-gradient(to right, #ff6034, var(--red));
    --gradient-orange: linear-gradient(to right, #ffd01e, var(--orange));


    /**Theme Dark Color**/
    --color-primary: var(--primary);
    --color-dark: var(--gray-1);
    --color-secondary: var(--gray-2);
    --color-muted: var(--gray-4);
    --color-light: var(--gray-3);
    --color-text: var(--gray-1);
    --color-text-link: var(--white);
    --color-active: var(--gray-2);
    --color-background: var(--gray-1);
    --color-danger: var(--red);
    --color-warning: var(--orange);
    --color-success: var(--green);
    --color-body: var(--gray-1);

    /**Theme Border Color**/
    --border-color: var(--gray-6);

    /**Theme Dark Bg Color**/
    --bg-body: var(--gray-8);
    --bg-dark: var(--gray-8);
    --bg-secondary: var(--gray-7);
    --bg-muted: var(--gray-4);
    --bg-light: var(--gray-6);
    --bg-white: var(--black);

    /**Theme Dark Border Color**/
    --border-dark: var(--gray-8);
    --border-secondary: var(--gray-7);
    --border-muted: var(--gray-4);
    --border-light: var(--gray-5);

    --card-bg: var(--gray-7);
    --card-border-color: var(--gray-7);
}

/* General ------------------------------------- */

body {
    font-family: var(--base-font-family);
    color: var(--color-body);
    background-color: var(--bg-body);
    padding: 0;
    margin: 0;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased
}

/* Links ------------------------------------- */

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    color: var(--color-primary)
}

a:focus {
    outline: 0;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a,
.h1 > a,
.h2 > a,
.h3 > a,
.h4 > a,
.h5 > a,
.h6 > a {
    color: var(--color-dark);
}

h1 > a:hover,
h2 > a:hover,
h3 > a:hover,
h4 > a:hover,
h5 > a:hover,
h6 > a:hover,
.h1 > a:hover,
.h2 > a:hover,
.h3 > a:hover,
.h4 > a:hover,
.h5 > a:hover,
.h6 > a:hover {
    color: var(--color-primary);
}

/*--------------------------------------------------------------
/*	Element Base
--------------------------------------------------------------*/
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bolder;
    margin: 0;
}

/*--------------------------------------------------------------
/*	Font Size style
--------------------------------------------------------------*/

h1,
.h1 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h2,
.h2 {
    font-size: 1.5rem;
    line-height: 2rem;
}

h3,
.h3 {
    font-size: 1.375rem;
    line-height: 1.875rem;
}

h4,
.h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

h5,
.h5 {
    font-size: 1.125rem;
    line-height: 1.625rem;
}

h6,
.h6 {
    font-size: 1rem;
    line-height: 1.5rem;
}

@media (max-width: 767.98px) {

    h1,
    .h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    h2,
    .h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    h3,
    .h3 {
        font-size: 1.125rem;
        line-height: 1.625rem;
    }

    h4,
    .h4 {
        font-size: 1.0625rem;
        line-height: 1.625rem;
    }

}

.h4 .small,
.h4 small,
.h5 .small,
.h5 small,
.h6 .small,
.h6 small,
h4 .small,
h4 small,
h5 .small,
h5 small,
h6 .small,
h6 small {
    font-size: 85%
}


/*--------------------------------------------------------------
/*	 Text Size style
--------------------------------------------------------------*/

.text-xs {
    font-size: .8125rem;
    line-height: 1.25rem;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.375rem;
}

.text-md {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.625rem;
}

.text-xl {
    font-size: 1.375rem;
    line-height: 2rem;
}

.text-xxl {
    font-size: 1.75rem;
    line-height: 2.25rem;
}

.text-40 {
    font-size: 2.5rem;
    line-height: 3rem;
}

.text-50 {
    font-size: 3.125rem;
    line-height: 3.625rem;
}

.text-64 {
    font-size: 4rem;
    line-height: 4.5rem;
}

@media (max-width: 767.98px) {
    .text-xs {
        font-size: .8125rem;
        line-height: 1.25rem;
    }

    .text-sm {
        font-size: .875rem;
        line-height: 1.25rem;
    }

    .text-md {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .text-lg {
        font-size: 1.125rem;
        line-height: 1.625rem;
    }

    .text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .text-xxl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

/*--------------------------------------------------------------
/*	Lists
--------------------------------------------------------------*/

menu,
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

dt,
dd {
    line-height: 1.5;
}

dt {
    font-weight: 500;
}

dt + dd {
    margin-top: .5rem;
}

dd + dt {
    margin-top: 1.5rem;
}

/*--------------------------------------------------------------
/*	Quotes
--------------------------------------------------------------*/

blockquote {
    padding: 16px 20px;
    margin: 24px 0;
    background-color: var(--gray-5);
    border-radius: var(--border-radius-sm);
}

blockquote::before,
blockquote::after {
    content: "";
}

cite {
    color: inherit;
    font-size: 85%;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
}

blockquote cite {
    display: block;
    margin: 32px 0 0 0;
}

blockquote p,
blockquote > p:last-child {
    margin-bottom: 32px;
}

blockquote p:last-child {
    margin: 0;
}

blockquote em,
blockquote i,
blockquote cite {
    font-style: normal;
}

/*--------------------------------------------------------------
/*	Media
--------------------------------------------------------------*/

figure {
    margin: 0;
}

img,
embed,
iframe,
object,
video {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.wp-block-video video {
    height: auto;
}

/*--------------------------------------------------------------
/*	Input
--------------------------------------------------------------*/

input,
select {
    outline: none;
    box-shadow: none;
    transition: opacity 0.15s linear;
}

input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

input:hover,
input:focus,
select:hover,
select:focus {
    outline: none;
    box-shadow: none;
}

select option {
    padding: 0 0 1px;
}

/*--------------------------------------------------------------
* Add the correct display in IE 10+.
--------------------------------------------------------------*/

template {
    display: none;
}

/*--------------------------------------------------------------
* Add the correct display in IE 10.
--------------------------------------------------------------*/

[hidden] {
    display: none;
}

/*--------------------------------------------------------------
* Other css reset
--------------------------------------------------------------*/

i {
    font-style: normal;
}

p {
    margin: 0;
}

code {
    background: var(--bg-light);
}

body[data-scheme="dark"] code {
    background: var(--gray-6);
}

@media (prefers-color-scheme: dark) {
    body[data-scheme="auto"] code {
        background: var(--gray-6);
    }
}

/*--------------------------------------------------------------
/*	Size style
--------------------------------------------------------------*/

.w-8 {
    width: .5rem;
    height: .5rem
}

.w-12 {
    width: .75rem;
    height: .75rem
}

.w-16 {
    width: 1rem;
    height: 1rem
}

.w-20 {
    width: 1.25rem;
    height: 1.25rem;
}

.w-24 {
    width: 1.5rem;
    height: 1.5rem;
}

.w-28 {
    width: 1.75rem;
    height: 1.75rem;
}

.w-32 {
    width: 2rem;
    height: 2rem;
}

.w-36 {
    width: 2.25rem;
    height: 2.25rem;
}

.w-40 {
    width: 2.5rem;
    height: 2.5rem
}

.w-48 {
    width: 3rem;
    height: 3rem
}

.w-56 {
    width: 3.5rem;
    height: 3.5rem
}

.w-64 {
    width: 4rem;
    height: 4rem
}

.w-72 {
    width: 4.5rem;
    height: 4.5rem
}

.w-80 {
    width: 5rem;
    height: 5rem
}

.w-96 {
    width: 6rem;
    height: 6rem
}

.w-128 {
    width: 8rem;
    height: 8rem;
}

.w-168 {
    width: 10.5rem;
    height: 10.5rem;
}

.w-192 {
    width: 12rem
}

.w-xs {
    width: 5.625rem
}

.w-auto {
    width: auto
}

.h-auto {
    height: auto
}

.hv {
    height: 100vh
}

.h-v {
    min-height: 100vh
}

.h-v-30 {
    min-height: 30vh
}

.h-v-33 {
    min-height: 33vh
}

.h-v-50 {
    min-height: 50vh
}

.h-v-66 {
    min-height: 66vh
}

.h-v-75 {
    min-height: 75vh
}

@media (max-width: 1199.98px) {
    .w-auto-lg {
        width: auto
    }

    .w-100-lg {
        width: 100%
    }
}

@media (max-width: 991.98px) {
    .w-auto-md {
        width: auto
    }

    .w-100-md {
        width: 100%
    }
}

@media (max-width: 767.98px) {
    .w-auto-sm {
        width: auto
    }

    .w-100-sm {
        width: 100%
    }
}

@media (max-width: 575.98px) {
    .w-auto-xs {
        width: auto
    }

    .w-100-xs {
        width: 100%
    }
}

@media (min-width: 768px) {
    .h-v-25 {
        min-height: 25vh
    }
}

/*--------------------------------------------------------------
/*	Font height style
--------------------------------------------------------------*/

.lh-lg {
    line-height: 1.85
}

/* Icon style ----------------------------- */

.iconfont {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

/* Tooltip style ----------------------------- */

@media (min-width: 768px) {
    [tooltip] {
        position: relative;
        /* opinion 1 */
        cursor: pointer;
    }

    /* Applies to all tooltips */
    [tooltip]::after {
        text-transform: none;
        font-size: 13px;
        line-height: 1;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        pointer-events: none;
        position: absolute;
        display: none;
        opacity: 0;
    }

    [tooltip]::after {
        content: attr(tooltip);
        text-align: center;
        min-width: 50px;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 8px 10px;
        background-color: var(--color-primary);
        color: #fff;
        border-radius: var(--border-radius-xs);
        box-shadow: 0px 2px 15px -5px rgb(10 10 10 / 5%);
        z-index: 1000
        /* absurdity 2 */
    }

    @supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
        [tooltip]::after {
            background-color: rgba(56, 88, 246, 0.6);
            -webkit-backdrop-filter: saturate(180%) blur(6px);
            backdrop-filter: saturate(180%) blur(6px)
        }
    }

    /* Make the tooltips respond to hover */
    [tooltip]:hover::after {
        display: block;
    }

    /* don't show empty tooltips */
    [tooltip='']::after {
        display: none;
    }

    /* FLOW: UP */
    [tooltip]:not([flow])::after,
    [tooltip][flow^="up"]::after {
        bottom: calc(100% + 5px);
    }

    [tooltip]:not([flow])::after,
    [tooltip][flow^="up"]::after {
        left: 50%;
        transform: translate(-50%, -5px);
    }

    /* FLOW: DOWN */
    [tooltip][flow^="down"]::after {
        top: calc(100% + 5px);
    }

    [tooltip][flow^="down"]::after {
        left: 50%;
        transform: translate(-50%, 5px);
    }

    /* FLOW: LEFT */
    [tooltip][flow^="left"]::after {
        top: 50%;
        right: calc(100% + 5px);
        border-top-right-radius: 0;
        transform: translate(-5px, -50%);
    }

    /* FLOW: RIGHT */
    [tooltip][flow^="right"]::after {
        top: 50%;
        left: calc(100% + 5px);
        border-top-left-radius: 0;
        transform: translate(-5px, -50%);
    }

    /* KEYFRAMES */
    @-webkit-keyframes tooltips-vert {
        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }

    @keyframes tooltips-vert {
        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }

    @-webkit-keyframes tooltips-horz {
        to {
            opacity: 1;
            transform: translate(0, -50%);
        }
    }

    @keyframes tooltips-horz {
        to {
            opacity: 1;
            transform: translate(0, -50%);
        }
    }

    /* FX All The Things */
    [tooltip]:not([flow]):hover::after,
    [tooltip][flow^="up"]:hover::after,
    [tooltip][flow^="down"]:hover::after {
        -webkit-animation: tooltips-vert 300ms ease-out forwards;
        animation: tooltips-vert 300ms ease-out forwards;
    }

    [tooltip][flow^="left"]:hover::after,
    [tooltip][flow^="right"]:hover::after {
        -webkit-animation: tooltips-horz 300ms ease-out forwards;
        animation: tooltips-horz 300ms ease-out forwards;
    }
}
