:root {
    --light-green: #e8f2ea;
    --secure-green: #1dbf73;
    --dark-green: #589d62;
    --dark-gray: #231f20;
    --text-gray: #333333;
}

#radio-accordion p, #radio-accordion li, #radio-accordion label {
    margin: 0;
    padding: 0;
}

#radio-accordion a {
    text-decoration: underline;
}

#radio-accordion ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#radio-accordion .radio-overflow-hidden {
    overflow: hidden;
}

#radio-accordion {
    padding: 0.5rem 0 1rem;
}

#radio-accordion .radio-accordion-main-title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    text-align: center;
}

#radio-accordion .radio-accordion-item-wrapper {
    border-bottom: 1px solid rgb(119, 135, 132);

}

#radio-accordion .radio-accordion-item-wrapper:last-child {
    border-bottom: none;
}

#radio-accordion .radio-accordion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 100%;
    transition: color 0.3s ease-in-out;
}


#radio-accordion .radio-accordion-title:hover,
#radio-accordion .radio-accordion-title:focus {
    color: var(--dark-gray);
}

#radio-accordion .radio-accordion li {
    display: flex;
    width: 100%;
}

#radio-accordion .radio-accordion-title {
    font-size: 1.125rem;
    width: 100%;
    position: relative;
    font-weight: 700;
    padding: 0.625rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

#radio-accordion .svg-inline--fa {
    height: 0.75rem;
}

#radio-accordion.radio-accordion-question {
    /*margin-right: 0.75rem;*/
}

#radio-accordion .radio-accordion-item:hover .radio-accordion-title,
#radio-accordion input[type="radio"]:checked ~ .radio-accordion-title {
    color: var(--dark-green);
}

#radio-accordion .radio-accordion-text {
    display: grid;
    grid-template-rows: 0fr;
    transition: all 0.3s ease-in-out;
    padding-right: 1.25rem;
    font-size: 1rem;
    color: var(--text-gray);
    width: 100%;
}

#radio-accordion .radio-accordion-checkbox:checked ~ .radio-accordion-text {
    grid-template-rows: 1fr;
    padding-bottom: 0.625rem;
}

#radio-accordion .radio-accordion-checkbox:checked ~ .radio-accordion-title > .radio-chevron-down-icon {
    transform: translateY(-50%) rotate(180deg);
}

#radio-accordion input[type="radio"] {
    opacity: 0;
    position: absolute;
    height: 0;
    width: 0;
}

@media screen and (min-width: 1024px) {
    #radio-accordion ol {
        padding-right: 1.25rem;
    }

    #radio-accordion .radio-accordion-main-title {
        text-align: right;
        font-size: 2.5rem;
    }

    #radio-accordion .radio-accordion-title {
        font-size: 1.375rem;
        gap: 1rem;
    }

    #radio-accordion .radio-accordion-text {
        font-size: 1.125rem;
        padding-right: 1.8rem;
    }

    #radio-accordion .svg-inline--fa {
        height: 1rem;
    }
}
