a.acf-icon {
    text-decoration: none !important;
}

a.acf-icon:hover {
    color: var(--wp--preset--color--primary);
    border-color: currentColor;
}

.acf-icon.dark {
    background: var(--wp--preset--color--primary);
}

a.acf-icon.dark:hover {
    background: var(--wp--preset--color--base);
}

a.acf-icon.-minus:hover,
a.acf-icon.-cancel:hover {
    color: var(--wp--custom--color--error);
    border-color: currentColor;
}

.acf-icon.-plus::before,
.acf-icon.-minus::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 12px;
    line-height: 14px;
}

.acf-icon.-plus::before {
    content: '\f067';
}

.acf-icon.-minus::before {
    content: '\f1f8';
}

.acf-url i {
    top: 50%;
    transform: translate(0, -50%);
}

.acf-required {
    color: var(--wp--custom--color--error);
}

.acf-notice-dismiss {
    display: none;
}

.acf-tooltip.-confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* acf-fields */
.acf-fields.-border:not(.-left) {
    border: 0;
    border-radius: var(--wp--custom--border-radius--regular);
    box-shadow: var(--wp--custom--box-shadow--regular);
}

.acf-fields.-left {
    border: 0;
    margin-top: -0.5em;
}

.acf-fields.-left > .acf-field::before {
    top: 0.5em;
    border: 0;
    background: var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
}

@media (min-width: 641px) {
    .acf-fields.-left > .acf-field > .acf-label {
        padding: 0.5em 0.5em;
    }
}

.acf-fields.acf-form-fields {
    display: flex;
    flex-direction: column;
    margin: -0.5em !important;
}

.acf-fields.acf-form-fields .acf-field:not([data-width]) {
    width: 100%;
}

