/* STRUCTURE AND DEFAULTS FOR INTERACTIVE TRADING PATTERN ACCORDION */
.tpa-widget-wrapper-553f6d13 {
    width: 100%;
    box-sizing: border-box;
}

.tpa-header-553f6d13 {
    margin-bottom: 24px;
    text-align: center;
}

.tpa-section-heading-553f6d13 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.tpa-section-intro-553f6d13 {
    font-size: 16px;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Container */
.tpa-container-553f6d13 {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Accordion Panel */
.tpa-panel-553f6d13 {
    position: relative;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow 500s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

/* Background image handling for transitions */
.tpa-panel-bg-553f6d13 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%) contrast(0.9);
    transition: filter 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.tpa-panel-553f6d13.is-active .tpa-panel-bg-553f6d13 {
    filter: grayscale(0%) contrast(1);
}

/* Overlay covering panels */
.tpa-overlay-553f6d13 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0F172A;
    opacity: 0.75;
    transition: opacity 0.5s ease;
    z-index: 2;
}

/* Semantic Button Header overlay */
.tpa-panel-trigger-553f6d13 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    text-align: center;
    outline: none;
}

.tpa-panel-553f6d13.is-active .tpa-panel-trigger-553f6d13 {
    pointer-events: none; /* Inactive panels trigger clicks, active is free */
    display: none;
}

/* Vertical text wrapper */
.tpa-vertical-title-553f6d13 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    pointer-events: none;
}

/* Content Panel */
.tpa-content-553f6d13 {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.tpa-panel-553f6d13.is-active .tpa-content-553f6d13 {
    opacity: 1;
    transform: translateY(0);
}

.tpa-content-inner-553f6d13 {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.tpa-meta-553f6d13 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.tpa-eyebrow-553f6d13 {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.tpa-badges-wrap-553f6d13 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tpa-badge-553f6d13 {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tpa-panel-heading-553f6d13 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.tpa-desc-553f6d13 {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Benefits list */
.tpa-benefits-container-553f6d13 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.tpa-benefit-item-553f6d13 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.tpa-bullet-553f6d13 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpa-bullet-553f6d13 svg {
    display: inline-block;
    vertical-align: middle;
}

/* CTA */
.tpa-cta-wrap-553f6d13 {
    margin-top: 24px;
}

.tpa-btn-553f6d13 {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* TABLET LAYOUT */
@media screen and (max-width: 1024px) {
    .tpa-panel-heading-553f6d13 {
        font-size: 20px;
    }
}

/* MOBILE LAYOUT */
@media screen and (max-width: 767px) {
    .tpa-container-553f6d13 {
        flex-direction: column;
        height: auto !important; /* Stacked lists don't lock container heights */
    }

    .tpa-panel-553f6d13 {
        width: 100%;
        flex-direction: column;
        transition: height 0.4s ease;
        min-height: 60px;
    }

    .tpa-panel-553f6d13:not(.is-active) {
        height: 60px !important;
    }

    .tpa-panel-553f6d13.is-active {
        height: auto !important;
    }

    .tpa-panel-trigger-553f6d13 {
        position: relative;
        height: 60px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 20px;
    }

    .tpa-vertical-title-553f6d13 {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 15px;
    }

    .tpa-panel-553f6d13.is-active .tpa-panel-trigger-553f6d13 {
        display: flex;
        pointer-events: auto;
    }

    .tpa-content-553f6d13 {
        height: auto;
        padding-top: 0;
    }
}

/* ACCESSIBILITY: Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
    .tpa-panel-553f6d13,
    .tpa-panel-bg-553f6d13,
    .tpa-overlay-553f6d13,
    .tpa-content-553f6d13 {
        transition: none !important;
    }
}
