body.home .elementor-element.elementor-element-5a97aa7::before,
body .univet-content-wrapper .elementor > .elementor-element.e-con:first-child:has(h1)::before,
body .univet-page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        180deg,
        rgba(7, 43, 80, 0.72) 0%,
        rgba(7, 43, 80, 0.45) 45%,
        rgba(7, 43, 80, 0.88) 100%
    );
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

body.home .elementor-element.elementor-element-5a97aa7 > .elementor-element,
body .univet-content-wrapper .elementor > .elementor-element.e-con:first-child:has(h1) > .elementor-element,
body .univet-content-wrapper .elementor > .elementor-element.e-con:first-child:has(h1) > .e-con-inner,
body .univet-page-title > .univet-container {
    z-index: 2;
}

body .univet-page-title,
body .univet-page-title > .univet-container {
    position: relative;
}

body .univet-page-title,
body .univet-page-title h1,
body .univet-page-title a,
body .univet-page-title .breadcrumb-wrap {
    color: #ffffff;
}

.unikol-pointer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 120ms ease;
}

.unikol-pointer * {
    pointer-events: none;
}

.unikol-pointer.is-visible {
    opacity: 1;
}

.unikol-pointer__ring,
.unikol-pointer__dot {
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.unikol-pointer__ring {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
}

.unikol-pointer__ring::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1.5px solid #00ade2;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(7, 43, 80, 0.25);
    transform: scale(1);
    transition: transform 160ms ease, background-color 160ms ease;
}

.unikol-pointer__dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    box-sizing: border-box;
    border: 1px solid #006b90;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 173, 226, 0.65);
}

.unikol-pointer.is-hovered .unikol-pointer__ring::before {
    transform: scale(1.5);
    background-color: rgba(0, 173, 226, 0.1);
}

.unikol-pointer.is-pressed .unikol-pointer__ring::before {
    transform: scale(0.8);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .unikol-pointer {
        display: block;
    }

    body.unikol-cursor-visible,
    body.unikol-cursor-visible * {
        cursor: none !important;
    }
}

.rstb-template-popup:has(.unikol-newsletter) {
    height: 100dvh;
}

.rstb-template-popup:has(.unikol-newsletter) .popup-overly {
    background: rgba(5, 23, 39, 0.66);
}

.rstb-template-popup:has(.unikol-newsletter) .popup-container {
    max-width: min(760px, calc(100vw - 48px));
    max-height: 80dvh;
    overflow: visible;
    border-radius: 12px;
    background: #f5f5f5;
    box-shadow: 0 24px 80px rgba(4, 23, 37, 0.28);
}

.elementor-element.unikol-newsletter {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 10px;
    height: min(510px, 80dvh);
    min-height: 0;
    max-height: 80dvh;
    overflow: hidden;
    overscroll-behavior: contain;
    border-radius: 12px;
    background: #f5f5f5;
    letter-spacing: 0;
}

.unikol-newsletter .elementor-element.unikol-newsletter-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.unikol-newsletter-image .elementor-widget.unikol-newsletter-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.unikol-newsletter-photo .elementor-widget-container {
    width: 100%;
    height: 100%;
}

.unikol-newsletter-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.unikol-newsletter .elementor-element.unikol-newsletter-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    justify-content: safe center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 28px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.unikol-newsletter-content > .elementor-widget {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    --widgets-spacing: 0px;
}

.unikol-newsletter .unikol-newsletter-logo {
    text-align: left;
}

.unikol-newsletter-logo img {
    width: 150px;
    height: auto;
    max-width: 100%;
}

.unikol-newsletter .elementor-heading-title {
    margin: 0;
    color: #102e40;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: 0;
}

.unikol-newsletter .elementor-widget-text-editor p {
    margin: 0;
    color: #405967;
    font-size: 14px;
    line-height: 1.5;
}

.unikol-newsletter .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unikol-newsletter .wpcf7-form p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.unikol-newsletter .wpcf7-form > p {
    order: 1;
}

.unikol-newsletter .wpcf7-form > p:has(.wpcf7-acceptance) {
    order: 2;
}

.unikol-newsletter .form-btn-area {
    order: 3;
}

.unikol-newsletter .form-btn-area > p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.unikol-newsletter .form-btn-area em {
    display: none;
}

.unikol-newsletter .wpcf7-form-control-wrap {
    display: block;
}

