/* v2.6.720 — Footer Contained Width + Attribution Wrap
 * Keeps the dark footer band and white footer content inside the same readable max-width.
 * Forces the LDWDS attribution to wrap inside its right column instead of clipping off-screen.
 */

body.picklehub-footer-contained-v2-6-720 {
    --picklehub-footer-max-v2-6-720: 1180px;
    --picklehub-footer-edge-v2-6-720: 24px;
    overflow-x: hidden;
}

/* Keep the dark strip content aligned with the footer content below. */
body.picklehub-footer-contained-v2-6-720 .picklehub-footer-top,
body.picklehub-footer-contained-v2-6-720 .ph-footer-top,
body.picklehub-footer-contained-v2-6-720 .picklehub-footer-dark,
body.picklehub-footer-contained-v2-6-720 .site-footer-top,
body.picklehub-footer-contained-v2-6-720 .footer-top,
body.picklehub-footer-contained-v2-6-720 footer > .wp-block-group:first-child,
body.picklehub-footer-contained-v2-6-720 .site-footer > .wp-block-group:first-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-top .picklehub-footer-inner,
body.picklehub-footer-contained-v2-6-720 .ph-footer-top .ph-footer-inner,
body.picklehub-footer-contained-v2-6-720 .picklehub-footer-dark .picklehub-footer-inner,
body.picklehub-footer-contained-v2-6-720 .site-footer-top .site-footer-inner,
body.picklehub-footer-contained-v2-6-720 .footer-top .footer-inner,
body.picklehub-footer-contained-v2-6-720 footer > .wp-block-group:first-child > .wp-block-group__inner-container,
body.picklehub-footer-contained-v2-6-720 .site-footer > .wp-block-group:first-child > .wp-block-group__inner-container {
    width: min(var(--picklehub-footer-max-v2-6-720), calc(100vw - (var(--picklehub-footer-edge-v2-6-720) * 2))) !important;
    max-width: var(--picklehub-footer-max-v2-6-720) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Contain the white legal footer content. */
body.picklehub-footer-contained-v2-6-720 .picklehub-legal-footer,
body.picklehub-footer-contained-v2-6-720 .picklehub-legal-footer-v2-6-719 {
    overflow: clip !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-legal-footer-inner.picklehub-footer-main-grid-v2-6-719 {
    width: min(var(--picklehub-footer-max-v2-6-720), calc(100vw - (var(--picklehub-footer-edge-v2-6-720) * 2))) !important;
    max-width: var(--picklehub-footer-max-v2-6-720) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px 0 26px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px) !important;
    grid-template-areas:
        "brand meta"
        "links links" !important;
    gap: 24px 36px !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-brand-v2-6-719,
body.picklehub-footer-contained-v2-6-720 .picklehub-footer-meta-v2-6-719,
body.picklehub-footer-contained-v2-6-720 .picklehub-footer-links-v2-6-719 {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-brand-v2-6-719 {
    width: 100% !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-brand-v2-6-719 span,
body.picklehub-footer-contained-v2-6-720 .picklehub-footer-brand-v2-6-719 strong {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-meta-v2-6-719 {
    width: 100% !important;
    max-width: 460px !important;
    justify-self: end !important;
    text-align: right !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-meta-v2-6-719 p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-wrap: pretty;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-meta-v2-6-719 a {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-meta-separator {
    white-space: normal !important;
}

body.picklehub-footer-contained-v2-6-720 .picklehub-footer-links-v2-6-719 {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 980px) {
    body.picklehub-footer-contained-v2-6-720 .picklehub-legal-footer-inner.picklehub-footer-main-grid-v2-6-719 {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "meta"
            "links" !important;
        gap: 18px !important;
        text-align: center !important;
    }

    body.picklehub-footer-contained-v2-6-720 .picklehub-footer-brand-v2-6-719,
    body.picklehub-footer-contained-v2-6-720 .picklehub-footer-meta-v2-6-719 {
        justify-self: center !important;
        text-align: center !important;
        max-width: 640px !important;
    }

    body.picklehub-footer-contained-v2-6-720 .picklehub-footer-brand-v2-6-719 {
        align-items: center !important;
    }
}

@media (max-width: 640px) {
    body.picklehub-footer-contained-v2-6-720 {
        --picklehub-footer-edge-v2-6-720: 20px;
    }

    body.picklehub-footer-contained-v2-6-720 .picklehub-legal-footer-inner.picklehub-footer-main-grid-v2-6-719 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
}
