.custom-newsletter-section {
    border-radius: 24px;
    background: #275E43;
    margin: 0 0 112px;
}

.custom-newsletter-section .container {
    padding: 0;
}

.custom-newsletter-section__area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 64px 32px;
    position: relative;
}

.custom-decor-smaller {
    position: absolute;
    top: 0;
    left: 50%;
}

.custom-decor-smaller img {
    margin-bottom: 0 !important;
}

.custom-decor-bigger {
    position: absolute;
    bottom: 0;
    right: 0;
}

.custom-decor-bigger img {
    margin-bottom: 0 !important;
    vertical-align: bottom;
}

.custom-newsletter-section__info {
    max-width: 644px;
    width: 55%;
}

.custom-newsletter-section__title {
    color: #FFF;
    font-weight: 600;
    margin-bottom: 16px !important;
}

.custom-newsletter-section__text {
    color: #FFF;
}

.custom-newsletter-section__form {
    position: relative;
    z-index: 9;
}

.custom-newsletter-section__form form.invalid .newsletter-form__email .wpcf7-not-valid-tip,
.custom-newsletter-section__form form.wpcf7-acceptance-as-validation.init .newsletter-form__email .wpcf7-not-valid-tip {
    display: none !important;
}

.custom-newsletter-section__form form.invalid .newsletter-form__row {
    border: 4px solid #e71313;
}

.newsletter-form__row {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 48px;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 12px;
}

.newsletter-form__email {
    flex: 1;
    min-width: 0;
}

.newsletter-form__email .wpcf7-form-control-wrap {
    display: block;
    height: 100%;
}

.newsletter-form__email input {
    width: 100%;
    height: 100%;
    min-height: 46px;
    padding: 0 10px 0 16px;
    border: 0;
    outline: 0;
    background: #fff;
    color: #29384a;
    font-size: 14px;
    box-shadow: none;
}

.newsletter-form__email input::placeholder {
    color: #718096;
    opacity: 1;
}

.newsletter-form__submit {
    display: flex;
}

.newsletter-form__submit input[type="submit"] {
    min-width: 125px;
    height: 100%;
    margin: 0;
    padding: 0 22px !important;
    border: 0;
    border-radius: 10px;
    background: #8db344 !important;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s ease-in-out !important;
}

.newsletter-form__submit input[type="submit"]:hover {
    background: #7ca039;
}

.newsletter-form__privacy {
    margin-top: 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    line-height: 1.4;
}

.newsletter-form__privacy .wpcf7-list-item {
    margin: 0;
}

.newsletter-form__privacy .wpcf7-list-item .wpcf7-list-item-label {
    color: #fff;
}

.newsletter-form__privacy label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.newsletter-form__privacy input[type="checkbox"] {
    width: 11px;
    height: 11px;
    margin: 0;
    accent-color: #8db344;
}

.newsletter-form__privacy a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

.newsletter-form__privacy a:hover {
    color: #fff;
}

.newsletter-form__privacy .wpcf7-not-valid-tip {
    background: transparent !important;
    color: #e71313 !important;;
    box-shadow: unset !important;
}

/* CF7 poruke */
.newsletter-form .wpcf7-spinner {
    position: absolute;
    margin: 12px 0 0 12px;
}

@media (max-width: 1199px) {
    .custom-newsletter-section__area {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .custom-decor-smaller {
        left: -15px;
    }

    .custom-decor-bigger {
        right: -15px;
    }
}

@media (max-width: 767px) {
    .custom-newsletter-section {
        margin: 0 0 64px;
    }

    .custom-newsletter-section__area {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
    }

    .custom-newsletter-section__info {
        width: 100%;
    }
}

.wpcf7 .wpcf7-response-output {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999999;
    min-width: 320px;
    max-width: 420px;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-left: 5px solid transparent;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.18);
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px);
    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #edf9ef;
    color: #1d5d2d;
    border-left-color: #41b95a;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    background: #fff0f0;
    color: #9b2d2d;
    border-left-color: #de5b5b;

    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .wpcf7 .wpcf7-response-output {
        left: 15px;
        right: 15px;
        bottom: 15px;
        min-width: auto;
        max-width: none;
    }
}



