
/* ==========================================
   SGD - Cromax EZ+ Blog Closing Footer
   ========================================== */

.sgd-paint-footer {
    background: #3067ae;
    color: #ffffff;
    padding: 45px 35px 25px;
    margin: 40px 0 20px;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
}

.sgd-paint-footer .sgd-paint-logo {
    display: block;
    width: 300px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 25px;
}

.sgd-paint-divider {
    width: 60px;
    height: 3px;
    background: #cccccc;
    margin: 0 auto 25px;
}

.sgd-paint-footer h2 {
    color: #ffffff !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
}

.sgd-paint-footer p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 18px;
}

.sgd-paint-contact {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 30px;
    margin-top: 30px;
}

.sgd-paint-contact h3 {
    color: #ffffff !important;
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 15px;
}

.sgd-paint-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0 15px;
}

.sgd-paint-buttons a {
    display: inline-block;
    background: #ffffff;
    color: #3067ae !important;
    padding: 15px 25px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sgd-paint-buttons a:hover {
    background: transparent;
    color: #ffffff !important;
}

.sgd-paint-footer .sgd-paint-email {
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sgd-paint-strapline {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    margin: 35px 0 25px;
}

.sgd-paint-strapline strong {
    display: block;
    font-size: 30px;
    color: #d0d0d0;
    margin-top: 8px;
}

.sgd-paint-footer .sgd-paint-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
    margin-bottom: 0;
    font-size: 11px;
    font-style: italic;
    color: #e0e7f1;
    line-height: 1.6;
}

/* Mobile layout */

@media (max-width: 767px) {

    .sgd-paint-footer {
        padding: 30px 20px 20px;
    }

    .sgd-paint-footer h2 {
        font-size: 24px;
    }

    .sgd-paint-contact h3 {
        font-size: 30px;
    }

    .sgd-paint-buttons {
        flex-direction: column;
    }

    .sgd-paint-buttons a {
        width: 100%;
        box-sizing: border-box;
    }

    .sgd-paint-strapline {
        font-size: 20px;
    }

}

/* ==========================================
   SGD - Paint Footer Button Correction
   ========================================== */

.sgd-paint-footer .sgd-paint-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap;
    margin: 25px auto !important;
}

.sgd-paint-footer .sgd-paint-buttons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 220px;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 22px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-size: 17px !important;
    box-sizing: border-box;
    float: none !important;
}

/* Remove unwanted WordPress formatting */

.sgd-paint-footer .sgd-paint-buttons p {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

.sgd-paint-footer .sgd-paint-buttons br {
    display: none !important;
}

.sgd-paint-footer .sgd-paint-buttons p:empty {
    display: none !important;
}

/* Reduce spacing below buttons */

.sgd-paint-footer .sgd-paint-strapline {
    margin: 25px 0 20px !important;
}

/* Mobile */

@media (max-width: 767px) {

    .sgd-paint-footer .sgd-paint-buttons {
        flex-direction: column;
    }

    .sgd-paint-footer .sgd-paint-buttons a,
    .sgd-paint-footer .sgd-paint-buttons p {
        width: 100% !important;
        min-width: 0;
    }

}
