/* ================================================================
   BESTPROPERTYPLUG GHANA
   HOMEPAGE FEATURED PROJECTS MOBILE HEADER V26.8
   ------------------------------------------------
   This stylesheet is intentionally scoped to the JS-restructured
   mobile project header. V26.8 supersedes V26.6 + V26.7.
   ================================================================ */

@media (max-width: 760px) {
    .rpgx-home .bpp-hp-projects-v4695 .bpp-hp-projects-v4695__head.bpp-project-head-v268 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        overflow: visible !important;
    }

    .rpgx-home .bpp-project-head-v268__top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 9px !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    .rpgx-home .bpp-project-head-v268__title {
        display: block !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
        float: none !important;
    }

    .rpgx-home .bpp-project-head-v268__title h2 {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #123d30 !important;
        font-size: 18px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
        letter-spacing: -.02em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .rpgx-home .bpp-project-head-v268__view {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 33px !important;
        margin: 0 !important;
        padding: 0 11px !important;
        border: 1px solid #c9e9d8 !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: #078e48 !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .rpgx-home .bpp-project-head-v268__tabs {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 4px !important;
        border: 1px solid #d5eadf !important;
        border-radius: 13px !important;
        background: #f4faf7 !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .rpgx-home .bpp-project-head-v268__tabs > button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 3px !important;
        border: 1px solid transparent !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: #35564a !important;
        font-size: 9.5px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        text-align: center !important;
        white-space: nowrap !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none !important;
        flex: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-shadow: none !important;
    }

    .rpgx-home .bpp-project-head-v268__tabs > button.active,
    .rpgx-home .bpp-project-head-v268__tabs > button[aria-selected="true"] {
        background: #07964f !important;
        border-color: #07964f !important;
        color: #fff !important;
        box-shadow: 0 5px 13px rgba(7,150,79,.16) !important;
    }

    .rpgx-home .bpp-hp-projects-v4695 .bpp-hp-projects-v4695__groups {
        clear: both !important;
        width: 100% !important;
        margin-top: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

@media (max-width: 390px) {
    .rpgx-home .bpp-project-head-v268__title h2 {
        font-size: 17px !important;
    }
    .rpgx-home .bpp-project-head-v268__view {
        min-height: 31px !important;
        padding: 0 9px !important;
        font-size: 9px !important;
    }
    .rpgx-home .bpp-project-head-v268__tabs > button {
        height: 34px !important;
        min-height: 34px !important;
        font-size: 9px !important;
        padding: 0 2px !important;
    }
}
