/*
 * Ogere Remo project pages V10.
 * Mirrors the locked About page hero and the native eGovenz/Elementor inner-page
 * visual language without changing Home or About.
 */

/* --------------------------------------------------------------------------
   Individual project hero: copy the About-page proportions and typography.
   -------------------------------------------------------------------------- */
body.single-ogere_project .ogere-v10-project-hero {
    position: relative !important;
    isolation: isolate !important;
    width: 100% !important;
    max-width: none !important;
    height: 315px !important;
    min-height: 315px !important;
    max-height: 315px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    background-color: #06162f !important;
    background-image: var(--ogere-inner-page-hero-image) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
body.single-ogere_project .ogere-v10-project-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: linear-gradient(90deg, rgba(5,12,24,.54) 0%, rgba(5,12,24,.36) 48%, rgba(5,12,24,.18) 100%) !important;
    pointer-events: none !important;
}
body.single-ogere_project .ogere-v10-project-hero::after {
    display: none !important;
    content: none !important;
}
body.single-ogere_project .ogere-v10-project-hero > .container {
    width: 100% !important;
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 30px !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: left !important;
}
body.single-ogere_project .ogere-v10-project-hero .page-title {
    position: relative !important;
    z-index: 3 !important;
    max-width: 700px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.single-ogere_project .ogere-v10-project-breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: left !important;
}
body.single-ogere_project .ogere-v10-project-breadcrumb a {
    color: #fff !important;
    text-decoration: none !important;
}
body.single-ogere_project .ogere-v10-project-breadcrumb a:hover,
body.single-ogere_project .ogere-v10-project-breadcrumb a:focus {
    color: #fff !important;
    text-decoration: underline !important;
}
body.single-ogere_project .ogere-v10-project-hero h1 {
    color: #fff !important;
    font-size: clamp(30px, 2.65vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.01em !important;
    margin: 7px 0 0 !important;
    max-width: 700px !important;
    text-align: left !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
}
body.single-ogere_project .ogere-v10-project-hero h1::after {
    content: "" !important;
    display: block !important;
    width: 58px !important;
    height: 3px !important;
    margin: 12px 0 12px !important;
    background: #cf2e2e !important;
    border-radius: 3px !important;
}
body.single-ogere_project .ogere-v10-project-hero .ogere-inner-hero-summary {
    color: #fff !important;
    font-size: clamp(14px, 1.05vw, 17px) !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    max-width: 610px !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.24) !important;
}

/* --------------------------------------------------------------------------
   Individual project body: About/eGovenz section rhythm and widgets.
   -------------------------------------------------------------------------- */
