/* Membership section (base styles)
   Scope to .page-main to avoid cross-page bleed. Convert to flow-based layout.
   Visuals preserved; positioning now handled via margins/padding and flex. */
.page-main .membership-info {
    position: relative;            /* participate in normal flow */
    inset: auto;                   /* reset any top/left */
    width: 100%;
    max-width: 1856px;             /* design width cap */
    height: 400px;                 /* maintain original height for now */
    margin-inline: auto;           /* center */
    border-radius: 16px;
    background-image: url('../../new-ui-img/main/membership-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    text-align: center;
    font-size: 18px;
    color: #dbdcdf;
    font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;

    display: flex;                 /* vertical stack */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 32px 32px;       /* approximate original top spacing */
    box-sizing: border-box;
}

.page-main .membership-info-heading-1 {
    position: static;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    margin: 0;
}
.page-main .membership-info-heading-2 {
    position: static;
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    color: #fff;
    margin: 11px 0 0;
}

.page-main .membership-info-heading-3 {
    width: auto;
    height: auto;
    position: static;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    display: block;
    margin: 22px 0 0;
}
.page-main .membership-info-heading-3-text {
    font-size: 18px;
    line-height: 24px;
    font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: #dbdcdf;
    text-align: center;
    margin: 0;
}

.page-main .membership-info-button { 
    position: static;
    width: auto;
    height: auto;
    backdrop-filter: blur(20px);
    border-radius: 12px;
    background-color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    text-align: center;
    padding: 14px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;              /* match vertical rhythm */
}
.page-main .membership-info-button-text {
    position: static;
    font-size: 18px;
    color: #00b872;
    font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}


