/* Ogere Remo refinement pass 9 */

/* Deterministic hero rendered at wp_body_open immediately after the Ogere header. */
.ogere9-front-hero,
.ogere9-front-hero .ogere5-slider,
.ogere9-front-hero .ogere7-golden-jubilee {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ogere9-front-hero .ogere5-slider {
    width: 100vw !important;
    max-width: 100vw !important;
}

.ogere9-front-hero .ogere5-slider .ogere4-slide-content {
    width: min(1320px, calc(100% - 120px)) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

/* Main homepage starts with Welcome; no orphaned hero/security hosts remain in Elementor. */
body.page-id-20524,
body.page-id-20524 #page,
body.page-id-20524 .site,
body.page-id-20524 .site-content,
body.page-id-20524 .site-content-contain,
body.page-id-20524 .content-area,
body.page-id-20524 .content-wrapper,
body.page-id-20524 .main-content,
body.page-id-20524 .page-wrapper,
body.page-id-20524 .page-content,
body.page-id-20524 main.site-main,
body.page-id-20524 #content,
body.page-id-20524 #primary,
body.page-id-20524 #main,
body.page-id-20524 .elementor,
body.page-id-20524 .elementor-section-wrap {
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Balanced homepage section spacing. */
body.page-id-20524 .ogere9-welcome-section {
    margin: 0 !important;
    padding: 48px 0 72px !important;
}

body.page-id-20524 .ogere9-stats-section {
    margin: 0 !important;
    padding: 74px 0 72px !important;
}

body.page-id-20524 .ogere9-discover-title-section {
    margin: 0 !important;
    padding: 64px 0 14px !important;
}

body.page-id-20524 .ogere9-discover-cards-section {
    margin: 0 !important;
    padding: 18px 0 70px !important;
}

body.page-id-20524 .ogere5-ologere-host,
body.page-id-20524 .ogere4-support-host,
body.page-id-20524 .ogere5-events-host {
    margin: 0 !important;
    padding: 0 !important;
}

/* Keep Ologere typography readable while reducing excessive right-column padding. */
.ogere6-ologere-grid {
    min-height: 500px !important;
}
.ogere6-ologere-copy {
    padding: 18px 42px !important;
    justify-content: center !important;
}
.ogere6-ologere-copy > p {
    margin-bottom: 12px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}
.ogere6-ologere-copy > h3 {
    margin: 4px 0 13px !important;
}
.ogere6-ologere-priorities span {
    font-size: 13px !important;
}

/* Exact eGovenz section-title markup, same CSS family used by Discover Ogere. */
.ogere9-support-section .section-title-wrapper,
.ogere9-events-section .section-title-wrapper,
.ogere9-security-section .section-title-wrapper {
    margin: 0 auto 30px !important;
    text-align: center !important;
}

.ogere9-support-section .section-title,
.ogere9-events-section .section-title,
.ogere9-security-section .section-title {
    margin: 0 !important;
}

.ogere9-support-section .section-description,
.ogere9-events-section .section-description,
.ogere9-security-section .section-description {
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ogere9-support-section {
    margin: 0 !important;
    padding: 60px 0 60px !important;
    background: #fff !important;
}

.ogere9-events-section {
    margin: 0 !important;
    padding: 58px 0 60px !important;
    background: #f8f8f8 !important;
}

.ogere9-security-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 58px 0 38px !important;
    background: #f5f7fa !important;
}

.ogere9-support-card p {
    min-height: 68px !important;
}

.ogere9-events-action,
.ogere9-security-action {
    margin-top: 26px !important;
}

.ogere9-no-events {
    margin: 0 !important;
    text-align: center;
    color: #5e6673;
}

/* Security cards remain equal and responsive. */
.ogere9-security-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
}

.ogere9-security-card {
    min-height: 168px !important;
    height: 100% !important;
}

.ogere9-phone-pair {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

.ogere9-phone-pair > span {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    font-size: 11.5px !important;
}

.ogere9-phone-pair a,
.ogere9-phone-pair span {
    white-space: nowrap !important;
}

/* Custom footer is always visible and follows Security directly. */
.ogere9-site-footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #071326 !important;
    color: rgba(255,255,255,.86) !important;
    clear: both !important;
    display: block !important;
}

.ogere9-footer-main {
    padding: 52px 0 24px !important;
}

.ogere9-footer-grid {
    display: grid !important;
    grid-template-columns: minmax(300px, 1.65fr) repeat(3, minmax(130px, 1fr)) !important;
    align-items: start !important;
    gap: 38px !important;
}

.ogere9-footer-brand,
.ogere9-footer-column {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ogere9-footer-logo {
    display: block !important;
    width: fit-content !important;
    margin: 0 0 16px 0 !important;
}

.ogere9-footer-logo img {
    display: block !important;
    width: 205px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ogere9-footer-tagline {
    max-width: 420px !important;
    margin: 0 0 8px !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.ogere9-footer-brand > p:last-child {
    max-width: 460px !important;
    margin: 0 !important;
}

.ogere9-footer-column h3 {
    display: block !important;
    visibility: visible !important;
    margin: 3px 0 14px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    font-family: Poppins, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.ogere9-footer-column ul {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ogere9-footer-column li {
    margin: 0 0 7px !important;
}

.ogere9-site-footer a {
    color: rgba(255,255,255,.88) !important;
    text-decoration: none !important;
}

.ogere9-footer-contact-row {
    margin-top: 28px !important;
    padding-top: 19px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
}

.ogere9-footer-email,
.ogere9-footer-social {
    display: flex !important;
    align-items: center !important;
}

.ogere9-footer-email {
    gap: 8px !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.ogere9-footer-social {
    gap: 7px !important;
}

.ogere9-footer-social a {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 50% !important;
}

.ogere9-footer-legal {
    margin-top: 18px !important;
    padding-top: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 20px !important;
    border-top: 1px solid rgba(255,255,255,.11) !important;
}

.ogere9-footer-legal a {
    font-size: 12px !important;
}

.ogere9-footer-bottom {
    margin: 0 !important;
    border-top: 1px solid rgba(255,255,255,.11) !important;
    background: #050f20 !important;
}

.ogere9-footer-bottom-inner {
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    text-align: center !important;
    font-size: 12px !important;
}

/* Parent eGovenz/footer shells remain completely suppressed. */
body .site-footer:not(.ogere4-site-footer),
body .zozo-footer,
body .footer-section,
body .footer-middle,
body .footer-wrapper,
body .footer-wrap,
body .footer-main:not(.ogere4-footer-main),
body .footer-bottom:not(.ogere9-footer-bottom) {
    display: none !important;
}

@media (max-width: 1180px) {
    .ogere9-front-hero .ogere5-slider .ogere4-slide-content {
        width: min(100% - 72px, 1320px) !important;
    }
    .ogere9-security-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .ogere9-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .ogere9-footer-brand {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 767px) {
    .ogere9-front-hero .ogere5-slider .ogere4-slide-content {
        width: calc(100% - 40px) !important;
    }

    body.page-id-20524 .ogere9-welcome-section {
        padding: 36px 0 48px !important;
    }

    body.page-id-20524 .ogere9-stats-section {
        padding: 58px 0 56px !important;
    }

    body.page-id-20524 .ogere9-discover-title-section {
        padding: 48px 0 12px !important;
    }

    body.page-id-20524 .ogere9-discover-cards-section {
        padding: 14px 0 52px !important;
    }

    .ogere9-support-section,
    .ogere9-events-section {
        padding: 48px 0 50px !important;
    }

    .ogere9-security-section {
        padding: 48px 0 30px !important;
    }

    .ogere9-security-grid {
        grid-template-columns: 1fr !important;
    }

    .ogere9-security-card {
        min-height: 138px !important;
    }

    .ogere9-phone-pair > span {
        font-size: 11px !important;
    }

    .ogere6-ologere-copy {
        padding: 24px 22px 26px !important;
    }

    .ogere9-footer-main {
        padding: 44px 0 22px !important;
        text-align: center !important;
    }

    .ogere9-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        text-align: center !important;
    }

    .ogere9-footer-brand,
    .ogere9-footer-column {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }

    .ogere9-footer-logo {
        margin: 0 auto 15px !important;
    }

    .ogere9-footer-logo img {
        width: 185px !important;
        margin: 0 auto !important;
    }

    .ogere9-footer-tagline,
    .ogere9-footer-brand > p:last-child {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ogere9-footer-column h3,
    .ogere9-footer-column ul,
    .ogere9-footer-column li {
        text-align: center !important;
    }

    .ogere9-footer-contact-row {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .ogere9-footer-email,
    .ogere9-footer-social {
        justify-content: center !important;
    }

    .ogere9-footer-legal {
        justify-content: center !important;
        text-align: center !important;
    }

    .ogere9-footer-bottom-inner {
        padding: 12px 0 !important;
        gap: 5px !important;
    }

    .ogere9-footer-bottom-inner > span {
        flex-basis: 100% !important;
    }

    .ogere9-footer-separator {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .ogere9-front-hero .ogere5-slider .ogere4-slide-content {
        width: calc(100% - 32px) !important;
    }

    .ogere9-phone-pair > span {
        font-size: 10.5px !important;
    }
}
