.swxh-membership-page .page-hero {
    display: none;
}

.swxh-membership-page .section-band {
    padding: 54px 0 72px;
    background: #f5f7f9;
}

.swxh-membership-page .content-placeholder {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.swxh-membership-page .floating-tools {
    display: none;
}

.swxh-member-shell {
    width: 100%;
    color: #1f2933;
    font-size: 14px;
}

.swxh-member-shell--narrow {
    max-width: 820px;
    margin: 0 auto;
}

.swxh-member-shell--register {
    max-width: 920px;
    margin: 0 auto;
}

.swxh-register-layout {
    display: block;
}

.swxh-register-intro {
    margin: 0;
    padding: 0 0 24px;
    border-bottom: 0;
}

.swxh-register-panel {
    border: 1px solid #d9e0e5;
    border-top: 3px solid #0783c5;
    padding: 28px 32px 30px;
    background: #fff;
}

.swxh-register-panel > h2 {
    margin: 0 0 22px;
    color: #1f2933;
    font-size: 20px;
}

.swxh-member-form--compact {
    gap: 20px;
}

.swxh-member-heading {
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid #d9e0e5;
}

.swxh-member-heading--portal {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.swxh-member-heading p,
.swxh-member-section-heading p {
    margin: 0 0 5px;
    color: #0783c5;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.swxh-member-heading h1 {
    margin: 0;
    color: #172765;
    font-size: 30px;
    line-height: 1.25;
}

.swxh-member-heading > span,
.swxh-member-heading > div > span {
    display: block;
    margin-top: 10px;
    color: #64717c;
}

.swxh-member-form {
    display: grid;
    gap: 26px;
}

.swxh-form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.swxh-member-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.swxh-member-form legend,
.swxh-member-section-heading h2 {
    margin: 0 0 18px;
    color: #1f2933;
    font-size: 19px;
    font-weight: 700;
}

.swxh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.swxh-form-grid label,
.swxh-activity-register-form label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #34424d;
    font-weight: 600;
}

.swxh-form-grid label.is-wide {
    grid-column: 1 / -1;
}

.swxh-form-grid label span b {
    color: #b42318;
    font-weight: 400;
}

.swxh-form-grid input,
.swxh-form-grid textarea,
.swxh-activity-register-form input,
.swxh-member-directory-search input,
.swxh-member-shell #loginform input[type="text"],
.swxh-member-shell #loginform input[type="password"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd4da;
    border-radius: 3px;
    padding: 8px 11px;
    color: #1f2933;
    background: #fff;
    font: inherit;
    outline: 0;
}

.swxh-form-grid textarea {
    min-height: 112px;
    resize: vertical;
}

.swxh-form-grid input:focus,
.swxh-form-grid textarea:focus,
.swxh-activity-register-form input:focus,
.swxh-member-directory-search input:focus,
.swxh-member-shell #loginform input:focus {
    border-color: #0783c5;
    box-shadow: 0 0 0 3px rgba(7, 131, 197, 0.12);
}

.swxh-member-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #52616d;
    font-weight: 400;
}

.swxh-member-consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 5px;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.swxh-member-shell input[type="checkbox"] {
    width: 17px;
    height: 17px;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.swxh-member-button,
.swxh-member-quiet-button,
.swxh-member-directory-search button,
.swxh-member-shell #wp-submit {
    display: inline-flex;
    width: fit-content;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #0783c5;
    border-radius: 3px;
    padding: 8px 22px;
    color: #fff;
    background: #0783c5;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.swxh-member-button:hover,
.swxh-member-button:focus-visible,
.swxh-member-directory-search button:hover,
.swxh-member-directory-search button:focus-visible,
.swxh-member-shell #wp-submit:hover,
.swxh-member-shell #wp-submit:focus-visible {
    border-color: #006da9;
    background: #006da9;
}

.swxh-member-quiet-button {
    color: #0783c5;
    background: transparent;
}

.swxh-member-quiet-button:hover,
.swxh-member-quiet-button:focus-visible {
    color: #fff;
    background: #0783c5;
}

.swxh-member-text-button {
    border: 0;
    padding: 3px 0;
    color: #687680;
    background: transparent;
    text-decoration: underline;
    cursor: pointer;
}

