.wt-main-header.js-header .wt-brand-lockup {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.wt-main-header.js-header .wt-brand-lockup img {
    display: block;
    width: clamp(210px, 22vw, 270px);
    height: auto;
}

.copyvest-interior-page .wt-main-content img,
.copyvest-interior-page .wt-main-content video,
.copyvest-interior-page .wt-main-content iframe {
    max-width: 100%;
}

.copyvest-interior-page .wt-main-content img {
    height: auto;
}

.copyvest-interior-page body {
    overflow-x: clip;
}

.copyvest-mobile-bar,
.copyvest-menu,
.copyvest-menu-backdrop {
    display: none;
}

.copyvest-menu-button {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    background: #fff;
    color: #040a1c;
    cursor: pointer;
}

.copyvest-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: currentColor;
}

.copyvest-mobile-brand img {
    display: block;
    width: min(230px, calc(100vw - 84px));
    height: auto;
}

.copyvest-menu-backdrop:not([hidden]) {
    position: fixed;
    inset: 72px 0 0;
    z-index: 9997;
    display: block;
    border: 0;
    background: rgb(4 10 28 / 48%);
}

.copyvest-menu:not([hidden]) {
    position: fixed;
    top: 72px;
    bottom: 0;
    left: 0;
    z-index: 9998;
    display: flex;
    width: min(360px, 88vw);
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    padding: 18px 16px 28px;
    background: #fff;
    box-shadow: 12px 0 32px rgb(4 10 28 / 14%);
}

.copyvest-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 6px;
    color: #17243b;
    font: 600 15px/1.35 Inter, Arial, sans-serif;
    text-decoration: none;
}

.copyvest-menu a:hover,
.copyvest-menu a[aria-current="page"] {
    background: #f1f4f9;
    color: #f97316;
}

.copyvest-menu .copyvest-menu-account {
    margin-top: 12px;
    border-top: 1px solid #e3e8ef;
    padding-top: 16px;
}

@media (max-width: 900px) {
    .wt-main-header.js-header {
        position: sticky !important;
        top: 0;
        z-index: 9999 !important;
        display: block !important;
        min-height: 72px;
        background: #040a1c !important;
        box-shadow: 0 2px 12px rgb(4 10 28 / 24%);
    }

    .wt-main-header.js-header .main-header-nav {
        display: none !important;
    }

    .copyvest-mobile-bar {
        display: flex;
        min-height: 72px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 16px;
    }

    .copyvest-menu-button {
        border-color: rgb(255 255 255 / 28%);
        background: #09132a;
        color: #fff;
    }
}

@media (min-width: 901px) {
    .copyvest-menu-button,
    .copyvest-menu,
    .copyvest-menu-backdrop {
        display: none !important;
    }
}

@media (min-width: 901px) and (max-width: 1240px) {
    .copyvest-interior-page .wt-main-header.js-header {
        position: sticky !important;
        top: 0;
        z-index: 9999 !important;
        display: block !important;
        min-height: 72px;
        background: #040a1c !important;
        box-shadow: 0 2px 12px rgb(4 10 28 / 24%);
    }

    .copyvest-interior-page .wt-main-header.js-header .main-header-nav {
        display: none !important;
    }

    .copyvest-interior-page .copyvest-mobile-bar {
        display: flex;
        min-height: 72px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 16px;
    }

    .copyvest-interior-page .copyvest-menu-button {
        display: flex !important;
        border-color: rgb(255 255 255 / 28%);
        background: #09132a;
        color: #fff;
    }

    .copyvest-interior-page .copyvest-menu:not([hidden]) {
        display: flex !important;
    }

    .copyvest-interior-page .copyvest-menu-backdrop:not([hidden]) {
        display: block !important;
    }
}

/* Traders Choose section: keep this local so deployment does not depend on
   a missing copied copy of the original template stylesheet. */
.tcw-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 94px;
}

.tcw-container .container {
    width: 100%;
}

.tcw-container h2.block-title {
    margin: 0;
    padding: 0;
    color: #1e1e1e;
    font-size: 48px;
    font-weight: 700;
    line-height: 140%;
}

.tcw-container .tcw-block {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 26px;
    padding-top: 52px;
}

.tcw-container .tcw-block > div {
    position: relative;
    display: flex;
    min-height: 316px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(98.35deg, #1e1e1e 34.27%, #0f1642 95.58%);
    box-shadow: 0 2px 4px -2px rgb(38 38 38 / 6%);
}

.tcw-container .tcw-block .text {
    display: flex;
    width: 70%;
    flex-direction: column;
    gap: 10px;
    padding: 32px 0 32px 32px;
}

.tcw-container .tcw-block .text p {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 140%;
}

.tcw-container .tcw-block .text span {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    opacity: 0.6;
}

.tcw-container .tcw-block .loyalty-program {
    grid-area: 1 / 1 / 3 / 6;
}

.tcw-container .tcw-block .condition {
    grid-area: 1 / 6 / 3 / 12;
}

.tcw-container .tcw-block .support {
    grid-area: 3 / 1 / 4 / 8;
}

.tcw-container .tcw-block .bonus {
    grid-area: 3 / 8 / 4 / 12;
}

.tcw-container picture {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.tcw-container picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tcw-container .loyalty-program picture {
    right: -25px;
    bottom: -25px;
    width: 55%;
}

.tcw-container .condition picture {
    right: 0;
    bottom: 0;
    width: 55%;
}

.tcw-container .support picture {
    right: 0;
    bottom: 0;
    width: 55%;
}

.tcw-container .bonus picture {
    right: 10px;
    bottom: 0;
    width: 55%;
}

.tcw-container .stack-cards {
    display: none;
}

@media (max-width: 768px) {
    .tcw-container {
        display: block;
        overflow: visible;
        padding-bottom: 64px;
    }

    .tcw-container h2.block-title {
        font-size: 32px;
    }

    .tcw-container .tcw-block {
        display: none;
    }

    .tcw-container .stack-cards {
        display: flex;
        margin: 32px 0 0;
        padding: 0 0 96px;
        flex-direction: column;
        gap: 24px;
        list-style: none;
    }

    .tcw-container .stack-cards__item {
        position: relative;
        height: 472px;
        min-height: 472px;
        overflow: hidden;
        border-radius: 20px;
        background: linear-gradient(98.35deg, #1e1e1e 34.27%, #0f1642 95.58%);
    }

    .tcw-container .stack-cards__item .card-inner {
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
        padding: 24px;
    }

    .tcw-container .stack-cards__item .text {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .tcw-container .stack-cards__item .text p {
        margin: 0;
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        line-height: 140%;
        text-align: start;
    }

    .tcw-container .stack-cards__item .text span {
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        line-height: 140%;
        opacity: 0.6;
        text-align: start;
    }

    .tcw-container .stack-cards__item picture {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 70%;
        max-height: 55%;
    }
}
