#homepage-energy-popup {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: calc(100% - 2rem);
    max-width: 710px;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 80px 64px;
    overflow-y: auto;
    border: 0;
    border-radius: 8px;
    background: #0d66aa;
    color: #fff;
    font-family: var(--cs-body-font-family, sans-serif);
    text-align: center;
}

#homepage-energy-popup::backdrop {
    background: rgb(0 0 0 / 60%);
}

#homepage-energy-popup [data-popup-close] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

#homepage-energy-popup-text {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.5;
}

#homepage-energy-popup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 256px;
    min-height: 60px;
    margin: 40px 0 0;
    padding: 16px 24px;
    border: 2px solid transparent;
    background: #d35e16;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
}

#homepage-energy-popup-link:hover,
#homepage-energy-popup-link:focus {
    color: #fff;
    text-decoration: none;
}

#homepage-energy-popup [data-popup-close]:focus-visible,
#homepage-energy-popup-link:focus-visible {
    border-color: #fff;
}

#homepage-energy-popup svg {
    display: block;
    flex-shrink: 0;
}

#homepage-energy-popup-link svg {
    transition: transform 0.3s ease;
}

#homepage-energy-popup-link:hover svg,
#homepage-energy-popup-link:focus-visible svg {
    transform: translateX(10px);
}

@media (prefers-reduced-motion: reduce) {
    #homepage-energy-popup-link svg {
        transition: none;
    }

    #homepage-energy-popup-link:hover svg,
    #homepage-energy-popup-link:focus-visible svg {
        transform: none;
    }
}

@media (max-width: 639px) {
    #homepage-energy-popup {
        padding: 64px 24px 48px;
    }
}
