{# Container #}
.gha__accordions {
    
}

/* Wrappers */
.gha__accordions > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion__item {
    border: 1px solid #f25244;
    background: #fff;
}

/* resetting styles on heading element as it's only for semantic purposes */
.heading-reset {
  all: unset;
  display: block;
}

{# Heading #}
.gha__accordions .heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* align-items: flex-start; */
    align-items: center;
    text-align: left;
    text-transform: none;
    padding: 1rem;
    border: none;
    background: transparent;
    font-size: 120%;
    font-weight: 600;
    transition: all .3s linear;
}

.gha__accordions .heading:hover,
.gha__accordions .heading:active,
.gha__accordions .heading:focus,
.gha__accordions .heading[aria-expanded="true"] {
    
}

.gha__accordions .heading[aria-expanded="true"] {
    
}

@media (max-width: 768px) {
    .gha__accordions .heading {
        padding: 0.75rem 1rem;
    }
}

{# Content #}
.gha__accordions .content {
    overflow: hidden;
    max-height: 0;
    padding: 0 1rem;
    opacity: 0;
    transition: max-height 0.3s ease, padding .4s ease, opacity 0.1s ease;
}

.gha__accordions .content *:last-child {
    margin-bottom: 0;
}

.gha__accordions .content[aria-hidden="false"] {
    max-height: 100vh;
    opacity: 1;
    padding: 0.5rem 1rem 1rem;
}

{# Toggle Icons #}
.gha__accordions .menu__child-toggle-icon {
    /* line-height: 0; */
    transition: all 0.2s linear;
}

.gha__accordions .menu__child-toggle-icon svg {
    transition: all 0.2s ease-in-out;
}

.gha__accordions .heading[aria-expanded="true"] .menu__child-toggle-icon {
    
}

.gha__accordions .heading[aria-expanded="true"] .menu__child-toggle-icon svg {
    transform: rotate(-135deg);
}