html {
    --menu-height: 4.375rem;
    --default-sticky-top-size: calc(var(--wp-admin--admin-bar--height, 0rem) + var(--menu-height));
    --sticky-top-size: calc(var(--default-sticky-top-size) + 25px);

    scroll-behavior: smooth;
    scroll-padding-top: var(--sticky-top-size);
}

:first-child {
    margin-top: 0;
}

:last-child {
    margin-bottom: 0;
}

body {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.15;
    letter-spacing: -0.2px;
    color: #142253;
}

a {
    color: inherit;
}

body, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

strong, b {
    font-weight: 600;
}

.has-text-align-center {
    text-align: center;
}

.bg-white {
    border: 1px solid #fafafa;
    background: #fff;
}

.bg-dark {
    background: linear-gradient(161deg, #2E396D 0%, #142253 64.68%, #273266 100%);
}

.bg-blue {
    border: 1px solid #2D7CFF;
    background: linear-gradient(161deg, #3748E8 64.68%, #3891FA 100%);
    box-shadow: 0px 20px 22.8px -17px rgba(34, 45, 96, 0.20), 0px 0px 92.9px 0px rgba(0, 255, 255, 0.25) inset;
}

.bg-opacity {
    border: 1px solid rgba(255, 255, 255, 0.80);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.10) 100%)
}

.bg-gray {
    border: 1px solid #F2F2F5;
    box-shadow: 0px 0px 11.4px 0px rgba(242, 242, 245, 0.25) inset;
    background: #F2F2F5;
}

h1 span,
.c-blue {
    background: linear-gradient(161deg, #3748E8 64.68%, #3891FA 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.c-white {
    color: #fff;
}

.c-light-white {
    color: rgba(255, 255, 255, 0.80);
}

.c-gray {
    color: rgba(20, 34, 83, 0.80);
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: clamp(17px, 1.375vw, 18px);
}

.fs-20 {
    font-size: clamp(18px, 1.65vw, 20px);
}

.fs-24 {
    font-size: clamp(18px, 1.85vw, 24px);
}

.fs-32 {
    font-size: clamp(25px, 2.5vw, 32px);
}

.fs-36 {
    font-size: clamp(28px, 2.8vw, 36px);
}

.fs-40 {
    font-size: clamp(28px, 3vw, 40px);
}

.fs-48 {
    font-size: clamp(31px, 3.75vw, 48px);
}

.fs-65 {
    font-size: clamp(31px, 5.5vw, 65px);
}

.fs-104 {
    font-size: clamp(31px, 7.7vw, 104px);
}

.red-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 200px;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid #DF4949;
    border-radius: 4px;
    text-align: center;
    color: #FFF;
    text-shadow: 0px 2px 0px #B51919;
    background: #DF4949;
    box-shadow: 0px 1px 0px 0px rgba(181, 25, 25, 0.20), 0px 2px 0px 0px #F38888 inset;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.red-button::before {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/cta/wallet.svg) no-repeat center;
    content: '';
}

.red-button:hover {
    color: #fff;
    text-decoration: none;
    background: #EC5151;
    box-shadow: 0px 0px 0px 2px rgba(223, 72, 72, 0.20), 0px 2px 8px 0px rgba(181, 25, 25, 0.20), 0px 2px 0px 0px #F38888 inset;
}

.red-button:active {
    color: #FBDCDC;
    background: #D73B3B;
    box-shadow: 0px 0px 0px 4px rgba(223, 72, 72, 0.40), 0px 1px 0px 0px rgba(181, 25, 25, 0.20), 0px 2px 0px 0px #C02626 inset;
}

.box {
    border-radius: 20px;
}

.box-logotype {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
}

#amount-input, #period-input {
    display: block;
    width: 100%;
    padding: 5px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    text-align: right;
    outline: none;
    background: transparent;
}

#amount-input:focus, #period-input:focus {
    background: #f4f4f4;
}

.noUi-base, .noUi-base * {
    cursor: pointer;
}

.noUi-pips .noUi-marker,
.noUi-pips .noUi-marker-horizontal {
    display: none;
}

