/*
  HSBA site styles

  Used with hsba-site.js (see that file for what the two do). This file can be loaded in the
  page's <head>; then these parts are hidden before the page shows. If it is not in the
  <head>, hsba-site.js loads it.

  Each rule stands alone, so a browser that does not know one selector still applies the others.
*/

/* The account status label ("Active Member") and its dot. The label shows the state of the
   website account, not the attorney's membership status. */
.nav-account-status { display: none !important; }                                         /* header */
.nav-account-status-dot { display: none !important; }                                     /* header: the dot on the avatar */
.nav-account-menu__panel__inner > div > hr + div.inline-flex { display: none !important; } /* account menu: under the name */
aside .card .pt-16 > .flex-wrap.justify-center { display: none !important; }              /* My Account card: under the picture */
aside .card .pt-16:has(> .flex-wrap.justify-center) { padding-top: 3.5rem; }

/* My Account sidebar (desktop and mobile menu): "My Memberships & Subscriptions" */
nav li:has(> a[href$="/my-account/memberships-and-subscriptions"]) { display: none !important; }

/* My Account card, "Account Snapshot": hidden until hsba-site.js has set its lines
   (it marks the list with data-hsba). */
aside .card:has(.pt-16) h6 + hr + ul:not([data-hsba]) { display: none !important; }
