

/* collapsible hero banner */

.collapsible-hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(294deg, rgba(134, 125, 114, 0.00) 50.51%, #67625A 84.03%),
    linear-gradient(291deg, rgba(169, 157, 146, 0.00) 44.49%, rgba(169, 157, 146, 0.92) 77.97%),
    url("/palta-product/_assets-custom/images/plant-background.jpg") lightgray center / cover no-repeat;
    background-position: center bottom 64px;
    background-blend-mode: difference, normal, normal;
    min-height: 757px;
    padding-bottom: 64px;
    display: flex;
    justify-content: start;
    z-index: 1;
}

.collapsible-hero-banner .section-inner {
    z-index: 5;
}

.collapsible-hero-banner:after {
    content: "";
    position: absolute;
    max-width: max(60%, 790px);
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    background-image: url(/_assets-custom/images/banners/gosmart/banner-girl.png), url(/_assets-custom/images/banners/gosmart/energy-lines-white.png), url(/_assets-custom/images/banners/gosmart/banner-xeqt-etf.svg);
    background-repeat: no-repeat;
    background-position: bottom right, top right, bottom 150px right 57%;
    background-size: contain, 40% 90%, 35% auto;
    z-index: 2;
}

.banner-gosmart-bottom {
    display: none;
}

@media screen and (max-width: 1384px) {
    .collapsible-hero-banner:after {
        background-size: contain, 40% 90%, 48% auto;
    }
}

@media screen and (max-width: 1100px) {
    .collapsible-hero-banner:after {
        background-position: bottom right, top right, bottom 150px right 35%;
    }
}

@media screen and (max-width: 900px) {
    .collapsible-hero-banner:after {
        background-position: bottom right, top right, bottom 150px right 35%;
        background-size: contain, 40% 90%, 35% auto;
    }
}

