/* DitIsCrypto layout polish after performance CSS migration. */

.crypto-home-redesign .crypto-hero-actions,
.crypto-home-redesign .crypto-hero .crypto-hero-actions.wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.crypto-home-redesign .crypto-hero-actions .wp-block-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

.crypto-home-redesign .crypto-hero-actions .wp-block-button__link {
    min-width: min(100%, 230px);
}

.crypto-home-redesign .crypto-cta-section #mailpoet_form_1 form.mailpoet_form,
body.page-id-222 #mailpoet_form_1 form.mailpoet_form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    width: min(100%, 860px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_paragraph,
body.page-id-222 #mailpoet_form_1 .mailpoet_paragraph {
    width: auto !important;
    margin: 0 !important;
}

.crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_paragraph:first-of-type,
body.page-id-222 #mailpoet_form_1 .mailpoet_paragraph:first-of-type {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_paragraph:last-of-type,
body.page-id-222 #mailpoet_form_1 .mailpoet_paragraph:last-of-type {
    flex: 0 0 220px !important;
}

.crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_text,
body.page-id-222 #mailpoet_form_1 .mailpoet_text {
    display: block !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_submit,
body.page-id-222 #mailpoet_form_1 .mailpoet_submit {
    display: block !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 1.25rem !important;
    box-sizing: border-box !important;
    line-height: 56px !important;
}

@media (max-width: 921px) {
    body:not(.home).ast-separate-container .site-content,
    body:not(.home) .site-content {
        padding-top: 0.7rem !important;
        padding-bottom: 2.1rem !important;
    }

    body:not(.home).ast-separate-container .site-content > .ast-container,
    body:not(.home).ast-separate-container #primary,
    body:not(.home).ast-separate-container #secondary,
    body:not(.home) #primary,
    body:not(.home) #secondary {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body:not(.home).ast-separate-container #primary,
    body:not(.home) #primary {
        padding-bottom: 1.1rem !important;
    }

    body:not(.home).ast-separate-container #secondary,
    body:not(.home) #secondary {
        margin-top: 1.1rem !important;
        padding-bottom: 0 !important;
    }

    .dic-archive-hero,
    .single-post .ast-article-single,
    body.page:not(.home) .ast-article-single {
        padding: 1.3rem 1.2rem 1.45rem !important;
    }

    body.category .ast-archive-description {
        margin-top: 0 !important;
        margin-bottom: 0.9rem !important;
        padding: 1rem 1.15rem !important;
    }

    #secondary .crypto-sidebar-widget,
    .ast-separate-container.ast-two-container #secondary .widget {
        padding: 1.25rem !important;
        border-radius: 24px !important;
    }
}

@media (max-width: 767px) {
    .crypto-home-redesign .crypto-hero-actions .wp-block-button {
        width: auto !important;
    }

    .crypto-home-redesign .crypto-hero-actions .wp-block-button__link {
        min-width: min(100%, 250px);
    }

    .crypto-home-redesign .crypto-cta-section #mailpoet_form_1 form.mailpoet_form,
    body.page-id-222 #mailpoet_form_1 form.mailpoet_form {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
        width: min(100%, 420px) !important;
    }

    .crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_paragraph,
    .crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_paragraph:first-of-type,
    .crypto-home-redesign .crypto-cta-section #mailpoet_form_1 .mailpoet_paragraph:last-of-type,
    body.page-id-222 #mailpoet_form_1 .mailpoet_paragraph,
    body.page-id-222 #mailpoet_form_1 .mailpoet_paragraph:first-of-type,
    body.page-id-222 #mailpoet_form_1 .mailpoet_paragraph:last-of-type {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}