body.single-ogere_project .ogere-v10-project-main,
body.single-ogere_project .ogere-v10-project-article,
body.single-ogere_project .ogere-v10-project-entry-content,
body.single-ogere_project .ogere-project-v10-detail {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-ogere_project .ogere-project-v10-section {
    margin: 0 !important;
    padding: 42px 0 !important;
}
body.single-ogere_project .ogere-project-v10-intro {
    padding-top: 52px !important;
    padding-bottom: 36px !important;
}
body.single-ogere_project .ogere-project-v10-alt {
    background: #f6f8fb !important;
}
body.single-ogere_project .ogere-project-v10-shell {
    width: calc(100% - 60px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.single-ogere_project .ogere-project-v10-intro-grid {
    display: grid !important;
    grid-template-columns: minmax(0,58fr) minmax(320px,42fr) !important;
    gap: 44px !important;
    align-items: stretch !important;
}
body.single-ogere_project .ogere-project-v10-intro-copy {
    min-width: 0 !important;
    align-self: center !important;
}

/* Native eGovenz section-title pattern. */
body.single-ogere_project .ogere-project-v10-section-title {
    margin: 0 0 22px !important;
    padding: 0 !important;
    text-align: left !important;
}
body.single-ogere_project .ogere-project-v10-section-title .section-title {
    color: #383838 !important;
    font-family: Poppins, sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    line-height: 50px !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
}
body.single-ogere_project .ogere-project-v10-section-title .section-title::after {
    content: none !important;
    display: none !important;
}
body.single-ogere_project .ogere-project-v10-section-title .title-separator.separator-border {
    display: inline-block !important;
    margin-top: 12px !important;
    margin-bottom: 13px !important;
}
body.single-ogere_project .ogere-project-v10-section-title .section-description,
body.single-ogere_project .ogere-project-v10-section-title .section-description p {
    color: #4f5866 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}
body.single-ogere_project .ogere-project-v10-section-title.is-centred {
    text-align: center !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 28px !important;
}
body.single-ogere_project .ogere-project-v10-section-title.is-centred .title-separator {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-ogere_project .ogere-project-v10-intro-copy,
body.single-ogere_project .ogere-project-v10-record,
body.single-ogere_project .ogere-project-v10-record p,
body.single-ogere_project .ogere-project-v10-record li,
body.single-ogere_project .ogere-project-v10-copy-panel,
body.single-ogere_project .ogere-project-v10-copy-panel p {
    color: #4f5866 !important;
    font-size: 15px !important;
    line-height: 1.78 !important;
}
body.single-ogere_project .ogere-project-v10-record p,
body.single-ogere_project .ogere-project-v10-copy-panel p {
    margin: 0 0 17px !important;
}
body.single-ogere_project .ogere-project-v10-record p:last-child,
body.single-ogere_project .ogere-project-v10-copy-panel p:last-child {
    margin-bottom: 0 !important;
}
body.single-ogere_project .ogere-project-v10-lead {
    color: #243248 !important;
    font-size: 17px !important;
    line-height: 1.78 !important;
    font-weight: 500 !important;
    margin: 0 0 18px !important;
}

/* Intro project image / mini-gallery. */
body.single-ogere_project .ogere-project-v10-media {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-self: stretch !important;
}
body.single-ogere_project .ogere-project-v10-media-main {
    margin: 0 !important;
    height: 100% !important;
    min-height: 330px !important;
    overflow: hidden !important;
    border-radius: 5px !important;
    background: #eef2f6 !important;
    box-shadow: 0 12px 34px rgba(9,30,57,.12) !important;
    position: relative !important;
}
body.single-ogere_project .ogere-project-v10-media-main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 330px !important;
    object-fit: cover !important;
    object-position: center center !important;
}
body.single-ogere_project .ogere-project-v10-media-main figcaption {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 12px 14px !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    background: linear-gradient(180deg, transparent, rgba(7,26,55,.84)) !important;
}
body.single-ogere_project .ogere-project-v10-media-thumbs {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 10px !important;
}
body.single-ogere_project .ogere-project-v10-media-thumbs img {
    width: 100% !important;
    height: 105px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}
body.single-ogere_project .ogere-project-v10-media-placeholder {
    min-height: 330px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 34px !important;
    border: 1px dashed #bec8d4 !important;
    border-radius: 5px !important;
    background: #f6f8fb !important;
    color: #5e6673 !important;
}
body.single-ogere_project .ogere-project-v10-media-placeholder strong {
    color: #172033 !important;
    font-size: 17px !important;
}
body.single-ogere_project .ogere-project-v10-media-placeholder span {
    display: block !important;
    max-width: 280px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}
body.single-ogere_project .ogere-project-v10-placeholder-mark {
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #d8dee7 !important;
    color: #c1282a !important;
    font-size: 26px !important;
    line-height: 1 !important;
}

/* eGovenz-style Project Overview feature boxes. */
body.single-ogere_project .ogere-project-v10-facts {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 22px !important;
    margin-top: 26px !important;
}
body.single-ogere_project .ogere-project-v10-fact-card {
    height: 100% !important;
}
body.single-ogere_project .ogere-project-v10-fact-card .feature-box-wrap,
body.single-ogere_project .ogere-project-v10-fact-card .feature-box-wrapper,
body.single-ogere_project .ogere-project-v10-fact-card .feature-box-inner {
    height: 100% !important;
}
body.single-ogere_project .ogere-project-v10-fact-card .feature-box-inner {
    min-height: 160px !important;
    padding: 24px 20px !important;
    background: #fff !important;
    border: 1px solid #e1e6ee !important;
    border-top: 3px solid #c5912d !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 14px rgba(11,29,55,.05) !important;
}
body.single-ogere_project .ogere-project-v10-fact-card .feature-box-title {
    color: #172033 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin: 0 0 9px !important;
}
body.single-ogere_project .ogere-project-v10-fact-card .fbox-content,
body.single-ogere_project .ogere-project-v10-fact-card .fbox-content p {
    color: #5e6673 !important;
    font-size: 13.5px !important;
    line-height: 1.58 !important;
    margin: 0 !important;
}
body.single-ogere_project .ogere-project-v10-copy-panel {
    padding: 28px 30px !important;
    background: #f8fafc !important;
    border-left: 4px solid #df193a !important;
    border-radius: 4px !important;
}

/* Development Context: centred separator and wider link text areas. */
body.single-ogere_project .ogere-project-v10-context-links {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 18px !important;
}
body.single-ogere_project .ogere-project-v10-context-links a {
    min-width: 0 !important;
    min-height: 118px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 22px 24px !important;
    border: 1px solid #dfe4e9 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #071a37 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(7,26,55,.04) !important;
}
body.single-ogere_project .ogere-project-v10-context-links a:hover,
body.single-ogere_project .ogere-project-v10-context-links a:focus {
    border-color: #c5912d !important;
    transform: translateY(-2px) !important;
}
body.single-ogere_project .ogere-project-v10-context-links strong {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    color: #172033 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-bottom: 7px !important;
}
body.single-ogere_project .ogere-project-v10-context-links span {
    display: block !important;
    width: 100% !important;
    color: #5e6673 !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
}
body.single-ogere_project .ogere10-site-footer,
body.single-ogere_project .ogere4-site-footer,
body.single-ogere_project footer.ogere-site-footer {
    margin-top: 0 !important;
    clear: both !important;
}

/* --------------------------------------------------------------------------
   Projects & Infrastructure landing page.
   -------------------------------------------------------------------------- */
body.ogere-projects-v10-page .ogere-project-v10-gallery {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
    height: 100% !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-item {
    margin: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border-radius: 5px !important;
    background: #fff !important;
    border: 1px solid #e1e6ee !important;
    box-shadow: 0 8px 24px rgba(9,30,57,.08) !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-item a {
    display: block !important;
    color: #172033 !important;
    text-decoration: none !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-item img {
    display: block !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-item figcaption {
    display: block !important;
    min-height: 58px !important;
    padding: 10px 12px !important;
    color: #172033 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    background: #fff !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-placeholder {
    min-height: 330px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 30px !important;
    border: 1px dashed #bec8d4 !important;
    border-radius: 5px !important;
    background: #f6f8fb !important;
    color: #5e6673 !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-placeholder strong {
    color: #172033 !important;
    font-size: 17px !important;
}
body.ogere-projects-v10-page .ogere-project-v10-gallery-placeholder span {
    max-width: 300px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

/* Make the existing live project register visually consistent with eGovenz feature boxes. */
body.ogere-projects-v10-page .ogere-v7-project-grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 22px !important;
    margin-top: 26px !important;
}
body.ogere-projects-v10-page .ogere-v7-project-card {
    min-width: 0 !important;
    padding: 24px 20px !important;
    background: #fff !important;
    border: 1px solid #e1e6ee !important;
    border-top: 3px solid #c5912d !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 14px rgba(11,29,55,.05) !important;
}
body.ogere-projects-v10-page .ogere-v7-project-card h3,
body.ogere-projects-v10-page .ogere-v7-project-card h3 a {
    color: #172033 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}
body.ogere-projects-v10-page .ogere-v7-project-card p,
body.ogere-projects-v10-page .ogere-v7-project-card span,
body.ogere-projects-v10-page .ogere-v7-project-card .ogere-v7-project-link {
    font-size: 13.5px !important;
    line-height: 1.58 !important;
}

@media (max-width: 1024px) {
    body.single-ogere_project .ogere-v10-project-hero {
        height: 270px !important;
        min-height: 270px !important;
        max-height: 270px !important;
    }
    body.single-ogere_project .ogere-project-v10-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    body.single-ogere_project .ogere-project-v10-intro {
        padding-top: 52px !important;
        padding-bottom: 36px !important;
    }
    body.single-ogere_project .ogere-project-v10-intro-grid {
        grid-template-columns: minmax(0,56fr) minmax(300px,44fr) !important;
        gap: 34px !important;
    }
    body.single-ogere_project .ogere-project-v10-section-title .section-title {
        font-size: 36px !important;
        line-height: 44px !important;
    }
    body.single-ogere_project .ogere-project-v10-facts,
    body.ogere-projects-v10-page .ogere-v7-project-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.single-ogere_project .ogere-v10-project-hero {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
    body.single-ogere_project .ogere-v10-project-hero > .container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
    body.single-ogere_project .ogere-v10-project-hero .page-title {
        max-width: 100% !important;
    }
    body.single-ogere_project .ogere-v10-project-hero h1 {
        font-size: 26px !important;
        line-height: 1.08 !important;
        margin: 6px 0 0 !important;
    }
    body.single-ogere_project .ogere-v10-project-hero h1::after {
        width: 50px !important;
        height: 3px !important;
        margin: 10px 0 10px !important;
    }
    body.single-ogere_project .ogere-v10-project-hero .ogere-inner-hero-summary {
        font-size: 13px !important;
        line-height: 1.42 !important;
        max-width: 98% !important;
    }
    body.single-ogere_project .ogere-project-v10-section {
        padding: 30px 0 !important;
    }
    body.single-ogere_project .ogere-project-v10-intro {
        padding-top: 30px !important;
        padding-bottom: 28px !important;
    }
    body.single-ogere_project .ogere-project-v10-shell {
        width: calc(100% - 44px) !important;
    }
    body.single-ogere_project .ogere-project-v10-intro-grid {
        display: block !important;
    }
    body.single-ogere_project .ogere-project-v10-section-title,
    body.single-ogere_project .ogere-project-v10-section-title .section-title,
    body.single-ogere_project .ogere-project-v10-section-title .section-description {
        text-align: center !important;
    }
    body.single-ogere_project .ogere-project-v10-section-title .title-separator {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    body.single-ogere_project .ogere-project-v10-section-title .section-title {
        font-size: 30px !important;
        line-height: 38px !important;
    }
    body.single-ogere_project .ogere-project-v10-intro-copy,
    body.single-ogere_project .ogere-project-v10-record,
    body.single-ogere_project .ogere-project-v10-record p,
    body.single-ogere_project .ogere-project-v10-record li {
        font-size: 14px !important;
        line-height: 1.72 !important;
        text-align: left !important;
    }
    body.single-ogere_project .ogere-project-v10-lead {
        font-size: 16px !important;
        line-height: 1.72 !important;
        text-align: left !important;
    }
    body.single-ogere_project .ogere-project-v10-media {
        margin-top: 24px !important;
        height: auto !important;
    }
    body.single-ogere_project .ogere-project-v10-media-main,
    body.single-ogere_project .ogere-project-v10-media-main img,
    body.single-ogere_project .ogere-project-v10-media-placeholder {
        min-height: 260px !important;
        height: 260px !important;
    }
    body.single-ogere_project .ogere-project-v10-media-thumbs img {
        height: 90px !important;
    }
    body.single-ogere_project .ogere-project-v10-facts,
    body.single-ogere_project .ogere-project-v10-context-links,
    body.ogere-projects-v10-page .ogere-v7-project-grid {
        grid-template-columns: 1fr !important;
    }
    body.single-ogere_project .ogere-project-v10-context-links strong {
        white-space: normal !important;
    }
    body.ogere-projects-v10-page .ogere-project-v10-gallery {
        grid-template-columns: 1fr !important;
    }
    body.ogere-projects-v10-page .ogere-project-v10-gallery-item img {
        height: 220px !important;
    }
}
