.accordion-container {
margin: 0 0 40px 0;
border-top: 1px solid var(--blue-300);
}
.accordion-item {
border-bottom: 1px solid var(--blue-300) !important;
position: relative !important;
cursor: pointer;
}
.accordion-item:hover .accordion-head::after,
.accordion-item:hover .accordion-head::before {
background-color: var(--orange-600);
}
.accordion-content {
display: none;
padding-top: 20px;
padding-bottom: 40px;
}
.accordion-item.active .accordion-content {
}
.accordion-item.active .accordion-content p:last-child,
.accordion-item.active .accordion-content ul:last-child {
margin-bottom: 0;
}
.accordion-item h2 {
margin: 0;
font-size: var(--h4-font-size);
color: var(--blue-600);
}
.accordion-head {
position: relative;
padding-top: 20px;
padding-bottom: 20px;
padding-right: 30px;
}
.accordion-head::after,
.accordion-head::before {
content: "";
position: absolute;
transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
background-color: var(--blue-600);
}
.accordion-head::after {
width: 21px;
height: 2px;
top: 50%;
right: 0;
transform: translateY(-50%);
}
.accordion-head::before {
width: 2px;
height: 21px;
top: 50%;
right: 9.5px;
transform: translateY(-50%);
}
.accordion-item.active .accordion-head::after {
transform: translateY(-50%) rotate(45deg);
background-color: var(--orange-600);
}
.accordion-item.active .accordion-head::before {
transform: translateY(-50%) rotate(45deg);
background-color: var(--orange-600);
}