/* Ogere Remo refinement pass 6 */

/* Remove all residual homepage structural space around the opening and closing generated sections. */
body.page-id-20524 .elementor,
body.page-id-20524 .elementor-inner,
body.page-id-20524 .elementor-section-wrap,
body.page-id-20524 .elementor-top-section:first-child,
body.page-id-20524 .ogere3-slider-host,
body.page-id-20524 .ogere3-slider-host > .elementor-container,
body.page-id-20524 .ogere3-slider-host .elementor-column,
body.page-id-20524 .ogere3-slider-host .elementor-widget-wrap,
body.page-id-20524 .ogere3-slider-host .elementor-widget-shortcode,
body.page-id-20524 .ogere3-slider-host .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-20524 .ogere4-security-host,
body.page-id-20524 .ogere4-security-host > .elementor-container,
body.page-id-20524 .ogere4-security-host .elementor-column,
body.page-id-20524 .ogere4-security-host .elementor-widget-wrap,
body.page-id-20524 .ogere4-security-host .elementor-widget-shortcode,
body.page-id-20524 .ogere4-security-host .elementor-widget-container,
body.page-id-20524 .elementor-top-section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* True full-bleed slider and Golden Jubilee banner. */
body.page-id-20524 .ogere5-slider,
body.page-id-20524 .ogere6-golden-jubilee {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
body.page-id-20524 .ogere5-slider { margin-top: 0 !important; }

/* Golden Jubilee banner with anniversary mark replacing the plain 50 block. */
.ogere6-golden-inner {
    grid-template-columns: 145px minmax(0, 1fr) auto !important;
    gap: 28px !important;
    min-height: 138px !important;
    padding-block: 14px !important;
}
.ogere6-golden-logo {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid rgba(182,135,49,.48);
    padding-right: 20px;
}
.ogere6-golden-logo img {
    width: 118px;
    max-height: 112px;
    object-fit: contain;
    display: block;
}
.ogere6-golden-logo > span {
    color: #b68731;
    font-family: Georgia, serif;
    font-size: 74px;
    font-weight: 700;
}
.ogere6-golden-copy { min-width: 0; }
.ogere6-golden-actions { min-width: 178px; }

/* Welcome-to-Ogere image should fill its full right-hand column. */
.ogere6-welcome-palace-column,
.ogere6-welcome-palace-column > .elementor-column-wrap,
.ogere6-welcome-palace-column .elementor-widget-wrap,
.ogere6-welcome-palace-column .elementor-widget-image,
.ogere6-welcome-palace-column .elementor-widget-container {
    height: 100% !important;
    min-height: 100% !important;
}
.ogere6-welcome-palace-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}
.ogere6-welcome-actions {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* Shorter, better balanced Welcome from Ologere section. */
.ogere6-ologere-grid {
    min-height: 555px !important;
    grid-template-columns: minmax(320px, 42%) minmax(0, 58%) !important;
}
.ogere6-ologere-photo-wrap img {
    min-height: 410px !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}
.ogere6-ologere-identity {
    min-height: 120px !important;
    padding: 16px 24px 18px !important;
}
.ogere6-ologere-copy {
    padding: 34px 44px 32px !important;
    justify-content: center !important;
}
.ogere6-ologere-copy > p {
    margin-bottom: 12px !important;
    line-height: 1.62 !important;
}
.ogere6-ologere-copy > h3 { margin-top: 5px !important; }

/* Security refinements and hard stop before footer. */
.ogere6-security-section {
    margin: 0 !important;
    padding-bottom: 50px !important;
}
.ogere6-security-section + * { margin-top: 0 !important; }
.ogere6-site-footer {
    margin-top: 0 !important;
    clear: both;
}

/* Footer wording and alignment remain left-led. */
.ogere6-site-footer .ogere5-footer-brand,
.ogere6-site-footer .ogere5-footer-logo {
    text-align: left !important;
}
.ogere6-site-footer .ogere5-footer-logo img {
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (max-width: 1180px) {
    .ogere6-golden-inner {
        grid-template-columns: 120px minmax(0, 1fr) auto !important;
        gap: 20px !important;
    }
    .ogere6-golden-logo img { width: 96px; }
    .ogere6-ologere-grid { min-height: 530px !important; }
    .ogere6-ologere-copy { padding: 30px 32px !important; }
}

@media (max-width: 767px) {
    body.page-id-20524 .ogere5-slider,
    body.page-id-20524 .ogere6-golden-jubilee {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
    .ogere6-golden-inner {
        grid-template-columns: 84px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding-block: 13px !important;
    }
    .ogere6-golden-logo {
        min-height: 86px;
        padding-right: 12px;
    }
    .ogere6-golden-logo img { width: 72px; max-height: 78px; }
    .ogere6-golden-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }
    .ogere6-ologere-grid {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }
    .ogere6-ologere-photo-wrap img {
        min-height: 0 !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .ogere6-ologere-copy { padding: 28px 22px 30px !important; }
    .ogere6-security-section { padding-bottom: 42px !important; }
}
