.wp-site-blocks:has(> header .contentSuscribe) {
    display: flow-root;
}

.wp-site-blocks > .contentElementHeader,
.wp-site-blocks > header:has(.contentElementHeader),
.wp-site-blocks > .wp-block-template-part:has(> .contentElementHeader) {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
}

.admin-bar .wp-site-blocks > .contentElementHeader,
.admin-bar .wp-site-blocks > header:has(.contentElementHeader),
.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .contentElementHeader) {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.contentSuscribe .wp-block-button .cnmv-subscribe,
:is(#pum-9655, #pum-9659) .wpcf7-form .wpcf7-submit {
    border: 1px solid #a6193a;
    border-radius: 4px;
    background: #a6193a;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    min-height: 44px;
    padding: .55rem .8rem;
    text-decoration: none;
}

.contentSuscribe .wp-block-button .cnmv-subscribe:hover,
:is(#pum-9655, #pum-9659) .wpcf7-form .wpcf7-submit:hover {
    background: #85142f;
    border-color: #85142f;
    color: #fff;
}

.contentSuscribe .wp-block-button .cnmv-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 190px;
    min-height: 60px;
    border-radius: 3px;
    font-size: .9rem;
}

.cnmv-subscribe-envelope {
    position: relative;
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    height: 12px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}

.cnmv-subscribe-envelope::before {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.contentSuscribe .wp-block-button .cnmv-subscribe:focus-visible,
:is(#pum-9655, #pum-9659) .wpcf7-form :is(.wpcf7-submit, input[type="email"]):focus-visible {
    outline: 2px solid #242424;
    outline-offset: 2px;
}

:is(#pum-9655, #pum-9659) .wpcf7-form :is(.wpcf7-submit, input[type="email"]) {
    box-sizing: border-box;
    width: 100%;
}

:is(#pum-9655, #pum-9659) .wpcf7-form input[type="email"] {
    background: #fff;
    border: 1px solid #646464;
    border-radius: 4px;
    color: #242424;
    min-height: 44px;
    padding: .55rem .7rem;
}

:is(#pum-9655, #pum-9659) .wpcf7-form input[type="email"]::placeholder {
    color: #5a5a5a;
    opacity: 1;
}

:is(#pum-9655, #pum-9659) .wpcf7-form input[type="email"]:focus::placeholder {
    opacity: 0;
}

:is(#pum-9655, #pum-9659) .wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}

:is(#pum-9655, #pum-9659) .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

:is(#pum-9655, #pum-9659) .wpcf7-acceptance input[type="checkbox"] {
    position: static;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: #a6193a;
}

:is(#pum-9655, #pum-9659) .wpcf7-acceptance .wpcf7-list-item-label {
    float: none;
    padding-left: 0;
    line-height: 1.4;
}

:is(#pum-9655, #pum-9659) .wpcf7-acceptance .wpcf7-list-item-label::before,
:is(#pum-9655, #pum-9659) .wpcf7-acceptance .wpcf7-list-item-label::after {
    content: none;
}

:is(#pum-9655, #pum-9659) .wpcf7 form .wpcf7-response-output {
    box-sizing: border-box;
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 0;
    border-left: 4px solid #a6193a;
    border-radius: 4px;
    background: #fbeef1;
    color: #6d1026;
    font-size: 14px;
    line-height: 1.45;
}

:is(#pum-9655, #pum-9659) .wpcf7 form.sent .wpcf7-response-output {
    padding-left: 40px;
    border-left-color: #2e7d32;
    background: #edf7ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat 14px 50% / 16px;
    color: #1e4620;
}

:is(#pum-9655, #pum-9659) .wpcf7-form .wpcf7-submit:disabled {
    cursor: not-allowed;
    opacity: .65;
}

@media (max-width: 767px) {
    :is(#pum-9655, #pum-9659) .pum-container {
        box-sizing: border-box;
        width: calc(100% - 24px) !important;
        left: 12px !important;
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        background-size: auto 112px;
        background-position: left top;
        padding: 128px 20px 24px;
    }
}

@media (min-width: 767px) and (max-width: 880px) {
    header .contentElementHeader .wp-block-site-title {
        max-width: 180px;
    }
}

@media (max-width: 766px) {
    header:has(.contentSuscribe) {
        --cnmv-subscribe-row: 56px;
    }

    header .contentElementHeader .contentSuscribe {
        inset: calc(100% + 6px) 12px auto;
        z-index: 1;
    }

    header .contentElementHeader:has(.contentSuscribe) {
        margin-bottom: var(--cnmv-subscribe-row);
    }

    header .contentElementHeader:has(.contentSuscribe) > form.wp-block-search {
        top: calc(100% + var(--cnmv-subscribe-row));
    }

    header:has(.contentSuscribe) .contentMenuHeaderNav .wp-block-navigation__responsive-container-open {
        translate: 0 calc(-1 * var(--cnmv-subscribe-row));
    }

    .contentSuscribe .wp-block-button,
    .contentSuscribe .wp-block-button .cnmv-subscribe {
        width: 100%;
        min-width: 0;
    }

    .contentSuscribe .wp-block-button .cnmv-subscribe {
        min-height: 44px;
    }
}

@media (max-width: 450px) {
    header .contentElementHeader .wp-block-site-logo img {
        width: 64px;
    }

    header .contentElementHeader .wp-block-site-title {
        max-width: 145px;
    }
}
