.block-accordion .wp-block-details summary::after {
    content: '';
    border-bottom: 2px solid;
    border-right: 2px solid;
    content: '';
    display: block;
    height: 0.5em;
    position: absolute;
    right: 0;
    top: 45%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.5em;
}

.block-accordion .wp-block-details[open] summary::after {
    top: 50%;
    transform: translateY(-50%) rotate(-135deg);
}

/**/

[data-carousel-item] {
    position: absolute;
    top: 0;
    left: 100%; /* Start offscreen to the right */
    width: 100%;
    /* height: 100%; */
    transition: transform 0.5s ease-in-out, visibility 0s 0.5s; /* Smooth slide transition with visibility delay */
    visibility: hidden; /* Hide items initially */
}

[data-carousel-item].active {
    left: 0; /* Move into view */
    transform: translateX(0);
    visibility: visible;
    z-index: 1;
    transition: transform 0.5s ease-in-out, visibility 0s 0s; /* No delay on visibility for the active slide */
}

[data-carousel-item].prev {
    left: 0;
    transform: translateX(-100%);
    z-index: 0;
    visibility: hidden;
}

[data-carousel-item].next {
    left: 0;
    transform: translateX(100%);
    z-index: 0;
    visibility: hidden;
}

/**/

.custom-cta {
    overflow: hidden;
}

.custom-cta::after {
    background-image: url(../../images/cta-shape.svg);
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 1295px;
    position: absolute;
    right: -20%;
    top: 157%;
    transform: translateY(-50%);
    width: 1177px;
}

.custom-cta .container {
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .custom-cta::after {
        display: none;
    }
}

/**/

.custom-hero {
    overflow: hidden;
}

.custom-hero::before {
    background-image: url(../../images/shape-hero.svg);
    background-repeat: no-repeat;
    bottom: -250px;
    content: '';
    display: block;
    height: 1014px;
    position: absolute;
    right: 50%;
    transform: translateX(70%);
    width: 880px;
    z-index: 1;
}

.custom-hero .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .custom-hero::before {
        display: none;
    }
}

/**/

.frm-show-form .frm_form_field > .frm_primary_label {
    color: #fff;
}

.frm-show-form input[type="text"], .frm-show-form input[type="email"], .frm-show-form input[type="tel"], .frm-show-form input[type="url"], .frm-show-form input[type="number"], .frm-show-form select, .frm-show-form textarea {
    background-color: rgb(0 0 0 / 0.25);
    border: 1px solid rgb(255 255 255 / 0.15);
    border-radius: .5rem;
    color: #fff;
    font-size: 14px !important;
    line-height: 1;
    padding: 16px !important;
}

.frm-show-form input[type="text"]:focus, .frm-show-form input[type="email"]:focus, .frm-show-form input[type="tel"]:focus, .frm-show-form input[type="url"]:focus, .frm-show-form input[type="number"]:focus, .frm-show-form select:focus, .frm-show-form textarea:focus {
    border-color: #fff;
}

.frm-show-form select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' aria-hidden='true' viewBox='0 0 10 6'%3E%3Cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3E%3C/svg%3E") !important;
    padding: 20px 32px 20px 16px !important;
}

.frm-show-form select option {
    background-color: #fff;
    color: #000;
}

.frm-show-form textarea {
    height: 150px;
}

.frm-show-form .frm_submit .frm_button_submit, .frm-show-form .frm_submit .frm_button_submit:hover {
    background-color: #f16848;
    border-radius: .5rem;
}

.frm-show-form .frm_blank_field select, .frm-show-form .frm_blank_field input[type=text], .frm-show-form .frm_blank_field input[type=password], .frm-show-form .frm_blank_field input[type=url], .frm-show-form .frm_blank_field input[type=tel], .frm-show-form .frm_blank_field input[type=number], .frm-show-form .frm_blank_field input[type=email], .frm-show-form .frm_blank_field textarea, .frm-show-form .frm_blank_field .mce-edit-area iframe, .frm-show-form .frm_blank_field .frm-g-recaptcha iframe, .frm-show-form .frm_blank_field .g-recaptcha iframe, .frm-show-form .frm_blank_field .frm-card-element.StripeElement, .frm-show-form .frm_blank_field .chosen-container-multi .chosen-choices, .frm-show-form .frm_blank_field .chosen-container-single .chosen-single, .frm-show-form .frm_form_field :invalid {
    background-color: rgb(255 0 0 / 10%);
    color: #f00;
}

@media (max-width: 768px) {
    .frm-show-form .frm_fields_container {
        column-gap: 0;
    }
}

/**/

#content.single-location {
    overflow: hidden;
}
