/* Ogere Remo refinement pass 16 */

/* Welcome spacing */
body.page-id-20524 .ogere16-welcome-section {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 3px !important;
    padding-bottom: 28px !important;
}

body.page-id-20524 .ogere16-welcome-section > .elementor-container {
    align-items: center !important;
}

body.page-id-20524 .ogere16-welcome-palace {
    width: 72% !important;
    max-width: 72% !important;
    margin: 0 auto !important;
}

body.page-id-20524 .ogere16-welcome-palace img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Restore and contain the eGovenz popup player as an icon rather than a remote image. */
body.page-id-20524 .ogere16-welcome-video-col,
body.page-id-20524 .ogere16-welcome-video-col .elementor-widget-wrap {
    overflow: visible !important;
}

body.page-id-20524 .ogere16-welcome-video-icon {
    width: 52px !important;
    max-width: 52px !important;
    min-width: 52px !important;
    margin: 0 !important;
    overflow: visible !important;
}

body.page-id-20524 .ogere16-welcome-video-icon a {
    width: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #d62f35 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #d62f35 !important;
    overflow: visible !important;
    text-decoration: none !important;
}

body.page-id-20524 .ogere16-welcome-video-icon a i {
    display: inline-block !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 20px !important;
}

/* Security card proportions */
body.page-id-20524 .ogere16-security-section {
    margin: 0 !important;
    padding-bottom: 0 !important;
}

body.page-id-20524 .ogere16-security-grid {
    width: 94% !important;
    max-width: 1260px !important;
    margin: 28px auto 0 !important;
}

body.page-id-20524 .ogere16-security-grid > .elementor-container {
    align-items: stretch !important;
    justify-content: center !important;
}

body.page-id-20524 .ogere16-security-card .elementor-widget-wrap {
    height: 100% !important;
    padding: 15px 14px !important;
}

body.page-id-20524 .ogere16-security-card-title h4 {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

body.page-id-20524 .ogere16-security-contact-list p {
    margin: 0 0 5px !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}

body.page-id-20524 .ogere16-security-contact-list p:last-child {
    margin-bottom: 0 !important;
}

body.page-id-20524 .ogere16-security-contact-list a,
body.page-id-20524 .ogere16-security-contact-list span {
    font-size: 10.2px !important;
    line-height: 1.35 !important;
}

body.page-id-20524 .ogere16-security-contact-list i,
body.page-id-20524 .ogere16-security-contact-list svg {
    flex: 0 0 auto !important;
    margin-right: 10px !important;
    font-size: 11px !important;
}

body.page-id-20524 .ogere16-security-button-row {
    margin: 0 !important;
    padding: 24px 0 42px !important;
}

body.page-id-20524 .ogere16-security-button-row > .elementor-container {
    min-height: 74px !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Keep the final section/footer transition free of artificial wrapper space. */
body.page-id-20524 #content,
body.page-id-20524 #primary,
body.page-id-20524 #main,
body.page-id-20524 main.site-main,
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 .elementor,
body.page-id-20524 .elementor-section-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Mobile: central alignment across page sections, without changing form-field text alignment. */
@media (max-width: 767px) {
    body .elementor-widget-heading,
    body .elementor-widget-text-editor,
    body .elementor-widget-icon-list,
    body .elementor-widget-button,
    body .section-title-wrapper,
    body .section-description,
    body .ogere6-ologere-copy,
    body .ogere5-support-card,
    body .ogere8-support-card,
    body .ogere10-site-footer,
    body .ogere8-site-footer {
        text-align: center !important;
    }

    body .elementor-widget-button .elementor-button-wrapper,
    body .elementor-icon-list-items,
    body .ogere6-ologere-priorities,
    body .ogere8-footer-contact-row,
    body .ogere8-footer-social {
        justify-content: center !important;
    }

    body .elementor-icon-list-item {
        justify-content: center !important;
    }

    body .elementor-widget-text-editor ul,
    body .elementor-widget-text-editor ol {
        display: inline-block !important;
        text-align: left !important;
    }

    body form input,
    body form textarea,
    body form select,
    body .ogere-event-programme-table,
    body .ogere-event-programme-table th,
    body .ogere-event-programme-table td {
        text-align: left !important;
    }

    body.page-id-20524 .ogere16-welcome-section {
        margin-bottom: 16px !important;
        padding-top: 3px !important;
        padding-bottom: 24px !important;
    }

    body.page-id-20524 .ogere16-welcome-palace {
        width: 82% !important;
        max-width: 82% !important;
        margin: 6px auto 0 !important;
    }

    body.page-id-20524 .ogere16-welcome-video-col {
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    body.page-id-20524 .ogere16-welcome-video-icon {
        margin: 0 auto !important;
    }

    body.page-id-20524 .ogere16-security-grid {
        width: 92% !important;
        max-width: 92% !important;
        margin-top: 22px !important;
    }

    body.page-id-20524 .ogere16-security-card-title,
    body.page-id-20524 .ogere16-security-card-title h4,
    body.page-id-20524 .ogere16-security-contact-list,
    body.page-id-20524 .ogere16-security-contact-list p {
        text-align: center !important;
    }

    body.page-id-20524 .ogere16-security-contact-list p {
        justify-content: center !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
    }

    body.page-id-20524 .ogere16-security-card-title h4 {
        font-size: 11px !important;
    }

    body.page-id-20524 .ogere16-security-contact-list a,
    body.page-id-20524 .ogere16-security-contact-list span {
        font-size: 10px !important;
    }

    body.page-id-20524 .ogere16-security-button-row {
        padding-top: 20px !important;
        padding-bottom: 34px !important;
    }

    body.page-id-20524 .ogere16-security-button-row > .elementor-container {
        min-height: 66px !important;
    }
}
