/* BAP Academy global footer — replaces the JNews footer on every public page. */
.jeg_footer { display: none !important; }

.bap-global-footer {
    position: relative;
    z-index: 20;
    width: 100%;
    margin-top: 48px;
    color: #d9e7f6;
    background: #031f3a;
    font-family: inherit;
}
.bap-footer-main {
    background:
        radial-gradient(circle at 15% 0%, rgba(14,119,220,.13), transparent 38%),
        linear-gradient(135deg, #041b33 0%, #06294a 100%);
    border-top: 1px solid rgba(255,255,255,.08);
}
.bap-footer-inner,
.bap-footer-bottom-inner {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}
.bap-footer-inner {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, minmax(125px, .75fr)) 1.15fr;
    gap: 38px;
    padding: 44px 0 38px;
}
.bap-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1;
}
.bap-footer-logo-mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 5px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,.20);
    overflow: hidden;
}
.bap-footer-logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bap-footer-logo strong,
.bap-footer-logo small { display: block; }
.bap-footer-logo strong { font-size: 21px; letter-spacing: .02em; }
.bap-footer-logo small { margin-top: 3px; font-size: 11px; letter-spacing: .08em; }
.bap-footer-brand p {
    max-width: 255px;
    margin: 17px 0 0;
    color: #a9bfd4;
    font-size: 13px;
    line-height: 1.65;
}
.bap-footer-column h3 {
    margin: 3px 0 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.bap-footer-links {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.bap-footer-links li { margin: 0 0 8px !important; padding: 0 !important; }
.bap-footer-links a,
.bap-footer-contact a {
    color: #b9cee1 !important;
    font-size: 12.5px;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease;
}
.bap-footer-links a:hover,
.bap-footer-contact a:hover { color: #fff !important; }
.bap-footer-contact p {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 0 0 11px;
    color: #b9cee1;
    font-size: 12.5px;
    line-height: 1.45;
}
.bap-footer-contact p span { min-width: 15px; color: #58b9ff; }
.bap-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); background: #02182d; }
.bap-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
}
.bap-footer-bottom p { margin: 0; color: #8fa8bf; font-size: 11.5px; }
.bap-footer-bottom nav { display: flex; gap: 21px; }
.bap-footer-bottom a { color: #9eb3c7 !important; font-size: 11.5px; text-decoration: none !important; }
.bap-footer-bottom a:hover { color: #fff !important; }

@media (max-width: 1180px) {
    .bap-footer-inner { grid-template-columns: 1.35fr repeat(3, 1fr); }
    .bap-footer-contact { grid-column: span 2; }
}
@media (max-width: 760px) {
    .bap-global-footer { margin-top: 34px; }
    .bap-footer-inner,
    .bap-footer-bottom-inner { width: min(100% - 36px, 620px); }
    .bap-footer-inner { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 24px; padding: 36px 0 30px; }
    .bap-footer-brand,
    .bap-footer-contact { grid-column: 1 / -1; }
    .bap-footer-brand p { max-width: 100%; }
    .bap-footer-bottom-inner { align-items: flex-start; flex-direction: column; padding: 17px 0; }
    .bap-footer-bottom nav { flex-wrap: wrap; gap: 10px 18px; }
}
@media (max-width: 430px) {
    .bap-footer-inner { grid-template-columns: 1fr; }
    .bap-footer-brand,
    .bap-footer-contact { grid-column: auto; }
}
