:root {
    --nzkeys-white: #FFFFFF;
    --nzkeys-green: #00A443;
    --nzkeys-forest: #00402A;
    --nzkeys-border: #D8CFC7;
    --nzkeys-brown: #615D5A;
    --nzkeys-sand: #FFF5EC;
}

#nzkeys {
    width: 100%;
    max-width: 980px;
    padding: 16px;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: var(--nzkeys-sand);
}

#nzkeys * {
    font-family: 'IberPangea' !important;
    font-style: normal;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#nzkeys h2,
#nzkeys h3,
#nzkeys h4 {
    margin-top: 0 !important;
}

#nzkeys ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nzkeys ul li:before {
    content: none !important;
    display: none !important;
}

#nzkeys img {
    display: block;
    width: 100%;
}

#nzkeys .nzkeys_title {
    color: var(--nzkeys-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 16px;
}

#nzkeys .nzkeys_title strong {
    font-weight: 600;
}

#nzkeys .nzkeys_description {
    color: var(--nzkeys-brown) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 24px;
}

#nzkeys .nzkeys_item {
    border-radius: 15px;
    background-color: var(--nzkeys-white);
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    position: relative;
}

#nzkeys .nzkeys_item_open,
#nzkeys .nzkeys_item_close {
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 16px;
    right: 16px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/net-zero-claves/images/ico-abrir.svg');
    background-position: right center;
    background-size: 32px auto;
    background-repeat: no-repeat;
    background-color: transparent;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
}

#nzkeys .nzkeys_item_close {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/net-zero-claves/images/ico-cerrar.svg');
    display: none;
}

#nzkeys .nzkeys_item_title {
    color: var(--nzkeys-forest) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 59px;
}

#nzkeys .nzkeys_item.active .nzkeys_item_open {
    display: none;
}

#nzkeys .nzkeys_item.active .nzkeys_item_close {
    display: block;
}

#nzkeys .nzkeys_item_content {
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    overflow: hidden;
}

#nzkeys .nzkeys_item.active .nzkeys_item_content {
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out;
}

#nzkeys .nzkeys_item_text {
    color: var(--nzkeys-forest) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    width: 100%;
    max-width: 703px;
    padding-top: 12px;
}

#nzkeys .nzkeys_image {
    display: block;
}

@media (min-width: 700px) {
    
    #nzkeys {
        padding: 32px;
    }

    #nzkeys .nzkeys_title {
        font-size: 32px;
        line-height: 1.125;
    }

    #nzkeys .nzkeys_description {
        line-height: 1.33;
    }

    #nzkeys .nzkeys_item_open:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/net-zero-claves/images/ico-abrir-hover.svg');
    }

}

@media (min-width: 1080px) {
    
    #nzkeys .nzkeys_content {
        position: relative;
    }

    #nzkeys .nzkeys_items {
        width: calc(100% - 82px);
        position: absolute;
        top: 48px;
        left: 41px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #nzkeys .nzkeys_item {
        width: calc(50% - 18px);
        margin-bottom: 60px;
    }

    #nzkeys .nzkeys_item.active {
        width: 100%;
        min-height: 188px;
        padding-left: 24px;
    }

    #nzkeys .nzkeys_item.inactive {
        display: none;
    }

    #nzkeys .nzkeys_item_open,
    #nzkeys .nzkeys_item_close {
        right: 24px;
    }

}