@media (max-width: 767.98px) {
    .acf-fields.acf-form-fields .acf-field[data-width] {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .acf-fields.acf-form-fields {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/*  acf-field-group */
.acf-field-group > .acf-label {
    margin-bottom: 0.25em;
}

.acf-field-group > .acf-label label {
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    line-height: 1.25;
}

/* acf-field */
.acf-fields > .acf-field {
    border: 0;
    margin: 0;
    padding: 0.5em;
    min-height: auto !important;
}

.acf-fields.-left > .acf-field {
    padding: 0.5em 0;
}

.acf-field .acf-label {
    margin: 0 0 0.3em;
}

.acf-field.-label-hidden .acf-label {
    display: none;
}

.acf-field .acf-label p,
.acf-field p.description {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--text-secondary);
    margin: 0.25em 0 0.5em;
}

.acf-table > thead > tr > th p.description,
.acf-fields.-left > .acf-field > .acf-label p.description {
    font-size: var(--wp--preset--font-size--small);
    margin: 0.25em 0 0;
}

.acf-field .acf-input {
    display: flex;
    flex-direction: column;
}

.acf-field .acf-input-wrap,
.acf-field .select__wrapper,
.acf-field .acf-checkbox-list,
.acf-field .acf-radio-list,
.acf-field .acf-true-false,
.acf-field .select2,
.acf-field .acf-range-wrap,
.acf-field .acf-relationship,
.acf-field .acf-button-group,
.acf-field textarea {
    order: -1;
}

.acf-field .acf-input-wrap {
    overflow: visible;
}

.acf-field .acf-readonly-value {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 400;
    padding-top: 0.3em;
    display: block;
}

.acf-field .acf-input-flex {
    display: flex;
    order: -1;
}

.acf-field .acf-input-flex .acf-input-wrap {
    flex: 1;
}

.acf-field .acf-input-prepend,
.acf-field .acf-input-append {
    display: none;
}

.acf-field .acf-input-flex .acf-input-prepend,
.acf-field .acf-input-flex .acf-input-append {
    background: var(--wp--preset--color--neutral);
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    color: var(--wp--preset--color--text-secondary);
}

.acf-field .acf-input-flex .acf-input-prepend {
    order: -1;
    border-radius: var(--wp--custom--border-radius--regular) 0 0 var(--wp--custom--border-radius--regular);
}

.acf-field .acf-input-flex .acf-input-append {
    order: 1;
    border-radius: 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0;
}

.acf-field .acf-input-flex .acf-input-wrap .acf-is-prepended {
    border-radius: 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0 !important;
}

.acf-field .acf-input-flex .acf-input-wrap .acf-is-appended {
    border-radius: var(--wp--custom--border-radius--regular) 0 0 var(--wp--custom--border-radius--regular) !important;
}

.acf-field .acf-input-flex .acf-input-wrap .acf-is-prepended.acf-is-appended {
    border-radius: 0 !important;
}

.acf-field input[type='text'],
.acf-field input[type='password'],
.acf-field input[type='date'],
.acf-field input[type='datetime'],
.acf-field input[type='datetime-local'],
.acf-field input[type='email'],
.acf-field input[type='month'],
.acf-field input[type='number'],
.acf-field input[type='search'],
.acf-field input[type='tel'],
.acf-field input[type='time'],
.acf-field input[type='url'],
.acf-field input[type='week'],
.acf-field textarea,
.acf-field select {
    padding: 1em 1em;
    font-size: var(--wp--preset--font-size--small);
}

.acf-field.acf-error:not(.acf-field-relationship) input[type='text'],
.acf-field.acf-error input[type='password'],
.acf-field.acf-error input[type='date'],
.acf-field.acf-error input[type='datetime'],
.acf-field.acf-error input[type='datetime-local'],
.acf-field.acf-error input[type='email'],
.acf-field.acf-error input[type='month'],
.acf-field.acf-error input[type='number'],
.acf-field.acf-error input[type='search'],
.acf-field.acf-error input[type='tel'],
.acf-field.acf-error input[type='time'],
.acf-field.acf-error input[type='url'],
.acf-field.acf-error input[type='week'],
.acf-field.acf-error textarea,
.acf-field.acf-error:not(.acf-field-relationship) select {
    border-color: var(--wp--custom--color--error);
}

.acf-field .select__wrapper:not(.select__wrapper--multiple) select {
    padding: 1em 2.5em 1em 1em;
}

.acf-field .acf-notice.-error {
    background: none;
    color: var(--wp--custom--color--error);
    padding: 0;
    margin: 0.25em;
}

.acf-field .acf-notice p {
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: 400;
}

.acf-field .acf-notice p em {
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .acf-field .acf-input-flex {
        flex-direction: column;
    }

    .acf-field .acf-input-flex .acf-input-prepend {
        border-radius: var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0 0;
    }

    .acf-field .acf-input-flex .acf-input-append {
        border-radius: 0 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular);
    }

    .acf-field .acf-input-flex .acf-input-wrap .acf-is-prepended {
        border-radius: 0 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) !important;
    }

    .acf-field .acf-input-flex .acf-input-wrap .acf-is-appended {
        border-radius: var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0 0 !important;
    }
}

/* acf-spinner */
.acf-spinner {
    display: none;
}

form.is-validating .acf-spinner {
    display: block;
    margin-left: 0.5em;
}

/* acf-input-search */
.acf-input-search input[type="text"] {
    padding-left: 3em;
}

.acf-input-search .acf-input-wrap {
    position: relative;
}

.acf-input-search .acf-input-wrap::before {
    content: '\f002';
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    transform: translate(1.1em, -50%);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--neutral);
    transition: color 0.3s ease;
}

.acf-input-search .acf-input-wrap:has(input[type="text"]:hover)::before,
.acf-input-search .acf-input-wrap:has(input[type="text"]:focus)::before {
    color: var(--wp--preset--color--text-primary);
}

