/*
 * Site-wide dark footer, promoted from the homepage rebuild's
 * page-level override (see homepage-framework-question memory /
 * session notes) to layouts.app's default @section('footer') so
 * every page gets it, not just the homepage.
 *
 * Real colors/content pulled from new.blade.php's (the original
 * standalone Divi homepage) actual theme-builder footer template -
 * confirmed via the deferred CSS cache file it preloads
 * (et-core-unified-tb-1499-deferred-1312.min.css), since none of this
 * is inline in new.blade.php itself:
 *   - Logo/contact row background: #222222, with a decorative graphic
 *     (pickaxe-footer-bg25.png) pinned to the right, background-size:
 *     contain, no-repeat.
 *   - Nav row background: #3d3d3d, uppercase links.
 *   - Trailing empty row background: #000000.
 * Deliberately self-contained (no dependency on .hp-rebuild's scoped
 * fonts/colors from homepage-rebuild.css) since this now renders on
 * every page, most of which never load that stylesheet.
 *
 * Note: the original's Privacy Policy footer link points to url('/')
 * (the homepage) rather than the real /privacy_policy route that
 * exists - that's a real bug in the original, not intentional, so
 * this footer links to the real route instead of reproducing it.
 */
.hp-footer {
    font-family: "Century Gothic", Helvetica, Arial, Lucida, sans-serif;
}

.hp-footer-contact {
    background-color: #222222;
    background-image: url("/front/wp-content/uploads/2024/05/pickaxe-footer-bg25.png");
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 60px 0;
    color: #fff;
}

.hp-footer-contact img {
    max-width: 280px;
    height: auto;
}

.hp-footer-contact p {
    color: #e5e4eb;
    margin: 0;
}

.hp-footer-contact a {
    color: #e5e4eb;
    text-decoration: none;
}

.hp-footer-contact a:hover {
    color: #fff;
}

/*
 * "Contact Us" / "Terms & Conditions" / "Privacy Policy" all share one
 * size and the same hover behavior (underline only on hover, not
 * permanently) - per feedback, previously "Contact Us" was a much
 * bigger heading size with a permanent underline while the legal
 * links were smaller with no underline at all.
 */
.hp-footer-contact-link,
.hp-footer-legal a {
    font-size: 16px;
    text-decoration: none;
}

.hp-footer-contact-link {
    color: #fff;
}

.hp-footer-contact-link:hover,
.hp-footer-legal a:hover {
    text-decoration: underline;
}

.hp-footer-contact-link:hover {
    color: #e5e4eb;
}

.hp-footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.hp-footer-legal li {
    margin-top: 6px;
    font-weight: 400;
}

.hp-footer-legal li:first-child {
    margin-top: 0;
}

.hp-footer-nav {
    background-color: #3d3d3d;
}

.hp-footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 20px 15px;
}

.hp-footer-nav a {
    color: #e5e4eb;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .5px;
    text-decoration: none;
}

.hp-footer-nav a:hover {
    color: #fff;
}

.hp-footer-bottom {
    background-color: #000;
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 14px 15px;
}

.hp-footer-about {
    color: #e5e4eb;
    margin: 0;
}

@media (max-width: 767px) {
    .hp-footer-contact {
        text-align: center;
        background-position: center bottom;
    }

    .hp-footer-contact .row > div {
        margin-bottom: 24px;
    }
}