.swxh-member-login-link,
.swxh-member-login-options {
    margin: 24px 0 0;
    color: #65737d;
}

.swxh-member-login-options {
    display: flex;
    justify-content: space-between;
}

.swxh-member-login-link a,
.swxh-member-login-options a,
.swxh-member-section-heading a,
.swxh-member-directory-item a {
    color: #0077b5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.swxh-member-shell #loginform {
    display: grid;
    gap: 16px;
}

.swxh-member-shell #loginform p {
    margin: 0;
}

.swxh-member-shell #loginform label {
    display: grid;
    gap: 6px;
    color: #34424d;
    font-weight: 600;
}

.swxh-member-shell #loginform .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.swxh-member-notice,
.swxh-member-status-panel {
    margin: 0 0 26px;
    border-left: 4px solid #c18b18;
    padding: 14px 16px;
    color: #59420b;
    background: #fff8e6;
}

.swxh-member-notice.is-success,
.swxh-member-status-panel.is-success {
    border-color: #23835f;
    color: #185c44;
    background: #edf8f3;
}

.swxh-member-notice.is-error,
.swxh-member-status-panel.is-error {
    border-color: #b42318;
    color: #7a271a;
    background: #fff1f0;
}

.swxh-member-status-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
}

.swxh-member-status-panel div {
    display: grid;
    gap: 3px;
}

.swxh-member-status-panel span {
    color: inherit;
    font-size: 12px;
}

.swxh-member-status-panel strong {
    font-size: 17px;
}

.swxh-member-status-panel p {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid currentColor;
}

.swxh-member-status-panel p span {
    display: block;
    margin-bottom: 3px;
    font-weight: 700;
}

.swxh-member-tabs {
    display: flex;
    gap: 28px;
    position: sticky;
    top: 0;
    z-index: 4;
    margin: 0 0 34px;
    border-bottom: 1px solid #d9e0e5;
    background: #f5f7f9;
}

.swxh-member-tabs a {
    display: block;
    padding: 12px 0 10px;
    color: #33424d;
    border-bottom: 2px solid transparent;
}

.swxh-member-tabs a:hover,
.swxh-member-tabs a:focus-visible {
    color: #0783c5;
    border-color: #0783c5;
}

.swxh-member-section {
    scroll-margin-top: 60px;
    margin-top: 48px;
    padding-top: 4px;
}

.swxh-member-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid #d9e0e5;
}

.swxh-member-section-heading h2 {
    margin-bottom: 13px;
}

.swxh-member-section-heading > span,
.swxh-member-section-heading > a {
    margin-bottom: 13px;
    color: #64717c;
    font-size: 12px;
}

.swxh-activity-list {
    display: grid;
}

.swxh-activity-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) minmax(180px, 250px);
    gap: 24px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid #dfe5e9;
}

.swxh-activity-item:first-child {
    border-top: 1px solid #dfe5e9;
}

.swxh-activity-item__date {
    display: grid;
    color: #172765;
    line-height: 1.15;
}

.swxh-activity-item__date time {
    font-size: 19px;
    font-weight: 700;
}

.swxh-activity-item__date span {
    margin-top: 5px;
    color: #7a8790;
    font-size: 12px;
}

.swxh-activity-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #67747e;
    font-size: 12px;
}

.swxh-activity-item__meta span + span::before {
    content: "/";
    margin-right: 14px;
    color: #b8c1c7;
}

.swxh-activity-item h2 {
    margin: 7px 0 6px;
    color: #1f2933;
    font-size: 18px;
}

.swxh-activity-item__body p {
    margin: 0 0 7px;
    color: #53616b;
}

.swxh-activity-item__body small {
    color: #7a8790;
}

.swxh-activity-item__action {
    display: grid;
    justify-items: stretch;
    gap: 8px;
}

.swxh-activity-register-form {
    display: grid;
    gap: 9px;
}

.swxh-activity-register-form label {
    grid-template-columns: 52px 1fr;
    align-items: center;
    font-size: 12px;
}

.swxh-activity-register-form input {
    min-height: 34px;
    padding: 5px 8px;
}

