/* Keep institutional page calls to action aligned with the home page. */
.hn-page-hero-about .hn-page-hero-actions .btn,
.hn-page-hero-contact .hn-page-hero-actions .btn {
    background: #0b6f97;
    color: #fff;
}

.hn-page-hero-about .hn-page-hero-actions .btn:hover,
.hn-page-hero-about .hn-page-hero-actions .btn:focus,
.hn-page-hero-contact .hn-page-hero-actions .btn:hover,
.hn-page-hero-contact .hn-page-hero-actions .btn:focus {
    background: #084f6c;
    color: #fff;
}

.contact-form-hostnuvem #contact-submit-button {
    background: #0b6f97;
    color: #fff;
}

.contact-form-hostnuvem #contact-submit-button:hover,
.contact-form-hostnuvem #contact-submit-button:focus {
    background: #084f6c;
    color: #fff;
}

/* Small contact page refinements that retain the existing HostNuvem palette. */
.contact-form-section .contact-box {
    padding-top: 64px;
    padding-bottom: 78px;
}

.contact-form-hostnuvem > .form-group:not([style]) {
    border: 1px solid #ccd8df;
    border-radius: 4px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form-hostnuvem .form-group:focus-within {
    border-color: #9bd6eb;
    box-shadow: 0 0 0 3px rgba(53, 171, 223, .10);
}

.contact-form-hostnuvem label {
    display: block;
    margin-bottom: 8px;
    color: #263b49;
    font-size: 14px;
    font-weight: 700;
}

.contact-form-hostnuvem > .form-group:not([style]) .form-control {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #b9c8d2;
    border-radius: 3px;
    background: #f8fbfd;
    color: #263b49;
    font-size: 15px;
}

.contact-form-hostnuvem > .form-group:not([style]) textarea.form-control {
    min-height: 150px;
}

.contact-form-hostnuvem > .form-group:not([style]) .form-control:focus {
    border-color: #0b6f97;
    outline: 2px solid rgba(11, 111, 151, .15);
    background: #fff;
}

.contact-form-hostnuvem .form-control::placeholder {
    color: #617582;
    opacity: 1;
}

.contact-form-hostnuvem #contact-blog-optin {
    accent-color: #0b6f97;
}

.contact-info-box .contact-ibox {
    padding: 24px 26px;
    border-left: 3px solid #35abdf;
    background: #fff;
    box-shadow: 0 8px 24px rgba(54, 66, 77, .06);
}

.contact-info-box .contact-ibox + .contact-ibox {
    margin-top: 24px;
}

.contact-info-box .contact-ibox .cb-title {
    margin-bottom: 16px;
}

.contact-info-box .contact-ibox .cb-title + p {
    margin-bottom: 22px;
}

.contact-info-box .contact-infolist .media + .media {
    margin-top: 16px;
}

.contact-info-box .contact-infolist .media-object {
    color: #0b6f97;
}

.contact-info-box .contact-infolist a:hover,
.contact-info-box .contact-infolist a:focus {
    color: #0b6f97;
}

/* Keep the contact page headings clear without overpowering the content. */
.hn-page-hero-contact h2 {
    font-size: 36px;
    line-height: 1.2;
}

.contact-form-section .cb-title {
    font-size: 22px !important;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .hn-page-hero-contact h2 {
        font-size: 29px;
    }

    .contact-form-section .cb-title {
        font-size: 19px !important;
    }

    .contact-form-section .contact-box {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .contact-info-box .contact-ibox {
        padding: 20px;
    }
}
