/* collapsible hero banner */
h1#page-title {
    display: block !important;
}

h1#page-title {
    font-size: 50px;
    line-height: 6.2rem;
    letter-spacing: -2px;
    margin-top: 32px;
}

.title-desc {
    font-size: 20px;
    font-family: 'RBCDisplay';
    line-height: 25px;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 32px;
}

.text-yellow-2 {
    color: #FFD842;
}


.banner-footer-text {
    color: white !important;
}

.banner-footer-text span {
    color: #FFBA00 !important;
}

.collapsible-hero-banner.offer-banner {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background: url("/_assets-custom/images/banners/index-banner-en.webp") 50% 15% / cover no-repeat;
    min-height: 630px !important;
    max-height: 630px;
    padding-bottom: 64px;
    display: flex;
    justify-content: start;
    z-index: 1;
    margin-bottom: 3px;
}

.collapsible-hero-banner.offer-banner .section-inner {
    z-index: 2;
}

.collapsible-hero-banner.offer-banner .section-inner:after {
    content: none;
}

.collapsible-hero-banner.offer-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/gosmart2/energy-lines-white.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    z-index: 2;
    pointer-events: none;
}

.collapsible-hero-banner.offer-banner:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: linear-gradient(90deg, rgba(20, 10, 5, 0.72) 0%, rgba(20, 10, 5, 0.45) 42%, rgba(20, 10, 5, 0) 68%);
    z-index: 1;
    pointer-events: none;
}

.banner-text-main-img {
    position: absolute;
    width: 360px;
    height: auto;
    right: 400px;
    bottom: 80px;
}

.banner-text-main-img img {
    border-radius: 7.3%;
}

@media screen and (max-width: 1350px) {
    .banner-text-main-img {
        width: 260px;
        height: auto;
        right: 350px;
        bottom: 80px;
    }
}

@media screen and (max-width: 1000px) {
    .banner-text-main-img {
        width: 24%;
        height: auto;
        right: 270px;
        bottom: 80px;
    }
}

@media screen and (max-width: 930px) {
    .banner-text-main-img {
        display: none;
    }
}

.bg-blur {
    backdrop-filter: blur(10px);
}

.snipe.pill {
    border-radius: 4px;
    height: 22px;
}

.snipe.pill span {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 1.6rem;
    padding: 4px 10px;
}

.collapsible-hero-banner.offer-banner .btn-explore-more {
    color: #FFF !important;
    border: 2px solid #FFF !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    height: unset !important;
}

.mobile-fs-16 {
    font-size: 16px !important;
}

.collapsible-hero-banner-subsection.collapsed {
    margin-top: -64px;
}

.collapsible-hero-banner.offer-banner .btn.custom-white {
    border: 1px solid #006AC3;
}

/* 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, #383235 16.71%, #003368 100%);
}

@media screen and (max-width: 639px) {
    .collapsible-hero-banner-subsection.expanded .expanded-gradient-wrapper {
        background: #003368;
    }
}

.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.offer-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) {

    h1#page-title {
        font-size: 40px;
        line-height: 50px;
        letter-spacing: -1px;
        font-weight: 500;
        text-align: left;
        margin-top: 16px;
    }

    h1#page-title>span:first-of-type,
    h1#page-title>span:not(:first-of-type) {
        font-size: inherit;
        line-height: inherit;
        font-weight: inherit;
        margin-bottom: 0;
        display: inline;
    }

    .title-desc {
        font-weight: 500;
        text-align: left;
        max-width: none !important;
        font-size: 18px;
        line-height: 27px;
        margin-bottom: 24px;
    }

    .banner-btns-container{
        margin-bottom: 24px;
    }

    .collapsible-hero-banner.offer-banner {
        display: flex;
        flex-direction: column;
        background-color: #000;
        background-image: url(/_assets-custom/images/banners/index-banner-mobile-en.webp);
        background-blend-mode: initial !important;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: top center !important;
        min-height: calc(100vw * 693 / 375);
        max-height: none;
        padding-bottom: 0;
    }

    .collapsible-hero-banner.offer-banner:before,
    .collapsible-hero-banner.offer-banner:after,
    .collapsible-hero-banner.offer-banner .section-inner:after {
        content: none;
    }

    .collapsible-hero-banner.offer-banner .background-layer {
        display: none;
    }

    .collapsible-hero-banner.offer-banner.expanded {
        height: auto;
        margin-bottom: 1px;
    }

    .collapsible-hero-banner.offer-banner>.section-inner {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-top: 0 !important;
        padding-bottom: 32px !important;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .collapsible-hero-banner.offer-banner .banner-wpr,
    .collapsible-hero-banner.offer-banner .banner-wpr .banner-text {
        display: flex;
        flex: 1 1 100%;
    }

    .collapsible-hero-banner.offer-banner .banner-wpr .banner-text {
        padding-top: 65vw;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 16px;
        padding-right: 16px;
    }

    .collapsible-hero-banner.offer-banner .snipe.pill {
        display: inline-block;
        margin-left: 0;
        margin-right: auto;
    }

    .hero-banner-disclaimer {
        text-align: left;
        max-width: none;
    }

    .collapsible-hero-banner.offer-banner .banner-wpr .btn-transparent {
        width: 100%;
    }

    .collapsible-hero-banner.offer-banner .btn.custom-white {
        background: #fff !important;
        color: #006AC3 !important;
        border: 2px solid #006AC3 !important;
        font-size: 18px !important;
        line-height: 24px !important;
        padding: 20px 40px !important;
        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;
    }

    .collapsible-hero-banner-subsection {
        margin-top: -60px;
    }

    .banner-btns-container {
        flex-wrap: nowrap
    }
}