.article-card,
.article-empty-card,
.article-subscribe-box {
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(41, 46, 73, 0.04), 0 10px 40px rgba(0, 0, 0, 0.04);
}

.article-card .badge {
    width: max-content;
}

.article-subscribe-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 22px;
}

.article-subscribe-box .form-control {
    height: 48px;
    padding: 12px 16px;
}

.article-subscribe-box .btn-outline-light:hover {
    color: #0f1f3e !important;
}

.article-subscribe-box .btn {
    text-transform: none;
}

#demoModal .modal-content {
    max-height: calc(100vh - 16px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#demoModal .demo-request-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

#demoModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto !important;
}

#demoModal .modal-footer {
    flex: 0 0 auto;
    align-items: center;
    overflow: visible;
    padding: 16px 20px 20px;
    background: #fff;
}

#demoModal .modal-footer .qbotix-recaptcha {
    flex: 0 0 304px;
    width: 304px;
    min-height: 78px;
    overflow: visible;
}

#demoModal .modal-footer > .d-flex {
    flex-wrap: wrap;
    justify-content: flex-end;
}

#demoModal .modal-footer .btn {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    #demoModal .modal-dialog {
        margin: 8px;
    }

    #demoModal .modal-content {
        max-height: calc(100vh - 16px);
    }

    #demoModal .modal-footer {
        align-items: flex-start;
        justify-content: flex-start !important;
    }

    #demoModal .modal-footer .qbotix-recaptcha {
        max-width: 100%;
    }

    #demoModal .modal-footer > .d-flex {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0 !important;
    }
}
