.cpx_custom_accordion {
    --cpx-accordion-accent-color: var(--e-global-color-primary);
    --cpx-accordion-background-color: transparent;
    --cpx-accordion-border-color: #d7d1cb;
    --cpx-accordion-content-color: #5c5752;
    --cpx-accordion-focus-color: #2f6fcc;
    --cpx-accordion-title-color: #4e4a46;
    --cpx-accordion-panel-duration: 280ms;
    --cpx-accordion-panel-transition: var(--cpx-accordion-panel-duration) cubic-bezier(0.4, 0, 0.2, 1);
    --cpx-accordion-transition: 180ms ease;
}

.cpx_custom_accordion {
    width: 100%;
    background: var(--cpx-accordion-background-color);
}

.cpx_custom_accordion__item {
    width: 100%;
}

.cpx_custom_accordion__item:not(:last-child) {
    border-bottom: 1px solid var(--cpx-accordion-border-color);
}

.cpx_custom_accordion button.cpx_custom_accordion__trigger,
.elementor .cpx_custom_accordion button.cpx_custom_accordion__trigger {
    width: 100%;
    min-height: 88px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    column-gap: 20px;
    align-items: center;
    padding: 24px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--cpx-accordion-title-color);
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

.cpx_custom_accordion button.cpx_custom_accordion__trigger:hover,
.cpx_custom_accordion button.cpx_custom_accordion__trigger:focus,
.elementor .cpx_custom_accordion button.cpx_custom_accordion__trigger:hover,
.elementor .cpx_custom_accordion button.cpx_custom_accordion__trigger:focus {
    border: 0;
    background: transparent;
    color: var(--cpx-accordion-title-color);
}

.cpx_custom_accordion button.cpx_custom_accordion__trigger:focus-visible {
    outline: 2px solid var(--cpx-accordion-focus-color);
    outline-offset: 3px;
}

.cpx_custom_accordion__visual {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--cpx-accordion-accent-color);
}

.cpx_custom_accordion__number {
    color: var(--cpx-accordion-accent-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.cpx_custom_accordion__icon {
    width: auto;
    height: 24px;
    display: inline-flex;
    align-items: center;
    color: var(--cpx-accordion-accent-color);
}

.cpx_custom_accordion__icon svg {
    width: auto;
    height: 24px;
    display: block;
    overflow: visible;
    fill: currentColor;
    color: inherit;
}

.cpx_custom_accordion__icon svg *:not([fill="none" i]):not([fill="transparent" i]) {
    fill: currentColor !important;
}

.cpx_custom_accordion__icon svg [fill="none" i],
.cpx_custom_accordion__icon svg [fill="transparent" i] {
    fill: none !important;
}

.cpx_custom_accordion__icon svg[stroke]:not([stroke="none" i]):not([stroke="transparent" i]),
.cpx_custom_accordion__icon svg [stroke]:not([stroke="none" i]):not([stroke="transparent" i]) {
    stroke: currentColor !important;
}

.cpx_custom_accordion__icon svg[stroke="none" i],
.cpx_custom_accordion__icon svg[stroke="transparent" i],
.cpx_custom_accordion__icon svg [stroke="none" i],
.cpx_custom_accordion__icon svg [stroke="transparent" i] {
    stroke: none !important;
}

.cpx_custom_accordion__title {
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-7014cef-font-family), Sans-serif;
    font-size: var(--e-global-typography-7014cef-font-size);
    font-weight: var(--e-global-typography-7014cef-font-weight);
    line-height: var(--e-global-typography-7014cef-line-height);
}

.cpx_custom_accordion__indicator {
    width: 14px;
    height: 14px;
    position: relative;
    display: block;
}

.cpx_custom_accordion__indicator::before,
.cpx_custom_accordion__indicator::after {
    width: 14px;
    height: 2px;
    position: absolute;
    top: 6px;
    left: 0;
    background: var(--cpx-accordion-accent-color);
    content: "";
    transition: transform var(--cpx-accordion-transition);
}

.cpx_custom_accordion__indicator::after {
    transform: rotate(90deg);
}

.cpx_custom_accordion__trigger[aria-expanded="true"] .cpx_custom_accordion__indicator::after {
    transform: rotate(0deg);
}

.cpx_custom_accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
        grid-template-rows var(--cpx-accordion-panel-transition),
        opacity var(--cpx-accordion-transition),
        visibility 0s linear var(--cpx-accordion-panel-duration);
}