/* acf-accordion */
.acf-accordion .acf-accordion-title {
    padding: 0.6em 1.2em;
    margin: 0;
    border: 1px solid var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.acf-accordion:hover .acf-accordion-title {
    border-color: var(--wp--preset--color--text-primary);
}

.acf-accordion.-open .acf-accordion-title {
    border-radius: var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0 0;
    border-bottom: 0;
}

.acf-accordion .acf-accordion-title .acf-accordion-icon {
    display: none;
}

.acf-accordion .acf-accordion-title label {
    display: block;
    font-weight: 400;
    cursor: pointer;
}

.acf-accordion .acf-accordion-title label::after {
    content: '\f078';
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    position: absolute;
    top: 50%;
    right: 1em;
    z-index: 1;
    transform: translate(0, -50%);
}

.acf-accordion:not(.-open):has(label.selected) .acf-accordion-title label::after {
    content: '\f0b0';
    font-weight: 900;
}

.acf-accordion.-open .acf-accordion-title label::after {
    content: '\f077';
}

.acf-accordion .acf-accordion-content {
    padding: 0 1.2em 0.6em;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.acf-accordion:not(.-open) .acf-accordion-content {
    display: none;
    opacity: 0;
}

.acf-accordion.-open .acf-accordion-content {
    border: 1px solid var(--wp--preset--color--neutral);
    border-top: 0;
    border-radius: 0 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular);
    opacity: 1;
}

.acf-accordion.-open:hover .acf-accordion-content {
    border-color: var(--wp--preset--color--text-primary);
}

.acf-accordion .acf-fields {
    margin: -0.5em;
}

/* acf-button-group */
.acf-field-button-group .acf-input {
    overflow: auto;
}

.acf-button-group label {
    padding: 1em 1em;
    border: 1px solid var(--wp--preset--color--neutral);
    font-weight: 400;
    cursor: pointer;
}

.acf-button-group label:first-child {
    border-radius: var(--wp--custom--border-radius--regular) 0 0 var(--wp--custom--border-radius--regular);
}

.acf-button-group label:last-child {
    border-radius: 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0;
}

.acf-button-group label:hover {
    background: none;
    color: currentColor;
    border-color: var(--wp--preset--color--primary);
}

.acf-button-group label.selected {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .acf-button-group {
        display: flex;
        flex-direction: column;
        padding: 0;
        padding-top: 1px;
    }

    .acf-button-group label {
        margin: -1px 0 0 0;
    }

    .acf-button-group label:first-child {
        border-radius: var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0 0;
    }

    .acf-button-group label:last-child {
        border-radius: 0 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular);
    }
}

/* acf-list */
ul.acf-radio-list,
ul.acf-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.3em 1em;
    border: 0 !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.acf-radio-list.acf-hl,
ul.acf-checkbox-list.acf-hl {
    flex-direction: row;
    flex-wrap: wrap;
}

ul.acf-radio-list::before,
ul.acf-radio-list::after,
ul.acf-checkbox-list::before,
ul.acf-checkbox-list::after {
    content: none;
}

ul.acf-radio-list li,
ul.acf-checkbox-list li {
    line-height: var(--wp--custom--line-heigt--body);
}

ul.acf-radio-list li label,
ul.acf-checkbox-list li label {
    font-size: var(--wp--preset--font-size--small);
}

ul.acf-radio-list li input[type='checkbox'],
ul.acf-radio-list li input[type='radio'],
ul.acf-checkbox-list li input[type='checkbox'],
ul.acf-checkbox-list li input[type='radio'] {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}

ul.acf-radio-list li label,
ul.acf-checkbox-list li label {
    display: flex;
    font-weight: 400;
    cursor: pointer;
    gap: 0.5em;
    align-items: baseline;
}

ul.acf-radio-list label::before,
ul.acf-checkbox-list label::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 1em;
    transform: translate(0, 0.05em);
}

ul.acf-radio-list label::before {
    content: '\f111';
}

ul.acf-radio-list label:hover::before {
    content: '\f111';
}

ul.acf-radio-list label.selected::before {
    content: '\f192';
    font-weight: 900;
}

.acf-error ul.acf-radio-list label::before {
    content: '\f111';
    color: var(--wp--custom--color--error);
}

ul.acf-checkbox-list label::before {
    content: '\f0c8';
}

ul.acf-checkbox-list label:hover::before {
    content: '\f0c8';
}

ul.acf-checkbox-list label.selected::before {
    content: '\f14a';
    font-weight: 900;
}

.acf-error ul.acf-checkbox-list label::before {
    content: '\f0c8';
    color: var(--wp--custom--color--error);
}

/* acf-range */
.acf-range-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.acf-range-wrap input[type='number'] {
    margin: 0;
    width: 100% !important;
}

@media (min-width: 576px) {
    .acf-range-wrap {
        flex-direction: row;
        align-items: center;
    }

    .acf-range-wrap input[type='number'] {
        width: 8em !important;
    }
}

