html, body { overflow-x: hidden !important; }
.admin-main, .content-wrapper, .page-content, .member-content, .gb-admin-content, main {
    min-width: 0 !important;
    max-width: 100% !important;
}

.gb-member-dashboard,
.member-premium-dashboard,
.member-dashboard-premium,
.member-dashboard-page {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 24px clamp(14px, 2vw, 32px) 34px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.gb-member-dashboard *,
.member-premium-dashboard *,
.member-dashboard-premium *,
.member-dashboard-page * {
    box-sizing: border-box !important;
}

.gb-member-dashboard img,
.member-premium-dashboard img,
.member-dashboard-premium img,
.member-dashboard-page img {
    max-width: 100% !important;
}

.member-hero,
.gb-member-hero,
.member-dashboard-hero,
.premium-dashboard-hero,
.hero-action-card {
    border-radius: 28px !important;
}

.member-dashboard-hero,
.gb-member-hero,
.member-hero,
.premium-dashboard-hero {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr) !important;
    gap: 24px !important;
    align-items: center !important;
    padding: clamp(24px, 4vw, 48px) !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #8b0f3d 0%, #c72852 48%, #f38b21 100%) !important;
    color: #fff !important;
    box-shadow: 0 22px 55px rgba(139, 15, 61, .18) !important;
}

.member-dashboard-hero h1,
.gb-member-hero h1,
.member-hero h1,
.premium-dashboard-hero h1 {
    color: #fff !important;
    font-size: clamp(30px, 4vw, 58px) !important;
    line-height: 1.06 !important;
    margin: 14px 0 14px !important;
    max-width: 760px !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.member-dashboard-hero p,
.gb-member-hero p,
.member-hero p,
.premium-dashboard-hero p {
    color: rgba(255,255,255,.88) !important;
    font-size: clamp(15px, 1.3vw, 20px) !important;
    line-height: 1.55 !important;
    max-width: 760px !important;
}

.member-dashboard-hero a,
.gb-member-hero a,
.member-hero a,
.premium-dashboard-hero a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    background: #fff !important;
    color: #8b0f3d !important;
    margin: 5px 8px 5px 0 !important;
}

.hero-action-card,
.member-hero-profile-card,
.gb-member-profile-card {
    width: 100% !important;
    max-width: 360px !important;
    justify-self: end !important;
    text-align: center !important;
    padding: clamp(22px, 3vw, 34px) !important;
    background: rgba(255,255,255,.18) !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    backdrop-filter: blur(10px) !important;
    color: #fff !important;
    border-radius: 26px !important;
}

.hero-action-card img,
.member-hero-profile-card img,
.gb-member-profile-card img {
    width: clamp(92px, 10vw, 128px) !important;
    height: clamp(92px, 10vw, 128px) !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto 14px !important;
}

.member-dashboard-grid,
.gb-dashboard-grid,
.dashboard-grid,
.member-kpi-grid,
.gb-kpi-grid,
.kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin-top: 22px !important;
}

.member-dashboard-card,
.gb-dashboard-card,
.dashboard-card,
.kpi-card,
.member-kpi-card,
.quick-action-card,
.next-step-card,
.profile-strength-card,
.membership-status-card,
.profile-checklist-card,
.support-help-card {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 22px !important;
    background: #fff !important;
    border: 1px solid #f0d9cf !important;
    box-shadow: 0 16px 35px rgba(30, 22, 22, .06) !important;
    overflow: hidden !important;
}

.kpi-card,
.member-kpi-card {
    padding: 22px !important;
    min-height: 154px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.member-dashboard-page .icon,
.member-premium-dashboard .icon,
.gb-member-dashboard .icon,
.member-dashboard-premium .icon,
.kpi-icon,
.action-icon,
.step-icon,
.trust-icon,
.card-icon,
.profile-check-icon,
.membership-icon,
.help-icon,
[class*="-icon"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.kpi-icon,
.action-icon,
.step-icon,
.trust-icon,
.card-icon,
.membership-icon,
.help-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 18px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #fff4df !important;
    color: #9a003d !important;
}

.kpi-icon i,
.action-icon i,
.step-icon i,
.trust-icon i,
.card-icon i,
.membership-icon i,
.help-icon i,
[class*="-icon"] i {
    margin: 0 !important;
    line-height: 1 !important;
}

.member-dashboard-main,
.gb-dashboard-main,
.dashboard-main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr) !important;
    gap: 22px !important;
    width: 100% !important;
    margin-top: 22px !important;
}

.quick-actions,
.next-steps,
.profile-checklist,
.membership-status {
    padding: 24px !important;
}

.quick-action-card,
.next-step-card {
    display: grid !important;
    grid-template-columns: 60px minmax(0,1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
}

.trust-strip,
.gb-trust-strip,
.member-trust-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: center !important;
    margin-top: 22px !important;
    padding: 18px !important;
    border-radius: 22px !important;
    background: #fff7ed !important;
    border: 1px solid #f0d9cf !important;
}

.trust-strip > *,
.gb-trust-strip > *,
.member-trust-strip > * {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
    min-width: 0 !important;
}

.hero-action-card .rounded-circle,
.member-dashboard-hero .rounded-circle,
.gb-member-hero .rounded-circle {
    width: 118px !important;
    height: 118px !important;
    max-width: 118px !important;
    max-height: 118px !important;
}

@media (max-width: 1199.98px) {
    .member-dashboard-hero,
    .gb-member-hero,
    .member-hero,
    .premium-dashboard-hero {
        grid-template-columns: 1fr !important;
    }
    .hero-action-card,
    .member-hero-profile-card,
    .gb-member-profile-card {
        justify-self: start !important;
        max-width: 420px !important;
    }
    .member-kpi-grid,
    .gb-kpi-grid,
    .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .member-dashboard-main,
    .gb-dashboard-main,
    .dashboard-main-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 767.98px) {
    .gb-member-dashboard,
    .member-premium-dashboard,
    .member-dashboard-premium,
    .member-dashboard-page {
        padding: 14px 12px 28px !important;
    }
    .member-dashboard-hero,
    .gb-member-hero,
    .member-hero,
    .premium-dashboard-hero {
        padding: 20px !important;
        border-radius: 20px !important;
    }
    .member-dashboard-hero h1,
    .gb-member-hero h1,
    .member-hero h1,
    .premium-dashboard-hero h1 {
        font-size: 32px !important;
    }
    .member-kpi-grid,
    .gb-kpi-grid,
    .kpi-grid,
    .trust-strip,
    .gb-trust-strip,
    .member-trust-strip {
        grid-template-columns: 1fr !important;
    }
    .quick-action-card,
    .next-step-card {
        grid-template-columns: 52px minmax(0,1fr) !important;
    }
    .quick-action-card > :last-child,
    .next-step-card > :last-child { grid-column: 1 / -1 !important; }
    .hero-action-card,
    .member-hero-profile-card,
    .gb-member-profile-card { max-width: 100% !important; }
}

@media (max-width: 420px) {
    .member-dashboard-hero h1,
    .gb-member-hero h1,
    .member-hero h1,
    .premium-dashboard-hero h1 {
        font-size: 27px !important;
    }
    .member-dashboard-hero a,
    .gb-member-hero a,
    .member-hero a,
    .premium-dashboard-hero a {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
