/* OHELP LANDING TARGETED LAYOUT FIX */

/* Correct the actual quick-action container inside the wallet card. */
.ohelp-landing-page .landing-account {
    overflow: visible !important;
    position: relative !important;
    z-index: 2 !important;
}

.ohelp-landing-page .landing-account .landing-main-actions {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    overflow: visible !important;
}

.ohelp-landing-page .landing-main-actions > * {
    min-width: 0 !important;
    width: 100% !important;
    position: relative !important;
}

.ohelp-landing-page .landing-main-actions > .landing-button,
.ohelp-landing-page .landing-main-actions > details > summary {
    min-height: 84px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 8px !important;
    white-space: normal !important;
}

.ohelp-landing-page .landing-main-actions details[open] {
    z-index: 1000 !important;
}

.ohelp-landing-page .ohelp-marketplace-stories-host {
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    margin-top: 28px !important;
}

/* Align the actual landing header and logo. */
.ohelp-landing-page .landing-header {
    display: grid !important;
    grid-template-columns: 52px minmax(0,1fr) 112px !important;
    align-items: center !important;
    gap: 12px !important;
}

.ohelp-landing-page .landing-logo {
    justify-self: center !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.ohelp-landing-page .landing-logo .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media(max-width:650px) {
    .ohelp-landing-page .landing-main-actions {
        gap: 6px !important;
    }

    .ohelp-landing-page .landing-main-actions > .landing-button,
    .ohelp-landing-page .landing-main-actions > details > summary {
        min-height: 70px !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
    }

    .ohelp-landing-page .landing-header {
        grid-template-columns: 44px minmax(0,1fr) 96px !important;
        gap: 6px !important;
    }
}
/* OHELP CENTERED LANDING HEADER V1 */

.ohelp-landing-page .landing-header.ohelp-centered-header {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    min-height: 80px !important;
    gap: 12px !important;
    padding: 14px 0 !important;
}

.ohelp-landing-page .ohelp-centered-header .landing-logo {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
    width: auto !important;
    position: static !important;
    transform: none !important;
}

.ohelp-landing-page .ohelp-centered-header .landing-header-actions {
    grid-column: 3 !important;
    justify-self: end !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
}

.ohelp-landing-page .ohelp-centered-header .landing-icon-button {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
}

.ohelp-landing-page .ohelp-centered-header .landing-logo .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

@media(max-width:650px) {
    .ohelp-landing-page .landing-header.ohelp-centered-header {
        min-height: 68px !important;
        gap: 4px !important;
    }

    .ohelp-landing-page .ohelp-centered-header .landing-header-actions {
        gap: 3px !important;
    }

    .ohelp-landing-page .ohelp-centered-header .landing-icon-button {
        flex-basis: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }
}