/*
 * FCJ visual refresh.
 * Scoped overrides for Divi pages, kept in the child theme for easy rollback.
 */

:root {
    --fcj-red: #d71920;
    --fcj-red-dark: #aa151b;
    --fcj-blue: #173650;
    --fcj-blue-soft: #eaf1f8;
    --fcj-ink: #1f2a37;
    --fcj-muted: #657385;
    --fcj-line: #dfe7ef;
    --fcj-surface: #ffffff;
    --fcj-page: #f4f6f9;
    --fcj-shadow: 0 18px 45px rgba(15, 34, 52, .12);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--fcj-ink);
    background-color: var(--fcj-page);
}

#top-header {
    background: var(--fcj-red) !important;
}

#main-header {
    box-shadow: 0 8px 26px rgba(23, 54, 80, .08) !important;
}

#top-menu li a {
    font-weight: 800;
}

#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a {
    color: var(--fcj-red) !important;
}

#et_search_icon:before {
    color: var(--fcj-ink);
}

#logo {
    object-fit: contain;
}

.et_monarch .et_social_sidebar_networks .et_social_googleplus,
.et_monarch .et_social_mobile .et_social_googleplus,
.et-social-google-plus {
    display: none !important;
}

.et_monarch .et_social_sidebar_networks {
    display: none !important;
}

body.fcj-footer-ready #main-footer {
    display: none !important;
}

.fcj-site-footer {
    position: relative;
    overflow: hidden;
    padding: 46px 0 22px;
    background:
        radial-gradient(circle at 86% 8%, rgba(240,194,77,.22), rgba(240,194,77,0) 26%),
        linear-gradient(135deg, #07111d 0, #173650 54%, #540a0e 100%);
    color: #fff;
}

.fcj-site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--fcj-blue) 0 22%, var(--fcj-red) 22% 78%, #f0c24d 78% 100%);
}

.fcj-site-footer::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
}

.fcj-site-footer-inner,
.fcj-site-footer-bottom {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    margin: 0 auto;
}

.fcj-site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(180px, .75fr) minmax(180px, .75fr);
    gap: 34px;
}

.fcj-site-footer-brand {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.fcj-site-footer-brand img {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    object-fit: contain;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

.fcj-site-footer-brand span,
.fcj-site-footer-links h3 {
    display: block;
    margin: 0 0 9px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.fcj-site-footer-brand h2 {
    max-width: 520px;
    margin: 0;
    padding: 0;
    color: #fff !important;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.06;
    font-weight: 950;
}

html body #page-container .fcj-site-footer h2,
html body #page-container .fcj-site-footer h2 *,
html body #page-container .fcj-site-footer h3,
html body #page-container .fcj-site-footer h3 * {
    color: #fff !important;
    opacity: 1 !important;
}

.fcj-site-footer-brand p {
    max-width: 560px;
    margin: 14px 0 0;
    padding: 0;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.55;
}

.fcj-site-footer-links {
    display: grid;
    gap: 9px;
    align-content: start;
}

.fcj-site-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: rgba(255,255,255,.86) !important;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
    transition: color .16s ease, transform .16s ease;
}

.fcj-site-footer-links a::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 10px;
    border-radius: 50%;
    background: #f0c24d;
    box-shadow: 0 0 0 4px rgba(240,194,77,.12);
}

.fcj-site-footer-links a:hover {
    color: #fff !important;
    transform: translateX(2px);
}

.fcj-site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 800;
}


