/* OnPoint Design Tokens Override */
.ht-38108b2a-wrapper {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 40px auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.ht-38108b2a-wrapper *, .ht-38108b2a-wrapper *::before, .ht-38108b2a-wrapper *::after {
    box-sizing: border-box;
}

/* Tab row layout - Pills wrap to multiple rows */
.ht-38108b2a-tab-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ht-38108b2a-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px; /* Minimum 44px tap height */
    padding: 0.5rem 1.5rem;
    border-radius: 999px; /* Fully rounded tab pills */
    background: #FFFFFF;
    color: #0A1F44; /* Inactive: text */
    border: 1px solid #C9D6E8; /* Inactive: border */
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    line-height: 1.2;
    text-transform: none; /* No forced all-caps */
    font-style: normal; /* No italics */
}

.ht-38108b2a-tab-btn:hover {
    border-color: #1056A5; /* Hover border */
    color: #0A1F44;
}

.ht-38108b2a-tab-btn.is-active {
    background: #0E2A6B; /* Active: Solid background */
    color: #FFFFFF; /* Active: White text */
    border-color: #0E2A6B;
    box-shadow: 0 10px 24px rgba(14, 42, 107, 0.28); /* Active: Soft shadow */
    z-index: 2;
}

/* Shared Content Panel Container */
.ht-38108b2a-content-container {
    background: #FFFFFF; /* Card surface */
    border: 1px solid #E2E8F2; /* Border */
    color: #2A3447; /* Body text color */
    border-radius: 16px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

/* Panel Body Layout */
.ht-38108b2a-panel {
    padding: 2.5rem;
    width: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
}

.ht-38108b2a-panel.is-active {
    opacity: 1;
    display: block;
}

.ht-38108b2a-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ht-38108b2a-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Panel Typography */
.ht-38108b2a-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1.25rem 0;
    color: #0D1424; /* Headline text */
    letter-spacing: -0.01em;
}

.ht-38108b2a-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2A3447; /* Body text */
    margin: 0 0 1.5rem 0;
}

/* Benefits Render as Plain List with Gold Dot Markers */
.ht-38108b2a-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ht-38108b2a-benefits-list li {
    position: relative;
    padding-left: 1.25rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400; /* Regular weight */
    font-style: normal; /* No italics */
    color: #2A3447;
    line-height: 1.5;
}

.ht-38108b2a-benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #F5C518; /* Gold dot markers */
}

/* Right Panel Image Column */
.ht-38108b2a-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ht-38108b2a-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px; /* 16px radius */
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(2, 10, 30, 0.25); /* Strong shadow */
    background: #0D1424;
}

/* Subtle ink overlay */
.ht-38108b2a-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2, 10, 28, 0.25); /* subtle ink overlay */
    pointer-events: none;
}

.ht-38108b2a-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 360px;
    border-radius: 16px;
}

/* Mobile Accordion Trigger Fallback */
.ht-38108b2a-mobile-trigger {
    display: none;
    width: 100%;
    background: #FFFFFF;
    border: none;
    border-bottom: 1px solid #E2E8F2;
    color: #0A1F44;
    padding: 1.1rem 1.5rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    outline: none;
    min-height: 44px;
}

.ht-38108b2a-mobile-trigger .ht-38108b2a-arrow-icon {
    width: 8px;
    height: 8px;
    border-right: 2px solid #0E2A6B;
    border-bottom: 2px solid #0E2A6B;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.ht-38108b2a-mobile-trigger.is-active {
    background-color: #F7F9FC;
    color: #0E2A6B;
}

.ht-38108b2a-mobile-trigger.is-active .ht-38108b2a-arrow-icon {
    transform: rotate(-135deg);
    border-color: #0E2A6B;
}

/* Preferences & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ht-38108b2a-tab-btn,
    .ht-38108b2a-panel,
    .ht-38108b2a-mobile-trigger,
    .ht-38108b2a-arrow-icon {
        transition: none !important;
        animation: none !important;
    }
}

/* Responsive Layouts */
@media (max-width: 991px) {
    .ht-38108b2a-grid {
        gap: 2.5rem;
    }
    .ht-38108b2a-panel {
        padding: 2rem;
    }
    .ht-38108b2a-headline {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .ht-38108b2a-tab-row {
        display: none; /* Hide top pills on mobile */
    }

    .ht-38108b2a-mobile-trigger {
        display: flex; /* Show as accordion */
    }

    .ht-38108b2a-mobile-trigger:first-of-type {
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }

    .ht-38108b2a-mobile-trigger:last-of-type:not(.is-active) {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        border-bottom: none;
    }

    .ht-38108b2a-content-container {
        border-radius: 16px;
    }

    .ht-38108b2a-panel {
        padding: 1.5rem;
    }

    .ht-38108b2a-grid {
        grid-template-columns: 1fr; /* Stacked layout */
        gap: 2rem;
    }

    .ht-38108b2a-text-col {
        order: 1; /* Text first */
    }

    .ht-38108b2a-image-col {
        order: 2; /* Image second */
    }
}