.unikol-newsletter input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 11px 12px;
    border: 1px solid #d7e0e5;
    border-radius: 4px;
    background: #ffffff;
    color: #183a4d;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
}

.unikol-newsletter input[type="email"]::placeholder {
    color: #647985;
    opacity: 1;
}

.unikol-newsletter input[type="email"]:focus {
    border-color: #00ade2;
    outline: 2px solid rgba(0, 173, 226, 0.22);
    outline-offset: 1px;
}

.unikol-newsletter .wpcf7-list-item {
    margin: 0;
}

.unikol-newsletter .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #405967;
}

.unikol-newsletter input[type="checkbox"] {
    appearance: auto;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border: 1px solid #c6d3db;
    accent-color: #008dbb;
}

.unikol-newsletter input[type="submit"] {
    width: auto;
    min-width: 140px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    background: #00ade2;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    transition: background-color 160ms ease;
}

.unikol-newsletter input[type="submit"]:hover {
    background: #078bb7;
}

.unikol-newsletter input[type="submit"]:disabled {
    opacity: 0.6;
}

.unikol-newsletter .wpcf7-spinner {
    margin: 0;
}

.unikol-newsletter .wpcf7-response-output {
    order: 4;
    margin: 0 !important;
    padding: 10px 12px;
    color: #183a4d;
    font-size: 14px;
    line-height: 1.5;
}

.rstb-template-popup:has(.unikol-newsletter) .popup-close {
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 4px;
    background: #f5f5f5;
    color: #183a4d;
}

.rstb-template-popup:has(.unikol-newsletter) .popup-close:hover {
    background: #edf7fa;
}

.rstb-template-popup:has(.unikol-newsletter) .popup-close:focus-visible {
    outline: 2px solid #00ade2;
    outline-offset: 2px;
}

.unikol-newsletter-social .elementor-social-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.unikol-newsletter-social .elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e0e3e5;
    border-radius: 50%;
    background: transparent;
    font-size: 17px;
}

.unikol-newsletter-social .elementor-social-icon i {
    color: #183a4d;
}

.unikol-newsletter-social .elementor-social-icon svg {
    width: 17px;
    height: 17px;
    fill: #183a4d;
}

.unikol-newsletter-social [aria-disabled="true"] {
    pointer-events: none;
}

@media (max-width: 767px) {
    .rstb-template-popup:has(.unikol-newsletter) .popup-container {
        max-width: min(430px, calc(100vw - 32px));
    }

    .elementor-element.unikol-newsletter {
        grid-template-columns: 30% minmax(0, 1fr);
        height: min(540px, 80dvh);
        padding: 8px;
    }

    .unikol-newsletter .elementor-element.unikol-newsletter-content {
        gap: 10px;
        padding: 20px 12px;
    }

    .unikol-newsletter-logo img {
        width: 112px;
    }

    .unikol-newsletter .elementor-heading-title {
        font-size: 20px;
    }

    .unikol-newsletter .elementor-widget-text-editor p {
        font-size: 13px;
    }

    .unikol-newsletter .wpcf7-form p {
        font-size: 12.5px;
        line-height: 1.4;
    }

    .unikol-newsletter input[type="submit"] {
        width: 100%;
        min-height: 44px;
        padding: 10px 20px;
    }

    .unikol-newsletter input[type="email"] {
        height: 44px;
        padding: 9px 12px;
    }

    .unikol-newsletter-social .elementor-social-icons-wrapper {
        gap: 8px;
    }

    .unikol-newsletter-social .elementor-social-icon {
        width: 30px;
        height: 30px;
    }

    .unikol-newsletter .form-btn-area > p {
        position: relative;
        gap: 0;
    }

    .unikol-newsletter .form-btn-area br {
        display: none;
    }

    .unikol-newsletter .wpcf7-spinner {
        position: absolute;
        right: 10px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .rstb-template-popup:has(.unikol-newsletter) .popup-container {
        max-width: min(680px, calc(100vw - 48px));
    }

    .elementor-element.unikol-newsletter {
        grid-template-columns: 35% minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rstb-template-popup:has(.unikol-newsletter),
    .rstb-template-popup:has(.unikol-newsletter) .popup-container {
        animation: none;
    }
}

@media (max-width: 767px), (max-width: 1023px) and (orientation: landscape) and (max-height: 600px) {
    .elementor-element.unikol-newsletter .unikol-newsletter-photo img {
        object-fit: contain;
    }
}