.noUi-pips .noUi-value {
    font-size: 14px;
}

.noUi-pips-horizontal {
    height: 10px !important;
}

.noUi-pips .noUi-value:nth-child(2),
.noUi-pips .noUi-value:last-child {
    padding-top: 2px;
    transform: none;
}

.noUi-pips .noUi-value:last-child {
    left: auto !important;
    right: 0;
}

.noUi-connect, .noUi-handle {
    background: #3749E9 !important;
    border-color: #3749E9 !important;
    color: #fff !important;
    font-size: 20px !important;
    box-shadow: none !important;
}

.noUi-connects {
    background: #C3CAFF !important;
}

.noUi-handle {
    top: -9px !important;
    height: 33px !important;
}

.noUi-handle::before, .noUi-handle::after {
    top: 8px !important;
    width: 2px !important;
}

.noUi-handle::before {
    left: 13px !important;
}

.noUi-handle::after {
    left: 18px !important;
}

#comments-bg::before {
    position: absolute;
    inset: -100px -60px auto auto;
    width: 713px;
    height: 590px;
    z-index: 1;
    background: url(../images/comments/bg.webp?v=2) no-repeat center;
    background-size: cover;
    content: '';
}

#menu-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
}

.post-content {
    font-size: 18px;
}

.post-content :is(h2, h3, h4, h5, h6) {
    margin-bottom: 1.5rem;
}

.post-content :is(h2, h3, h4, h5, h6):not(:first-child) {
    margin-top: 1.5rem;
}

@supports selector(::details-content) and (interpolate-size: allow-keywords) {
    details {
        interpolate-size: allow-keywords;
    }

    details::details-content {
        opacity: 0;
        block-size: 0;
        overflow-y: clip;
        transition: content-visibility 0.5s allow-discrete, opacity 0.5s, block-size 0.5s;
    }

    details[open]::details-content {
        opacity: 1;
        block-size: auto;
    }
}

@media (min-width: 767px) {
    .max-md {
        max-width: 850px !important;
    }
}

@media (min-width: 992px) {
    .red-button {
        width: fit-content;
    }
    
    .max-lg {
        max-width: 1070px !important;
    }

    #menu-footer {
        flex-direction: row;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }
    
    .max-xxl {
        max-width: 1600px !important;
    }
}

@media (min-width: 1600px) {
    .photo {
        position: absolute;
        inset: var(--photo-position);
        width: var(--photo-width);
        height: var(--photo-height);
        background: var(--photo-image) no-repeat center;
        background-size: cover;
        content: '';
    }

    #photo-1 {
        --photo-image: url(../images/photos/photo-1.webp?v=2); 
        --photo-position: auto -40px -210px auto;
        --photo-width: 478px;
        --photo-height: 424px;
        z-index: 2;
    }

    #photo-2 {
        --photo-image: url(../images/photos/photo-2.webp); 
        --photo-position: 150px auto auto -130px;
        --photo-width: 394px;
        --photo-height: 348px;
    }

    #photo-3 {
        --photo-image: url(../images/photos/photo-3.webp); 
        --photo-position: -100px -60px auto auto;
        --photo-width: 357px;
        --photo-height: 337px;
    }

    #photo-4 {
        --photo-image: url(../images/photos/photo-4.webp); 
        --photo-position: auto auto -120px 20%;
        --photo-width: 306px;
        --photo-height: 289px;
        z-index: 2;
    }

    #photo-5 {
        --photo-image: url(../images/photos/photo-5.webp);
        --photo-position: -150px auto auto 35%;
        --photo-width: 306px;
        --photo-height: 288px;
    }

    #photo-6 {
        --photo-image: url(../images/photos/photo-6.webp);
        --photo-position: -50px -100px auto auto;
        --photo-width: 330px;
        --photo-height: 292px;
    }

    #photo-7 {
        --photo-image: url(../images/photos/photo-7.webp?v=2);
        --photo-position: 50px auto auto -150px;
        --photo-width: 272px;
        --photo-height: 233px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}