/* Hide the default marker */
.custom-criminalmodz-accordeon details.e-n-accordion-item summary {
    list-style: none;
    padding: 15px 0px;
}

.custom-criminalmodz-accordeon details.e-n-accordion-item summary::-webkit-details-marker {
    display: none;
}

/* Control arrow visibility based on open state */
.custom-criminalmodz-accordeon details.e-n-accordion-item .e-opened {
    display: none;
}

.custom-criminalmodz-accordeon details.e-n-accordion-item .e-closed {
    display: inline-block;
}

.custom-criminalmodz-accordeon details.e-n-accordion-item[open] .e-opened {
    display: inline-block;
}

.custom-criminalmodz-accordeon details.e-n-accordion-item[open] .e-closed {
    display: none;
}

.custom-criminalmodz-accordeon .e-n-accordion-item-title-text {
    font-weight: bold;
}

.custom-criminalmodz-accordeon summary.e-n-accordion-item-title {
    display: flex;
    cursor: pointer;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: var(--e-global-color-82c4d04);
    color: var(--n-accordion-title-normal-color);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-grow: var(--n-menu-title-flex-grow);
    gap: var(--n-accordion-icon-gap);
    justify-content: var(--n-accordion-title-justify-content);
    list-style: none;
    padding: var(--n-accordion-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-criminalmodz-accordeon .e-n-accordion-item:last-child summary.e-n-accordion-item-title {
    border-bottom: none;
}

.custom-criminalmodz-accordeon h3 .elementor-heading-title {
    color: var(--e-global-color-text);
}

.custom-criminalmodz-accordeon .e-n-accordion-item-title-icon span {
    color: white!important;
}

/* Smooth accordion animation for both opening and closing */
.custom-criminalmodz-accordeon .e-n-accordion-item .e-con-full {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    overflow: hidden;
}

.custom-criminalmodz-accordeon .e-n-accordion-item[open] .e-con-full {
    grid-template-rows: 1fr;
}

.custom-criminalmodz-accordeon .e-n-accordion-item .e-con-full > div {
    min-height: 0;
    padding-top: 15px;
}