.swxh-activity-register-form .swxh-member-button {
    width: 100%;
    min-height: 36px;
}

.swxh-activity-status,
.swxh-activity-disabled {
    display: block;
    border: 1px solid #cbd4da;
    padding: 7px 10px;
    color: #40505b;
    background: #fff;
    text-align: center;
}

.swxh-activity-disabled {
    color: #6c7881;
    background: #eef1f3;
}

.swxh-member-table-wrap {
    overflow-x: auto;
}

.swxh-member-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.swxh-member-table th,
.swxh-member-table td {
    border-bottom: 1px solid #dfe5e9;
    padding: 12px 14px;
    text-align: left;
    white-space: nowrap;
}

.swxh-member-table th {
    color: #43515b;
    background: #edf1f4;
    font-size: 12px;
}

.swxh-member-directory-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 620px;
    margin-bottom: 30px;
}

.swxh-member-directory-search input {
    border-right: 0;
    border-radius: 3px 0 0 3px;
}

.swxh-member-directory-search button {
    border-radius: 0 3px 3px 0;
}

.swxh-member-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
}

.swxh-member-directory-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    gap: 8px 18px;
    padding: 22px 0;
    border-top: 1px solid #dfe5e9;
}

.swxh-member-directory-item > div span {
    color: #0783c5;
    font-size: 12px;
}

.swxh-member-directory-item h2 {
    margin: 3px 0 0;
    color: #1f2933;
    font-size: 18px;
}

.swxh-member-directory-item > strong {
    color: #285c48;
    font-size: 12px;
}

.swxh-member-directory-item p,
.swxh-member-directory-item > a {
    grid-column: 1 / -1;
    margin: 0;
}

.swxh-member-directory-item p {
    color: #5a6872;
}

.swxh-member-empty {
    margin: 0;
    border: 1px dashed #c9d2d8;
    padding: 24px;
    color: #687680;
    background: #fff;
}

.swxh-member-profile {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    margin: 0;
    border-top: 1px solid #dfe5e9;
    background: #fff;
}

.swxh-member-profile dt,
.swxh-member-profile dd {
    margin: 0;
    border-bottom: 1px solid #dfe5e9;
    padding: 12px 14px;
}

.swxh-member-profile dt {
    color: #52616d;
    font-weight: 700;
    background: #edf1f4;
}

.swxh-member-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.swxh-member-pagination a,
.swxh-member-pagination .current {
    display: grid;
    min-width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #cbd4da;
    color: #33424d;
    background: #fff;
}

.swxh-member-pagination .current {
    border-color: #0783c5;
    color: #fff;
    background: #0783c5;
}

@media (max-width: 760px) {
    .swxh-membership-page .section-band {
        padding: 34px 0 52px;
    }

    .swxh-member-heading--portal,
    .swxh-member-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .swxh-register-layout {
        display: block;
    }

    .swxh-register-intro {
        padding-bottom: 20px;
        border-bottom: 0;
    }

    .swxh-register-panel {
        padding: 22px 18px 24px;
    }

    .swxh-member-heading h1 {
        font-size: 25px;
    }

    .swxh-form-grid,
    .swxh-member-status-panel,
    .swxh-member-directory {
        grid-template-columns: 1fr;
    }

    .swxh-form-grid label.is-wide,
    .swxh-member-status-panel p {
        grid-column: auto;
    }

    .swxh-member-profile {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .swxh-member-tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .swxh-activity-item {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 16px;
    }

    .swxh-activity-item__action {
        grid-column: 1 / -1;
    }

    .swxh-activity-register-form {
        grid-template-columns: 1fr 1fr;
    }

    .swxh-activity-register-form .swxh-member-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .swxh-activity-register-form {
        grid-template-columns: 1fr;
    }

    .swxh-activity-register-form .swxh-member-button {
        grid-column: auto;
    }

    .swxh-member-directory-search {
        grid-template-columns: 1fr;
    }

    .swxh-member-directory-search input,
    .swxh-member-directory-search button {
        border: 1px solid #cbd4da;
        border-radius: 3px;
    }

    .swxh-member-directory-search button {
        margin-top: 8px;
        border-color: #0783c5;
    }
}
