﻿/* ==========================================================
   CROWNLINE FOOTER
   BLUE + WHITE + GOLD THEME
========================================================== */

.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 55px 0 0;
    border-top: 1px solid rgba(255, 193, 7, 0.25);
}


/* ==========================================================
   FOOTER GRID
========================================================== */

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 55px;
}


/* ==========================================================
   COMPANY
========================================================== */

.footer-company {
    min-width: 0;
}


.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}


    .footer-logo img {
        max-width: 190px;
        height: auto;
        display: block;
    }


.footer-company > p {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================================
   CONTACT
========================================================== */

.footer-contact {
    margin-top: 20px;
}


    .footer-contact p {
        margin: 0 0 9px;
        color: rgba(255, 255, 255, 0.68);
        font-size: 13px;
    }


    .footer-contact strong {
        color: var(--secondary);
        font-weight: 600;
    }


    .footer-contact a {
        color: rgba(255, 255, 255, 0.68);
        text-decoration: none;
        transition: .25s ease;
    }


        .footer-contact a:hover {
            color: var(--secondary);
        }


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer-links h3 {
    margin: 0 0 20px;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
}


.footer-links a {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: .25s ease;
}


    .footer-links a:hover {
        color: var(--secondary);
        padding-left: 4px;
    }


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {
    margin-top: 45px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-align: center;
}


/* ==========================================================
   GOLD LINE
========================================================== */

.site-footer::before {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    margin: -56px auto 54px;
    background: var(--secondary);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .site-footer {
        padding-top: 45px;
    }


        .site-footer::before {
            margin-top: -46px;
            margin-bottom: 45px;
        }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .footer-company > p {
        max-width: 100%;
    }


    .footer-logo img {
        max-width: 165px;
    }


    .footer-links h3 {
        margin-bottom: 15px;
    }


    .footer-bottom {
        margin-top: 35px;
        padding: 18px 10px;
        line-height: 1.6;
    }
}
/* Show the logo artwork clearly without its large outer image padding. */
.site-footer .footer-logo { position: relative; width: 182px; height: 108px; overflow: hidden; margin-bottom: 18px; }
.site-footer .footer-logo img { position: absolute; width: 280px; max-width: none; height: auto; left: -49px; top: -25px; }
@media(max-width: 575px) {
    .site-footer .footer-logo { width: 160px; height: 92px; }
    .site-footer .footer-logo img { width: 240px; left: -42px; top: -22px; }
}
