/* Subscribe form: headline */
.subscribe-form .news {
    font-size: 1rem;
}

/* Compact overall block */
.subscribe-form .home-sign {
    padding: 8px 0;
}

/* Normalize height for inputs, captcha, and button */
.subscribe-form .form-control,
.subscribe-form .captcha-input,
.subscribe-form .newsBtn {
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
}

/* Captcha image sizing */
.subscribe-form .captcha-img {
    height: 40px;
    display: block;
    object-fit: contain;
}

/* Captcha input width */
.subscribe-form .captcha-input {
    width: 140px;
    max-width: 100%;
}

/* Button styling */
.subscribe-form .newsBtn {
    background-color: #ffffff !important;
    color: #4a589e !important;
    border: 1px solid #0d6efd !important;
    white-space: nowrap;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover / focus states */
.subscribe-form .newsBtn:hover,
.subscribe-form .newsBtn:focus {
    background-color: #f8f9ff !important;
    color: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
}

/* Layout helpers */
.subscribe-form .email-wrap,
.subscribe-form .captcha-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive behavior */
@media (max-width: 767.98px) {
    .subscribe-form .d-flex.align-items-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        padding: 6px 0;
    }

    .subscribe-form .email-wrap,
    .subscribe-form .captcha-wrap {
        min-width: 0 !important;
        width: 100% !important;
        gap: 0.5rem;
        padding: 0;
    }

    .subscribe-form .captcha-wrap {
        justify-content: flex-start;
    }

    .subscribe-form .captcha-input {
        width: 40% !important;
        min-width: 120px;
    }

    .subscribe-form .captcha-img {
        height: 48px;
        margin-left: 8px;
    }

    .subscribe-form .newsBtn {
        width: 100%;
        margin-top: 8px;
    }

    .subscribe-form .news {
        font-size: 0.95rem;
    }
}