.collapsible-hero-banner .background-layer {
    position: absolute;
    max-width: max(60%, 790px);
    width: 100%;
    height: 100%;
    bottom: 112px;
    right: -12px;
    background-image: url(/_assets-custom/images/banners/gosmart/banner-sofa.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    z-index: 1;
}

.mobile-fs-16 {
    font-size: 16px !important;
}

.collapsible-hero-banner-subsection.collapsed {
    margin-top: -64px;
}

.collapsible-hero-banner-subsection {
}


.collapsible-hero-banner .btn.custom-white {
    border: 1px solid #006AC3;
}

.collapsible-hero-banner p {
    color: var(--text-foregrounds-text-opposite-2, #FFF);
    /* Paragraphs/Text/lg/lg-med */
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 155.556% */
}


/* Wrapper for expanded content and gradient */
.expanded-gradient-wrapper {
    padding-bottom: 64px; /* Make room for the absolutely positioned button */
    position: relative;
    transition: background 0.5s ease;
}

.collapsible-hero-banner-subsection.expanded .expanded-gradient-wrapper {
    background: linear-gradient(180deg, #51484c 16.71%, #003368 100%);
}

.collapsible-hero-banner-subsection.collapsed .expanded-gradient-wrapper {
    background: none;
}

.banner-expanded-content {
    padding-top: 64px;
    display: none;
    position: relative;
    z-index: 5;
}
@media screen and (min-width: 640px) {
    /* shifted up on desktop only */
    .banner-expanded-content {
        top: -170px;
        margin-bottom: -200px;
    }
}

/* Desktop collapse control */
.hero-collapse-control {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.20);
    border-top: 1px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.5s ease;
}

.collapsible-hero-banner.expanded .hero-collapse-control {
    background: transparent;
}

.hero-collapse-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 16px;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.hero-collapse-btn:hover {
    opacity: 0.8;
}

.hero-collapse-btn:focus {
    outline: 2px solid #fedf01;
    outline-offset: 2px;
}

.hero-collapse-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.collapsible-hero-banner-subsection.expanded .hero-collapse-icon {
    transform: rotate(180deg);
}

.banner-expanded-content h3 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    font-weight: 500;
}

.banner-expanded-content h4 {
    font-size: 1.8rem;
    line-height: 2.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.banner-expanded-content p {
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.glass-gradient-heading {
    color: var(--Interaction-interactive-1-text, #FFF);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--font-family-headline-xs, Roboto);
    font-size: 20px !important;
    font-style: normal;
    font-weight: var(--Type-Heading-xs-font-weight, 400);
    line-height: 28px !important; /* 140% */
}

.glass-gradient-3 {
    border-radius: 11.69px;
    border: 2px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(134.18% 107.3% at 97.15% 1.16%, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.00) 100%);
    background-blend-mode: screen;
    padding: 21.68px;
}

.glass-gradient-2 {
    border-radius: 9.761px;
    border: 3.042px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(134.18% 107.3% at 97.15% 1.16%, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.00) 100%);
    background-blend-mode: screen;
    box-shadow: -38.643px 38.643px 30.914px -12.881px rgba(0, 0, 0, 0.25);
    display: flex;
    gap: 24.336px;
    padding: 24.336px;
}
.glass-gradient-2 img {
    height: 92px;
    width: 92px;
}

.custom-font-1 {
    color: var(--text-foregrounds-text-opposite-1, #FFF);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--font-family-text, Roboto);
    font-size: 21.069px !important;
    font-style: normal;
    font-weight: 600;
    line-height: 127.4%; /* 26.841px */
    letter-spacing: var(--Type-UI-Text-default-letter-spacing, 0);
}



.goto-link-white::after {
    content: url("/_assets-custom/images/arrow-right-white.svg") !important;
}


/* Mobile styles */
@media screen and (max-width: 639px) {

    .custom-font-1 {
        color: var(--text-foregrounds-text-opposite-1, #FFF);
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: var(--font-family-text, Roboto);
        font-size: 16.57px;
        font-style: normal;
        font-weight: 600;
        line-height: 127.4%; /* 21.11px */
        letter-spacing: var(--Type-UI-Text-default-letter-spacing, 0);
    }

    .collapsible-hero-banner {
        display: flex;
        flex-direction: column;
        background-image: url(/palta-product/_assets-custom/images/plant-background.jpg);
        background-blend-mode: initial !important;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: unset;
        padding-bottom: 0;
    }

    .collapsible-hero-banner:after {
        /* background-image: url(/_assets-custom/images/banners/gosmart/banner-girl.png), url(/_assets-custom/images/banners/gosmart/banner-xeqt-etf.svg); */
        /* background-position: bottom center, bottom 10% left 10%; */
        /* background-size: 170%, 90%; */
        content: none;
    }

    .banner-gosmart-bottom {
        content: "";
        width: 100%;
        height: 100vw;
        background-image: url(/_assets-custom/images/banners/gosmart/banner-girl.png), url(/_assets-custom/images/banners/gosmart/banner-xeqt-etf.svg);
        background-repeat: no-repeat;
        background-position: bottom -50px center, top left 35%;
        background-size: 175%, 66% auto;
        display: block;
    }

    .collapsible-hero-banner p { 
        font-size: 16px;
        line-height: 24px;
    }

    .collapsible-hero-banner .background-layer {
        display: none;
    }

    .collapsible-hero-banner.expanded {
        height: auto;
    }

    .collapsible-hero-banner > .section-inner {
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 0 !important;
        margin-left: 0;
        margin-right: 0;
    }

    .collapsible-hero-banner .banner-wpr {
        display: flex;
        flex-direction: column;
    }

    .collapsible-hero-banner .banner-wpr .btn-transparent {
        width: 100%;
    }

    /* On mobile, wrapper needs to be in flow */
    .expanded-gradient-wrapper {
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .expanded-gradient-wrapper .section-inner {
        flex: 0 0 auto;
    }

    /* On mobile, keep control at bottom of viewport when collapsed */
    .hero-collapse-control {
        position: relative;
        margin-top: auto;
        flex-shrink: 0;
    }

    /* Show only on mobile */
    .mobile-only {
        display: block !important;
    }

}