.cpx_custom_accordion__item--open .cpx_custom_accordion__panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition:
        grid-template-rows var(--cpx-accordion-panel-transition),
        opacity var(--cpx-accordion-transition),
        visibility 0s linear 0s;
}

.cpx_custom_accordion__panel_inner {
    min-height: 0;
    overflow: hidden;
}

.cpx_custom_accordion__content {
    padding: 0 42px 28px 60px;
    color: var(--cpx-accordion-content-color);
}

.cpx_custom_accordion__content > :first-child {
    margin-top: 0;
}

.cpx_custom_accordion__content > :last-child {
    margin-bottom: 0;
}

.cpx_custom_accordion__content a:not(.button):not(.elementor-button),
.elementor .cpx_custom_accordion__content a:not(.button):not(.elementor-button) {
    color: var(--cpx-accordion-accent-color);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cpx_custom_accordion__content a.button,
.cpx_custom_accordion__content a.elementor-button,
.elementor .cpx_custom_accordion__content a.button,
.elementor .cpx_custom_accordion__content a.elementor-button {
    border-color: var(--cpx-accordion-accent-color);
    background-color: var(--cpx-accordion-accent-color);
}

.cpx_custom_accordion_admin__items {
    margin-top: 12px;
}

.cpx_custom_accordion_admin__item {
    margin: 0 0 12px;
    border: 1px solid #c3c4c7;
    background: #ffffff;
}

.cpx_custom_accordion_admin__item_header {
    min-height: 42px;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px 10px;
    background: #f6f7f7;
    cursor: move;
}

.cpx_custom_accordion_admin__drag_handle {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #50575e;
    cursor: move;
}

.cpx_custom_accordion_admin__item_label {
    flex: 1 1 auto;
}

.cpx_custom_accordion_admin__item_fields {
    padding: 4px 12px 12px;
}

.cpx_custom_accordion_admin__visual_type {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 12px 0;
    padding: 0;
    border: 0;
}

.cpx_custom_accordion_admin__visual_type legend {
    width: 100%;
    margin-bottom: 3px;
}

.cpx_custom_accordion_admin__svg_fields[hidden],
.cpx_custom_accordion_admin__remove_svg[hidden] {
    display: none;
}

.cpx_custom_accordion_admin__svg_preview {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 1px solid #dcdcde;
    background: #ffffff;
}

.cpx_custom_accordion_admin__svg_preview:empty {
    display: none;
}

.cpx_custom_accordion_admin__svg_preview img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.cpx_custom_accordion_admin__editor {
    margin-top: 14px;
}

.cpx_custom_accordion_admin__editor > strong {
    display: block;
    margin-bottom: 6px;
}

.cpx_custom_accordion_admin__editor .wp-media-buttons {
    float: none;
    margin-bottom: 6px;
}

.cpx_custom_accordion_admin__item.ui-sortable-helper {
    box-shadow: 0 3px 12px rgb(0 0 0 / 18%);
}

.cpx_custom_accordion_admin__sortable_placeholder {
    height: 54px;
    margin-bottom: 12px;
    border: 1px dashed #8c8f94;
    background: #f0f6fc;
}

@media (max-width: 767px) {
    .cpx_custom_accordion button.cpx_custom_accordion__trigger,
    .elementor .cpx_custom_accordion button.cpx_custom_accordion__trigger {
        min-height: 72px;
        grid-template-columns: 32px minmax(0, 1fr) 18px;
        column-gap: 14px;
        padding: 19px 0;
    }

    .cpx_custom_accordion__visual {
        width: 32px;
    }

    .cpx_custom_accordion__content {
        padding: 0 32px 22px 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cpx_custom_accordion__panel,
    .cpx_custom_accordion__indicator::before,
    .cpx_custom_accordion__indicator::after {
        transition: none;
    }
}
