/* v2.6.718 — Footer Stable Contact Layout
 * Prevents the contact block from being pushed off-canvas or duplicated inside the dark footer band.
 */

body.picklehub-footer-stable-v2-6-718 {
    --picklehub-footer-edge-v2-6-718: clamp(24px, 3.125vw, 64px);
    --picklehub-footer-ink-v2-6-718: #12394a;
    --picklehub-footer-muted-v2-6-718: #637987;
    --picklehub-footer-link-v2-6-718: #215469;
    --picklehub-footer-line-v2-6-718: rgba(23, 75, 96, .12);
}

/* Never show the contact block in the dark strip or in accidental duplicate containers. */
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-top .picklehub-footer-meta-v2-6-717,
body.picklehub-footer-stable-v2-6-718 .ph-footer-top .picklehub-footer-meta-v2-6-717,
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-dark .picklehub-footer-meta-v2-6-717,
body.picklehub-footer-stable-v2-6-718 .site-footer-top .picklehub-footer-meta-v2-6-717,
body.picklehub-footer-stable-v2-6-718 .footer-top .picklehub-footer-meta-v2-6-717,
body.picklehub-footer-stable-v2-6-718 footer > .wp-block-group:first-child .picklehub-footer-meta-v2-6-717,
body.picklehub-footer-stable-v2-6-718 .site-footer > .wp-block-group:first-child .picklehub-footer-meta-v2-6-717 {
    display: none !important;
}

/* Undo the v2.6.717 grid when it was accidentally attached to the dark band. */
body.picklehub-footer-stable-v2-6-718 footer > .wp-block-group:first-child.picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .site-footer > .wp-block-group:first-child.picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-top.picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .ph-footer-top.picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-dark.picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 footer > .wp-block-group:first-child .picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .site-footer > .wp-block-group:first-child .picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-top .picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .ph-footer-top .picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718),
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-dark .picklehub-footer-main-grid-v2-6-717:not(.picklehub-footer-main-grid-v2-6-718) {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-legal-footer-v2-6-718,
body.picklehub-footer-stable-v2-6-718 .picklehub-legal-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #fbfdfe, #f5fafb) !important;
    border-top: 1px solid rgba(15, 48, 64, .08) !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-legal-footer-inner.picklehub-footer-main-grid-v2-6-718 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 380px) !important;
    grid-template-areas:
        "brand meta"
        "links links" !important;
    align-items: start !important;
    gap: 22px 36px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px var(--picklehub-footer-edge-v2-6-718) 26px !important;
    box-sizing: border-box !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-brand-v2-6-718 {
    grid-area: brand !important;
    align-self: start !important;
    justify-self: start !important;
    text-align: left !important;
    max-width: 760px !important;
    min-width: 0 !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-brand-v2-6-718 strong {
    display: block !important;
    margin: 0 0 6px !important;
    color: var(--picklehub-footer-ink-v2-6-718) !important;
    font-size: clamp(18px, 1.2vw, 22px) !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    letter-spacing: -.01em !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-brand-v2-6-718 span {
    display: block !important;
    margin: 0 !important;
    color: var(--picklehub-footer-muted-v2-6-718) !important;
    font-size: clamp(13px, .9vw, 15px) !important;
    line-height: 1.55 !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 {
    grid-area: meta !important;
    align-self: start !important;
    justify-self: end !important;
    text-align: right !important;
    max-width: 380px !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
    color: var(--picklehub-footer-muted-v2-6-718) !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 h4 {
    margin: 0 0 8px !important;
    color: var(--picklehub-footer-ink-v2-6-718) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 p {
    margin: 0 !important;
    color: var(--picklehub-footer-muted-v2-6-718) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 a {
    color: var(--picklehub-footer-link-v2-6-718) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 a:hover,
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 a:focus {
    color: #0b7fa3 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 {
    grid-area: links !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px 16px !important;
    width: 100% !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--picklehub-footer-line-v2-6-718) !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 a {
    color: var(--picklehub-footer-link-v2-6-718) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 a:hover,
body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 a:focus {
    color: #0b7fa3 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 .picklehub-legal-footer-dot {
    color: rgba(23, 75, 96, .40) !important;
    flex: 0 0 auto !important;
}

@media (max-width: 820px) {
    body.picklehub-footer-stable-v2-6-718 {
        --picklehub-footer-edge-v2-6-718: 20px;
    }

    body.picklehub-footer-stable-v2-6-718 .picklehub-legal-footer-inner.picklehub-footer-main-grid-v2-6-718 {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "meta"
            "links" !important;
        gap: 16px !important;
        text-align: center !important;
    }

    body.picklehub-footer-stable-v2-6-718 .picklehub-footer-brand-v2-6-718,
    body.picklehub-footer-stable-v2-6-718 .picklehub-footer-meta-v2-6-718 {
        justify-self: center !important;
        text-align: center !important;
        max-width: 560px !important;
    }

    body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 {
        justify-content: center !important;
        text-align: center !important;
    }

    body.picklehub-footer-stable-v2-6-718 .picklehub-footer-links-v2-6-718 .picklehub-legal-footer-dot {
        display: none !important;
    }
}
