/*
 * OWS Dashboard 3.10.469.0
 * Public footer reference redesign.
 *
 * This layer is intentionally isolated to the footer mounted by
 * frontendPublicFooter.js. It does not alter homepage/article/sidebar UI.
 */

html body .ows_public_footer_mount,
html body footer.footer.ows_public_footer_mount,
html body .pkp_structure_footer.ows_public_footer_mount,
html body .pkp_structure_footer_wrapper.ows_public_footer_mount {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: color-mix(in srgb, var(--ows-primary, #0d3b36) 82%, #000000 18%) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

html body .ows_public_footer_mount::before,
html body .ows_public_footer_mount::after {
    display: none !important;
    content: none !important;
}

html body .ows_public_footer {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: color-mix(in srgb, var(--ows-primary, #0d3b36) 82%, #000000 18%) !important;
    color: #ffffff !important;
    font-family: Roboto, Arial, sans-serif !important;
}

html body .ows_public_footer__skipTarget {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html body .ows_public_footer__inner {
    box-sizing: border-box !important;
    width: min(100% - 40px, 1380px) !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

html body .ows_public_footer__top {
    display: grid !important;
    grid-template-columns: minmax(320px, 1.55fr) minmax(185px, .95fr) minmax(185px, .9fr) minmax(235px, 1fr) !important;
    column-gap: 68px !important;
    row-gap: 28px !important;
    align-items: start !important;
    box-sizing: border-box !important;
    min-height: 136px !important;
    padding: 18px 0 14px !important;
}

/* Brand */
html body .ows_public_footer__brand {
    min-width: 0 !important;
}

html body .ows_public_footer__brandRow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 0 10px !important;
    text-decoration: none !important;
}

html body .ows_public_footer__brandMark {
    display: block !important;
    width: 47px !important;
    height: 59px !important;
    flex: 0 0 47px !important;
    overflow: visible !important;
}

html body .ows_public_footer__brandMark path,
html body .ows_public_footer__brandMark line {
    vector-effect: non-scaling-stroke !important;
}

html body .ows_public_footer__wordmark {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    transform: translateY(1px) !important;
}

html body .ows_public_footer__rea {
    display: block !important;
    margin: 0 !important;
    color: #9aa8ab !important;
    font-size: 29px !important;
    font-weight: 500 !important;
    line-height: .95 !important;
    letter-spacing: -.035em !important;
}

html body .ows_public_footer__tagline {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(255,255,255,.95) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}


/* 3.10.469.0 — use the complete REA logo from the supplied footer reference. */
html body .ows_public_footer__brandRow {
    width: 212px !important;
    height: 66px !important;
    min-width: 212px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    background-image: url("../images/footerReaLogo.png") !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
}

html body .ows_public_footer__brandRow > .ows_public_footer__brandMark,
html body .ows_public_footer__brandRow > .ows_public_footer__wordmark {
    display: none !important;
}

/* Prevent any legacy footer sizing from creating a second dark block below. */
html body .ows_public_footer_mount > .ows_public_footer,
html body footer.footer.ows_public_footer_mount > .ows_public_footer {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
}

/* Social links */
html body .ows_public_footer__socials {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .ows_public_footer__social {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.015) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease !important;
}

html body .ows_public_footer__social:hover,
html body .ows_public_footer__social:focus-visible {
    border-color: rgba(255,255,255,.72) !important;
    background: rgba(255,255,255,.07) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

html body .ows_public_footer__social svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

html body .ows_public_footer__social--linkedin svg {
    fill: currentColor !important;
    stroke: none !important;
}

html body .ows_public_footer__social--telegram svg {
    width: 18px !important;
    height: 18px !important;
}

/* Link columns */
html body .ows_public_footer__column {
    min-width: 0 !important;
    padding-top: 3px !important;
}

html body .ows_public_footer__heading {
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

html body .ows_public_footer__links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body .ows_public_footer__links li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

html body .ows_public_footer__links a,
html body .ows_public_footer__email {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.94) !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

html body .ows_public_footer__links a:hover,
html body .ows_public_footer__links a:focus-visible,
html body .ows_public_footer__email:hover,
html body .ows_public_footer__email:focus-visible {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

html body .ows_public_footer__contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 11px !important;
}

html body .ows_public_footer__join {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    height: 37px !important;
    box-sizing: border-box !important;
    margin: 3px 0 0 !important;
    padding: 0 20px !important;
    border: 1px solid rgba(255,255,255,.42) !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,.025) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 35px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease, border-color .18s ease !important;
}

html body .ows_public_footer__join:hover,
html body .ows_public_footer__join:focus-visible {
    border-color: rgba(255,255,255,.72) !important;
    background: rgba(255,255,255,.08) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Bottom bar */
html body .ows_public_footer__bottomWrap {
    border-top: 1px solid rgba(255,255,255,.09) !important;
}

html body .ows_public_footer__bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    box-sizing: border-box !important;
    min-height: 51px !important;
    padding: 0 !important;
}

html body .ows_public_footer__copyright {
    margin: 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

html body .ows_public_footer__legal {
    display: flex !important;
    align-items: center !important;
    gap: 17px !important;
    margin: 0 !important;
}

html body .ows_public_footer__legal a {
    color: rgba(255,255,255,.95) !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}

html body .ows_public_footer__legal a:hover,
html body .ows_public_footer__legal a:focus-visible {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

html body .ows_public_footer__legalDivider {
    display: block !important;
    width: 1px !important;
    height: 17px !important;
    background: rgba(255,255,255,.58) !important;
}

/* Kill legacy footer spacing/background inside the mounted footer only. */
html body .ows_public_footer_mount .pkp_structure_footer,
html body .ows_public_footer_mount .pkp_footer_content,
html body .ows_public_footer_mount .pkp_brand_footer,
html body .ows_public_footer_mount .container,
html body .ows_public_footer_mount .row {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 1050px) {
    html body .ows_public_footer__inner {
        width: min(100% - 36px, 940px) !important;
    }

    html body .ows_public_footer__top {
        grid-template-columns: minmax(280px, 1.25fr) minmax(170px, .8fr) minmax(170px, .8fr) minmax(210px, .9fr) !important;
        column-gap: 36px !important;
    }
}

@media (max-width: 820px) {
    html body .ows_public_footer__top {
        grid-template-columns: 1.35fr 1fr !important;
        min-height: 0 !important;
        padding: 24px 0 22px !important;
    }

    html body .ows_public_footer__brand {
        grid-row: span 2 !important;
    }
}

@media (max-width: 580px) {
    html body .ows_public_footer__inner {
        width: calc(100% - 30px) !important;
    }

    html body .ows_public_footer__top {
        grid-template-columns: 1fr !important;
        row-gap: 24px !important;
    }

    html body .ows_public_footer__brand {
        grid-row: auto !important;
    }

    html body .ows_public_footer__bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        min-height: 0 !important;
        padding: 15px 0 17px !important;
    }

    html body .ows_public_footer__legal {
        gap: 13px !important;
    }
}


/* -------------------------------------------------------------------------
 * 3.10.533.0 — Public footer top spacing
 * Add the requested 60px separation above the mounted public footer only.
 * ---------------------------------------------------------------------- */
html body footer.footer.ows-public-footer-mounted.ows_public_footer_mount {
    margin-top: 60px !important;
}

/* ======================================================================
 * OWS Dashboard 3.10.870.6 — public footer follows Website Site Color
 * ======================================================================
 * The footer now derives from the same --ows-primary token used by the
 * public website. It stays dark enough for the existing white REA/logo/text,
 * while switching hue automatically when Website > Site Color changes.
 */
html body .ows_public_footer_mount,
html body footer.footer.ows_public_footer_mount,
html body .pkp_structure_footer.ows_public_footer_mount,
html body .pkp_structure_footer_wrapper.ows_public_footer_mount,
html body .ows_public_footer {
    --ows-public-footer-bg: color-mix(in srgb, var(--ows-primary, #0d3b36) 82%, #000000 18%);
    --ows-public-footer-bg-hover: color-mix(in srgb, var(--ows-primary, #0d3b36) 88%, #000000 12%);
    background: var(--ows-public-footer-bg) !important;
    background-color: var(--ows-public-footer-bg) !important;
}

html body .ows_public_footer__join:hover,
html body .ows_public_footer__join:focus-visible,
html body .ows_public_footer__social:hover,
html body .ows_public_footer__social:focus-visible {
    background-color: rgba(255,255,255,.10) !important;
}

