.elementor-widget-section-overlap-ew {
    overflow: visible;
}

.ew-overlap {
    --ew-max-width: 1120px;
    --ew-card-width: 46%;
    --ew-overlap: 60px;
    --ew-image-height: 540px;
    --ew-card-min-height: 440px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--ew-max-width);
    margin: 0 auto;
    padding: 70px 20px;
    overflow: visible;
    isolation: isolate;
}

.ew-overlap-unified {
    display: contents;
}

.ew-overlap-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 var(--ew-card-width);
    width: var(--ew-card-width);
    min-height: var(--ew-card-min-height);
    align-items: center;
    justify-content: center;
    padding: 65px 50px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, .22);
    text-align: center;
}

.ew-overlap-card,
.ew-overlap-image {
    box-sizing: border-box;
}

.ew-overlap-card-left .ew-overlap-image {
    margin-left: calc(var(--ew-overlap) * -1);
}

.ew-overlap-card-right {
    flex-direction: row-reverse;
}

.ew-overlap-card-right .ew-overlap-image {
    margin-right: calc(var(--ew-overlap) * -1);
}

.ew-overlap-card-content {
    width: 100%;
}

.ew-overlap-title {
    margin: 0 0 25px;
    color: #17120e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

.ew-overlap-ornament {
    display: flex;
    justify-content: center;
    margin: 0 0 24px;
}

.ew-overlap-ornament img {
    display: block;
    width: 54px;
    height: auto;
    margin: 0;
}

.ew-overlap-separator {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 14px 0;
}

.ew-overlap-separator-line {
    display: block;
    width: 70px;
    height: 0;
    border: 0;
    border-top: 1px solid #c99b5b;
}

.ew-overlap-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.ew-overlap-contact-item {
    min-width: 0;
    padding: 10px;
    background: transparent;
}

.ew-overlap-contact-visual {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    color: #c99b5b;
    vertical-align: top;
}

.ew-overlap-contact-visual i {
    display: block;
    color: inherit;
    font-size: 42px;
    line-height: 1;
}

.ew-overlap-contact-visual svg,
.ew-overlap-contact-visual img {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0;
}

.ew-overlap-contact-visual svg {
    fill: currentColor;
}

.ew-overlap-contact-visual img {
    object-fit: contain;
}

.ew-overlap-contact-title {
    margin: 0;
    color: #17120e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
}

.ew-overlap-contact-separator {
    width: 100%;
    margin: 10px 0;
    line-height: 0;
}

.ew-overlap-contact-separator-line {
    display: inline-block;
    width: 38px;
    height: 0;
    border: 0;
    border-top: 1px solid #c99b5b;
    vertical-align: top;
}

.ew-overlap-contact-text {
    color: #171717;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.ew-overlap-contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.ew-overlap-contact-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.ew-overlap-contact-links a {
    display: block;
}

.ew-overlap-contact-text a:hover,
.ew-overlap-contact-text a:focus {
    color: #a97839;
}

.ew-overlap-contact-text a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.ew-overlap-description {
    color: #171717;
    font-size: 17px;
    line-height: 1.55;
}

.ew-overlap-description > :first-child {
    margin-top: 0;
}

.ew-overlap-description > :last-child {
    margin-bottom: 0;
}

.ew-overlap-button {
    display: inline-block;
    margin-top: 25px;
    padding: 0 0 7px;
    color: #c99b5b;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.ew-overlap-button:hover,
.ew-overlap-button:focus {
    color: #a97839;
    transform: translateY(-2px);
}

.ew-overlap-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.ew-overlap-image {
    --ew-image-position: center center;
    --ew-image-position-x: 50%;
    --ew-image-position-y: 50%;
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    height: var(--ew-image-height);
    overflow: hidden;
    border-radius: 4px;
    background: #ece9e3;
}

.ew-overlap-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--ew-image-position);
}

.ew-overlap-animation-fade {
    animation: ew-overlap-fade .75s ease both;
}

.ew-overlap-animation-fade-up {
    animation: ew-overlap-fade-up .75s cubic-bezier(.2, .7, .2, 1) both;
}

.elementor-editor-active .ew-overlap {
    animation: none;
}

@keyframes ew-overlap-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ew-overlap-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .ew-overlap {
        --ew-card-width: 48%;
        --ew-overlap: 40px;
        --ew-image-height: 470px;
        --ew-card-min-height: 400px;
    }

    .ew-overlap-card {
        padding: 48px 35px;
    }
}

@media (max-width: 767px) {
    .ew-overlap,
    .ew-overlap-card-right {
        --ew-image-height: 205px;
        --ew-card-min-height: 300px;
        flex-direction: column;
        align-items: center;
        padding: 30px 5px;
    }

    .ew-overlap-unified {
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 8px 18px rgba(24, 20, 16, .1);
    }

    .ew-overlap-image,
    .ew-overlap-card-left .ew-overlap-image,
    .ew-overlap-card-right .ew-overlap-image {
        order: 1;
        width: 100%;
        height: var(--ew-image-height);
        margin: 0;
        border-radius: 0 !important;
    }

    .ew-overlap-card {
        order: 2;
        flex-basis: auto;
        width: 100%;
        min-height: var(--ew-card-min-height);
        margin: 0;
        padding: 32px 20px;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .ew-overlap-title {
        font-size: 27px;
    }

    .ew-overlap-description {
        font-size: 16px;
    }

    .ew-overlap-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ew-overlap,
    .ew-overlap-button,
    .ew-overlap-contact-text a {
        animation: none !important;
        transition: none !important;
    }
}