/* acf-relationship */
.acf-relationship {
    border: 1px solid var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
    overflow: hidden;
}

.acf-error .acf-relationship {
    border-color: var(--wp--custom--color--error);
}

.acf-relationship .filters {
    border-bottom: 1px solid var(--wp--preset--color--neutral);
}

.acf-relationship .filters .filter input {
    padding: 0.3em 0.5em;
}

.acf-relationship .filters .filter select {
    padding: 0.5em;
}

.acf-relationship .selection .list {
    height: 240px;
}

.acf-relationship .selection .choices .list {
    border-right: 1px solid var(--wp--preset--color--neutral);
}

.acf-relationship .selection .choices .list li {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--text-secondary);
}

.acf-relationship .selection .values .list li.ui-sortable-placeholder {
    visibility: visible !important;
    background: var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
}

.acf-relationship .list .acf-rel-label {
    font-size: var(--wp--preset--font-size--small);
}

.acf-relationship .list .acf-rel-item {
    font-size: var(--wp--preset--font-size--small);
    border-radius: var(--wp--custom--border-radius--regular);
    padding: 0.5em 0.5em;
}

.acf-relationship .list .acf-rel-item:hover {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}

.acf-relationship .selection .values .acf-icon {
    top: 50%;
    transform: translate(0, -50%);
}

/* acf-repeater */
.acf-repeater {
    width: 100%;
}

.acf-repeater.-block > table,
.acf-repeater.-row > table,
.acf-repeater.-table > table {
    border-spacing: 0 0.5em;
    margin: 0 0 0.5em;
    background: var(--wp--preset--color--base);
}

.acf-repeater .acf-row-handle.order {
    font-size: var(--wp--preset--font-size--small);
    text-shadow: none;
    color: var(--wp--preset--color--text-secondary);
    background: var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
    border: 0;
}

.acf-repeater .acf-row-handle.order + td {
    border: 0;
}

.acf-repeater .acf-row-handle.remove {
    background: var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
    border: 0;
}

.acf-repeater > table > tbody > tr.ui-sortable-helper {
    box-shadow: none;
}

.acf-repeater > table > tbody > tr.ui-sortable-placeholder td {
    background: var(--wp--preset--color--neutral);
    border-radius: var(--wp--custom--border-radius--regular);
    border: 0;
}

/* acf-table */
.acf-table {
    border: 0;
}

.acf-table > tbody > tr > th,
.acf-table > tbody > tr > td,
.acf-table > thead > tr > th,
.acf-table > thead > tr > td {
    padding: 0.5em;
    border: 0;
}

.acf-table > thead > tr > th {
    background: var(--wp--preset--color--neutral);
    border: 0;
    padding: 0.5em;
}

.acf-table > thead > tr > th:first-child {
    border-radius: var(--wp--custom--border-radius--regular) 0 0 var(--wp--custom--border-radius--regular);
}

.acf-table > thead > tr > th:last-child {
    border-radius: 0 var(--wp--custom--border-radius--regular) var(--wp--custom--border-radius--regular) 0;
}

.acf-table .acf-fields.-left > .acf-field::before {
    left: 0.5em;
    width: calc(20% - 0.5em);
}

@media (min-width: 641px) {
    .acf-table .acf-fields.-left > .acf-field > .acf-label {
        padding: 0.5em 0.5em 0.5em 1em;
    }
}

/* acf-true-false */
.acf-true-false input {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}

.acf-true-false label {
    cursor: pointer;
    font-weight: 400;
}

.acf-true-false .message {
    position: relative;
    display: block;
    padding-left: 2em;
    font-weight: 400;
    margin-top: 0.5em;
}

.acf-true-false .message::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    content: '\f0c8';
    font-family: "Font Awesome 6 Pro";
    font-size: 1.5rem;
    transform: translate(0, 0);
    line-height: normal;
}

.acf-true-false input:hover + .message::before {
    content: '\f0c8';
    color: var(--wp--preset--color--primary);
}

.acf-true-false input:checked + .message::before {
    content: '\f14a';
    font-weight: 900;
    color: var(--wp--preset--color--primary);
}

.acf-field.acf-error .acf-true-false .message::before {
    content: '\f0c8';
    color: var(--wp--custom--color--error);
}
