.members-directory-form {
  display: block;
  width: 100%;
  max-width: none;
}

/* Override global body.single article padding (style.css) for member cards only */
body.single-members article.member-single__person {
  padding: 10px 10px 31px;
}

body.post-type-archive-members article.member-card {
  padding: 0;
}

/* Match footer layout to Contact template */
body.single-members .site-footer .site-footer__middle {
  margin: 0;
  padding-top: 0;
}

body.single-members .site-footer .site-footer__middle:before {
  display: none;
}

body.page-template-application-submission {
  background-color: #fff;
}

body.post-type-archive-members .site-footer .site-footer__middle,
body.page-template-application-submission .site-footer .site-footer__middle,
body.page-template-member-form .site-footer .site-footer__middle {
  margin: 0;
  padding-top: 0;
}

body.post-type-archive-members .site-footer .site-footer__middle:before,
body.page-template-application-submission .site-footer .site-footer__middle:before,
body.page-template-member-form .site-footer .site-footer__middle:before {
  display: none;
}

#members-archive {
  width: 100%;
  max-width: 100%;
}

#members-archive main,
#members-archive section,
#members-archive .wrapper {
  position: relative;
  width: 100%;
}

.members-archive-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 136px 0 164px;
  background: linear-gradient(180deg, #3270C8 0%, #1B54A5 100%);  min-height: 343px;
  border-radius: 0 0 32px 32px;
}

body.page-template-application-submission .members-archive-hero {
  padding-bottom: 84px;
}
@media only screen and (max-width: 1439px) and (min-width: 992px) {
  body.page-template-application-submission .members-archive-hero {
    padding-bottom: 5.8333333333vw;
  }
}
@media (max-width: 991px) {
  body.page-template-application-submission .members-archive-hero {
    padding-bottom: 22.4vw;
  }
}

.members-archive-hero .wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.members-archive-hero__search {
  margin-top: 24px;
  position: relative;
  width: min(560px, 100%);
  background: #fafcff;
  border: 1px solid #eaeaec;
  border-radius: 13px;
  height: 56px;
  overflow: visible;
  z-index: 5;
}

.members-archive-hero__search input {
  height: 100%;
  border: 0;
  background: transparent;
  width: 100%;
  padding: 0 64px 0 16px;
  color: #1c365b;
}

.members-archive-hero__search input::placeholder {
  color: #bfbfbf;
  opacity: 1;
}

/* Hide native search clear control (hero keeps custom submit only) */
.members-archive-hero__search input[type="search"]::-webkit-search-decoration,
.members-archive-hero__search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.members-archive-hero__search input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.members-archive-hero__search-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.members-archive-hero__search-btn svg {
  width: 32px;
  height: 32px;
}

.members-archive-hero__search-btn path {
  stroke: #1b54a5;
}

.members-directory__autocomplete {
  position: fixed;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 13px;
  box-shadow: 0 14px 30px rgba(15, 41, 79, 0.12);
  z-index: 99999;
  overflow: hidden;
}

.members-directory__autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 320px;
  overflow-y: auto;
}

.members-directory__autocomplete-item {
  margin: 0;
}

.members-directory__autocomplete-option {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  padding: 10px 16px;
  cursor: pointer;
}

.members-directory__autocomplete-option:hover,
.members-directory__autocomplete-option:focus-visible,
.members-directory__autocomplete-option.is-active {
  background: #f3f8ff;
}

.members-directory__autocomplete-label {
  color: #1c365b;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

.members-directory__autocomplete-meta {
  color: #6f7f95;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.members-directory__autocomplete-status {
  border-top: 1px solid #f0f3f8;
  color: #6f7f95;
  font-size: 13px;
  line-height: 1.3;
  padding: 9px 16px 10px;
}

.members-directory__filters-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 56px;
}

.members-archive-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.members-archive-hero__breadcrumbs a {
  color: inherit;
}

.members-archive-hero__breadcrumbs span:last-child {
  color: #FFF;
}

.members-archive-hero__title {
  margin: 18px 0 0;
  color: #fff;
  text-align: center;
  max-width: 888px;
  font-size: 54px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -1.4px;
}

.members-archive-hero__description {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.70);
  text-align: center;
  max-width: 720px;
  font-feature-settings: 'liga' off, 'clig' off;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.36px;
}

.members-directory {
  position: relative;
  margin-top: -77px;
  padding: 0 0 120px;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .members-directory {
    overflow-x: hidden;
  }
}

/* Safari: prevent x-scroll on this archive page */
body.post-type-archive-members {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  body.post-type-archive-members {
    overflow-x: hidden;
  }
}

.members-directory .wrapper {
  position: relative;
  z-index: 2;
}

.members-directory__filters {
  position: relative;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 32px;
  padding: 28px 34px;
  box-shadow: 0 22px 48px rgba(15, 41, 79, 0.08);
}

.members-directory__filters--loading .members-directory__filters-grid {
  opacity: 0;
  pointer-events: none;
}

.members-directory__filters--loading::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid #e7eef8;
  border-top-color: #1b54a5;
  border-radius: 50%;
  animation: members-directory-filters-spin 0.65s linear infinite;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  .members-directory__filters--loading::after {
    animation: none;
    border-color: #cfd9e6;
    border-top-color: #1b54a5;
    opacity: 0.9;
  }
}

@keyframes members-directory-filters-spin {
  to {
    transform: rotate(360deg);
  }
}

.members-directory__filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.members-directory__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* In filters grid fields should stretch full column width */
.members-directory__filters-grid .members-directory__field {
  flex: 1 1 240px;
  min-width: 0;
}

.members-directory__filters-grid .members-directory__submit {
  flex: 0 0 56px;
}

/* No native select UI before Select2 mounts (multiselect otherwise flashes all options) */
.members-directory__filters-grid select.select2:not(.select2-hidden-accessible),
.members-directory__filters-grid select.select2-multiple--members:not(.select2-hidden-accessible) {
  visibility: hidden;
  pointer-events: none;
}

/* Members directory multiselect (custom variant) */
.members-directory .md-ms-selection.select2-selection--multiple {
  height: 56px;
  border: 1px solid #eaeaec;
  border-radius: 13px;
  background: #fafcff;
  padding: 0 22px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}

.members-directory .md-ms-selection.select2-selection--multiple::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: rgba(28, 54, 91, 0.55) transparent transparent transparent;
}

.members-directory .select2-container--default.select2-container--open .md-ms-selection.select2-selection--multiple::after {
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent rgba(28, 54, 91, 0.55) transparent;
}

.members-directory .md-ms-selection.select2-selection--multiple .select2-selection__rendered {
  position: relative;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Collapse multiple choices into one single-line summary */
.members-directory .md-ms-selection.select2-selection--multiple .select2-selection__choice,
.members-directory .md-ms-selection.select2-selection--multiple .select2-search--inline {
  display: none !important;
}

.members-directory .md-ms-selection.select2-selection--multiple .select2-selection__rendered::before {
  content: attr(data-md-ms-summary);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #120029;
  font-size: 15px;
  line-height: 2.1;
  font-weight: 400;
}

.members-directory .md-ms-selection.select2-selection--multiple .select2-selection__rendered[data-md-ms-empty="1"]::before {
  content: attr(title);
  color: #6f7f95;
}

.members-directory .md-ms-selection.select2-selection--multiple .select2-selection__choice__remove {
  display: none;
}

.members-directory .md-ms-selection.select2-selection--multiple .select2-selection__choice:not(:last-child)::after {
  content: ", ";
  color: #120029;
}

.members-directory .md-ms-dropdown.select2-dropdown {
  border: 1px solid #eaeaec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.members-directory .md-ms-dropdown .select2-results__option {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1.21;
  font-weight: 500;
  color: #6f7f95;
}

.members-directory .md-ms-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Disable global project checkbox pseudo-elements for this custom dropdown */
.members-directory .md-ms-dropdown .select2-results > .select2-results__options[aria-multiselectable=true] .select2-results__option::before,
.members-directory .md-ms-dropdown .select2-results > .select2-results__options[aria-multiselectable=true] .select2-results__option::after {
  display: none !important;
  content: none !important;
}

.members-directory .md-ms-dropdown .select2-results > .select2-results__options[aria-multiselectable=true] .select2-results__option {
  padding-right: 22px;
}

.members-directory .md-ms-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
  background: #fafcff;
  color: #120029;
}

.members-directory .md-ms-dropdown .select2-results__option[aria-selected="true"] {
  background: #fafcff;
  color: #120029;
}

.members-directory .md-ms-option__box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #cfd9e6;
  background: #fff;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.members-directory .md-ms-dropdown .select2-results__option.select2-results__option--selected .md-ms-option__box {
  border-color: #1b54a5;
  background: #fff;
}

.members-directory .md-ms-dropdown .select2-results__option.select2-results__option--selected .md-ms-option__box::after {
  content: "";
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2714%27%20height%3D%2714%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M16.6667%205.83301L8.33333%2014.1663L4.16667%209.99967%27%20stroke%3D%27%231B54A5%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
}

.members-directory .md-ms-option__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.members-directory__field span {
  color: #120029;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.16px;
  text-transform: capitalize;
}

.members-directory__field.members-directory__field--name input {
  padding: 11px 46px 9px 23px !important;
}

@media only screen and (max-width: 1439px) and (min-width: 992px) {
  .members-archive-hero__search {
    margin-top: 1.6666666667vw;
    width: min(38.8888888889vw, 100%);
    border-radius: 0.9027777778vw;
    height: 3.8888888889vw;
  }

  .members-archive-hero__search-btn {
    width: 2.2222222222vw;
    height: 2.2222222222vw;
    right: 1.1111111111vw;
  }

  .members-archive-hero__search-btn svg {
    width: 2.2222222222vw;
    height: 2.2222222222vw;
  }

  .members-directory__field.members-directory__field--name input {
    padding: 0.7638888889vw 3.1944444444vw 0.625vw 1.5972222222vw !important;
  }
}

@media (max-width: 991px) {
  .members-archive-hero__search {
    margin-top: 6.4vw;
    width: 100%;
    border-radius: 3.4666666667vw;
    height: 14.9333333333vw;
  }

  .members-archive-hero__search-btn {
    width: 8.5333333333vw;
    height: 8.5333333333vw;
    right: 4.2666666667vw;
  }

  .members-archive-hero__search-btn svg {
    width: 8.5333333333vw;
    height: 8.5333333333vw;
  }

  .members-directory__field.members-directory__field--name input {
    padding: 2.9333333333vw 12.2666666667vw 2.4vw 6.1333333333vw !important;
  }

  .members-directory__autocomplete {
    border-radius: 3.4666666667vw;
  }
}

.members-directory__field input,
.members-directory__field select {
  width: 100%;
  height: 56px;
  border: 1px solid #eaeaec;
  border-radius: 13px;
  padding: 0 22px;
  background: #fafcff;
  color: #1c365b;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 2.1;
}

.members-directory__field input::placeholder {
  color: #1c365b;
  opacity: 1;
}

.members-directory__submit {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: #1b54a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(36, 92, 173, 0.2);
}

.members-directory__submit:hover,
.members-directory__submit:focus-visible {
  filter: brightness(0.98);
}

.members-directory__toolbar {
  margin: 24px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.members-directory__toolbar h2 {
  margin: 0;
  color: #0f294f;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.members-directory__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.members-directory__sort span {
  color: #1b54a5;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.members-directory__sort .select2-container {
  min-width: 180px;
}

/* Force 40px sort select (form.css sets min-height) */
.members-directory__sort .select2-container--default .select2-selection--single {
  height: 40px !important;
  min-height: 40px !important;
}

.members-directory__sort .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
}

.members-directory__sort .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
}

.members-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  overflow: visible;
}

.member-card-wrap {
  position: relative;
  min-height: 345px;
}

.member-card-wrap.is-hidden {
  display: none;
}

.member-card {
  display: flex;
  flex-direction: column;
  min-height: 345px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #eef2f8;
  box-shadow: 0 12px 30px rgba(15, 41, 79, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.member-card-wrap:hover .member-card,
.member-card:hover {
  transform: translateY(-10px);
  border-color: #d6dbe1;
  box-shadow: -7px -7px 31.7px rgba(153, 153, 153, 0.06), 0 22px 48px rgba(15, 41, 79, 0.08);
  overflow: visible;
  z-index: 3;
}

.member-card-wrap:hover .member-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
}

.member-card:hover .member-card__media::before {
  box-shadow: -7px -7px 31.7px 0 rgba(153, 153, 153, 0.06);
}

.member-card__media {
  position: relative;
  height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: transparent;
}

.member-card__media::before {
  content: "";
  position: absolute;
  inset: 13px;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 16px;
  box-shadow: -7px -7px 31.7px rgba(153, 153, 153, 0.06);
  opacity: 0.5;
}

.member-card__media img,
.member-single__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.member-card__placeholder,
.member-single__logo span {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b54a5;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.member-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
  position: relative;
}

.member-card__media-link {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1b54a5;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  z-index: 2;
  transition: background-color 160ms ease;
  border-radius: 8px;
  border: 1px solid #EFF5FF;
  background: #FCFDFF;
}

.member-card:hover .member-card__media-link {
  background: #1b54a5;
}

.member-card:hover .member-card__media-link path {
  stroke: #ffffff;
}

.member-card__meta {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.member-card__meta span {
  display: inline-flex;
  padding: 2px 7px 3px;
  border-radius: 5px;
  background: #dfeafe;
  color: rgba(15, 41, 79, 0.8);
  font-size: 11px;
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: -0.22px;
  text-transform: capitalize;
}

.member-card h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  padding-bottom: 0.08em;
  letter-spacing: -0.96px;
}

.member-card h2 a,
.member-card__link {
  color: #153567;
}

.member-card__location,
.member-card__excerpt,
.members-directory__empty p {
  color: rgba(88, 105, 130, 0.8);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.member-card__excerpt-wrap {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: none;
}

.member-card__excerpt {
  min-height: 0;
  margin: 10px 0 0;
  line-height: 1.4;
  color: rgba(15, 41, 79, 0.8);
  overflow: hidden;
}

.member-card-wrap:hover .member-card__excerpt-wrap,
.member-card:hover .member-card__excerpt-wrap {
  grid-template-rows: 1fr;
  transition: grid-template-rows 200ms ease;
}

.member-card__location {
  margin-top: 0;
  margin-bottom: 10px;
}


.members-directory__more {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.members-directory__more-button {
  min-width: 118px;
  min-height: 34px;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid #e4ebf5;
  color: #55719f;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  background: #fff;
}

.members-directory__empty {
  padding: 48px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #edf1f6;
}

.members-directory .select2-container {
  width: 100% !important;
}

.members-directory .select2-container--default .select2-selection--single {
  height: 56px;
  border: 1px solid #eaeaec;
  border-radius: 13px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: #fafcff;
  box-sizing: border-box;
}

.members-directory .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #1c365b;
  line-height:56px;
  padding-left: 0;
  font-size: 15px;
}

.members-directory .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 56px;
  right: 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.members-directory .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(28, 54, 91, 0.55) transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
}

.members-directory .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent rgba(28, 54, 91, 0.55) transparent;
  border-width: 0 4px 5px 4px;
}

.members-directory .select2-dropdown {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  max-width: 100%;
  box-sizing: border-box;
}

.members-directory .select2-container--open .select2-dropdown {
  opacity: 1;
  transform: translateY(0);
}

.member-single {
  padding: 132px 0 120px;
  background: #ffffff;
}

#member-single::after {
  content: none;
}

.member-single .wrapper {
  max-width: 980px;
}

.member-single__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 80px;
  color: #0f294f;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.14px;
}

.member-single__breadcrumbs a {
  color: inherit;
  opacity: 0.5;
}

.member-single__breadcrumbs span {
  color: inherit;
  opacity: 0.5;
}

.member-single__breadcrumbs span:last-child {
  opacity: 1;
}

.member-single__intro {
  padding: 0 24px 22px;
  border: 1px solid #FAFCFF;
  border-radius: 20px;
  background: #f8fbff;
}

.member-single__brand {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid #e7eef8;
}

.member-single__logo {
  width: 250px;
  height: 166px;
  margin-top: -65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #D6DBE1;
  box-shadow: -7px -7px 31.7px 0 rgba(153, 153, 153, 0.06);
}

.member-single__headline h1 {
  margin: 0;
  color: #0f294f;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  padding: 29px 0;
  letter-spacing: -1.68px;
}

.member-single__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  padding-top: 18px;
}

.member-single__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-single__detail span,
.member-single__person-role {
  color: #6f8097;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.member-single__detail a,
.member-single__detail p {
  margin: 0;
  color: #0f294f;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.32px;
  word-break: break-word;
}

/* Phone / website / email only — not links inside .member-single__socials */
.member-single__details .member-single__detail > a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.25s ease;
}

.member-single__details .member-single__detail > a:hover,
.member-single__details .member-single__detail > a:focus-visible {
  text-decoration-color: currentColor;
}

.member-single__detail--socials {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-items: flex-start;
  align-self: start;
  gap: 15px;
}

.member-single__detail--socials a {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  border: 1px solid #F0F0FF;
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.50) 100%);
}

.member-single__detail--socials a img {
  width: 16px;
  height: 16px;
}

.member-single__socials {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 12px;
  align-items: center;
}

.member-single__person-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.member-single__socials a,
.member-single__person-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #17376a;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
}

.member-single__socials a {
  transition: all 0.3s ease;
}

.member-single__socials a:hover {
  transform: scale(1.1);
  border-color: #1b54a5;
}

.member-single__socials img,
.member-single__socials svg,
.member-single__person-socials svg,
.member-single__person-socials img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.member-single__socials a svg path,
.member-single__person-socials a svg path {
  transition: fill 0.3s ease;
}

.member-single__socials a:hover svg path,
.member-single__person-socials a:hover svg path {
  fill: #1b54a5;
}

.member-single__section {
  margin-top: 40px;
}

.member-single__section ol {
  padding-left: 24px;
}

.member-single__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}

.member-single__section-head h2 {
  flex: 1;
  margin-bottom: 0;
}

.member-single__section h2 {
  margin: 0 0 12px;
  color: #0f294f;
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
}

.member-single__copy {
  color: #6f8097;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
}

.member-single__copy--industry {
  margin-top: 16px;
}

.member-single__copy > *:first-child {
  margin-top: 0;
}

.member-single__copy > *:last-child {
  margin-bottom: 0;
}

.member-single__copy ul {
  margin: 0;
  padding: 0 0 0 18px;
}

.member-single__copy li {
  margin: 0 0 8px;
}

.member-single__copy a {
  color: #2c66bc;
  text-decoration: underline;
}

.member-single__industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-single__industries > .member-single__industry-item {
  width: auto;
}

.member-single__industry-item {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
}

.member-single__industry-name {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #d8e5f5;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  color: #1b54a5;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.14px;
  white-space: normal;
}

.member-single__industry-description p {
  margin: 0;
  color: #425b7d;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .member-single__industries {
    gap: 8px;
  }

  .member-single__industries > .member-single__industry-item {
    width: auto;
  }
}

.member-single__gallery {
  overflow: hidden;
  cursor: pointer;
}

.member-single__gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  height: 180px;
  background: #fafcff;
  cursor: pointer;
}

.member-single__gallery-item img {
  width: 100%;
  height: 100%;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
  will-change: transform;
}

@media (hover: hover) {
  .member-single__gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.88);
  }
}

.member-single__gallery .swiper-wrapper {
  align-items: stretch;
}

.member-single__gallery .swiper-slide {
  width: 227px;
}

.member-single__gallery-nav {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.member-single__gallery-nav[hidden] {
  display: none !important;
}

.member-single__gallery-btn {
  width: 34px;
  height: 34px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #eff5ff;
  background: #ffffff;
  color: #1b54a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.member-single__gallery-btn svg {
  display: block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.member-single__gallery-btn--next svg {
  transform: scaleX(-1);
}

.member-single__gallery-btn:hover {
  background: #1b54a5;
  border-color: #1b54a5;
  color: #ffffff;
}

.member-single__lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 23, 43, 0.92);
}

.member-single__lightbox[hidden] {
  display: none !important;
}

.member-single__lightbox-frame {
  position: relative;
  margin: 0;
  max-width: min(1120px, calc(100vw - 112px));
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.member-single__lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  background: #fff;
}

.member-single__lightbox-close,
.member-single__lightbox-nav {
  position: absolute;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
}

.member-single__lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.member-single__lightbox-close::before,
.member-single__lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
}

.member-single__lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.member-single__lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.member-single__lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.member-single__lightbox-nav::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(-45deg);
}

.member-single__lightbox-nav--prev {
  left: 24px;
}

.member-single__lightbox-nav--next {
  right: 24px;
}

.member-single__lightbox-nav--next::before {
  transform: rotate(135deg);
}

.member-single__lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: block;
  min-width: 84px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.member-single__lightbox-close:hover,
.member-single__lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}


/* The event article stylesheet has broad image rules; keep gallery media aligned
   with the member gallery when this component is reused in flexible content. */
.article .article__body .member-single__gallery-item img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.article .article__body .member-single__lightbox-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.article .article__body .event-single__gallery-section h2 {
  margin: 0;
  color: #0f294f;
  font-size: 24px;
  line-height: 28px;
}

@media (max-width: 767px) {
  .member-single__lightbox {
    padding: 16px;
  }

  .member-single__lightbox-frame {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
  }

  .member-single__lightbox-frame img {
    max-height: calc(100vh - 92px);
  }

  .member-single__lightbox-close {
    top: 16px;
    right: 16px;
  }

  .member-single__lightbox-nav {
    width: 46px;
    height: 46px;
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .member-single__lightbox-nav--prev {
    left: 16px;
  }

  .member-single__lightbox-nav--next {
    right: 16px;
  }

  .member-single__lightbox-counter {
    display: block;
    bottom: 20px;
    min-width: 76px;
    padding: 7px 12px;
    font-size: 12px;
  }
}

.member-single__download {
  margin-top: 40px;
  padding: 29px 40px 29px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid #f0f0ff;
  border-radius: 13px;
  background: #eff5ff;
}

.member-single__download-copy strong {
  display: block;
  color: #0f294f;
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.member-single__download-copy strong::before {
  content: "";
  width: 22px;
  height: 26px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='22'%20height='26'%20viewBox='0%200%2022%2026'%20fill='none'%3E%3Cpath%20d='M21.6996%207.28436L14.7081%200.292846C14.6981%200.282837%2014.6873%200.274048%2014.6769%200.264526C14.6634%200.252136%2014.6503%200.239319%2014.6361%200.227661C14.6267%200.219971%2014.6166%200.213256%2014.607%200.205871C14.5906%200.19336%2014.5745%200.180664%2014.5574%200.169129C14.5496%200.16394%2014.5414%200.159608%2014.5336%200.154663C14.5137%200.142151%2014.4939%200.1297%2014.4731%200.11853C14.4675%200.11554%2014.4617%200.11322%2014.4561%200.110351C14.4326%200.0982663%2014.4089%200.0866701%2014.3845%200.0764763C14.3807%200.0748888%2014.3766%200.0737261%2014.3728%200.0722036C14.3465%200.0616436%2014.3198%200.0517562%2014.2925%200.0434537C14.2885%200.0422324%2014.2844%200.0414999%2014.2805%200.0403399C14.2534%200.0324649%2014.226%200.0252037%2014.1979%200.0195899C14.189%200.0178199%2014.1797%200.0170263%2014.1708%200.0155001C14.1476%200.0114726%2014.1245%200.00738252%2014.1009%200.00506377C14.0677%200.0016918%2014.0343%201.70236e-06%2014.001%200H2C1.46975%200.000606423%200.961397%200.211515%200.586456%200.586456C0.211514%200.961398%200.000606423%201.46975%200%202V24C0.000606423%2024.5302%200.211514%2025.0386%200.586456%2025.4135C0.961397%2025.7885%201.46975%2025.9994%202%2026H20.001C20.5312%2025.9994%2021.0396%2025.7885%2021.4145%2025.4135C21.7895%2025.0386%2022.0004%2024.5302%2022.001%2024V8.01935C22.0011%208.01282%2022.002%208.00653%2022.002%208C22.0021%207.86655%2021.9753%207.73444%2021.9234%207.61151C21.8715%207.48857%2021.7954%207.37733%2021.6996%207.28436ZM14.001%208V2.41419L19.5867%208H14.001Z'%20fill='%237000FF'/%3E%3Cpath%20d='M21.6996%207.28436L14.7081%200.292846C14.6981%200.282837%2014.6873%200.274048%2014.6769%200.264526C14.6634%200.252136%2014.6503%200.239319%2014.6361%200.227661C14.6267%200.219971%2014.6166%200.213256%2014.607%200.205871C14.5906%200.19336%2014.5745%200.180664%2014.5574%200.169129C14.5496%200.16394%2014.5414%200.159608%2014.5336%200.154663C14.5137%200.142151%2014.4939%200.1297%2014.4731%200.11853C14.4675%200.11554%2014.4617%200.11322%2014.4561%200.110351C14.4326%200.0982663%2014.4089%200.0866701%2014.3845%200.0764763C14.3807%200.0748888%2014.3766%200.0737261%2014.3728%200.0722036C14.3465%200.0616436%2014.3198%200.0517562%2014.2925%200.0434537C14.2885%200.0422324%2014.2844%200.0414999%2014.2805%200.0403399C14.2534%200.0324649%2014.226%200.0252037%2014.1979%200.0195899C14.189%200.0178199%2014.1797%200.0170263%2014.1708%200.0155001C14.1476%200.0114726%2014.1245%200.00738252%2014.1009%200.00506377C14.0677%200.0016918%2014.0343%201.70236e-06%2014.001%200H2C1.46975%200.000606423%200.961397%200.211515%200.586456%200.586456C0.211514%200.961398%200.000606423%201.46975%200%202V24C0.000606423%2024.5302%200.211514%2025.0386%200.586456%2025.4135C0.961397%2025.7885%201.46975%2025.9994%202%2026H20.001C20.5312%2025.9994%2021.0396%2025.7885%2021.4145%2025.4135C21.7895%2025.0386%2022.0004%2024.5302%2022.001%2024V8.01935C22.0011%208.01282%2022.002%208.00653%2022.002%208C22.0021%207.86655%2021.9753%207.73444%2021.9234%207.61151C21.8715%207.48857%2021.7954%207.37733%2021.6996%207.28436ZM14.001%208V2.41419L19.5867%208H14.001Z'%20fill='%237000FF'/%3E%3Cpath%20d='M21.6996%207.28436L14.7081%200.292846C14.6981%200.282837%2014.6873%200.274048%2014.6769%200.264526C14.6634%200.252136%2014.6503%200.239319%2014.6361%200.227661C14.6267%200.219971%2014.6166%200.213256%2014.607%200.205871C14.5906%200.19336%2014.5745%200.180664%2014.5574%200.169129C14.5496%200.16394%2014.5414%200.159608%2014.5336%200.154663C14.5137%200.142151%2014.4939%200.1297%2014.4731%200.11853C14.4675%200.11554%2014.4617%200.11322%2014.4561%200.110351C14.4326%200.0982663%2014.4089%200.0866701%2014.3845%200.0764763C14.3807%200.0748888%2014.3766%200.0737261%2014.3728%200.0722036C14.3465%200.0616436%2014.3198%200.0517562%2014.2925%200.0434537C14.2885%200.0422324%2014.2844%200.0414999%2014.2805%200.0403399C14.2534%200.0324649%2014.226%200.0252037%2014.1979%200.0195899C14.189%200.0178199%2014.1797%200.0170263%2014.1708%200.0155001C14.1476%200.0114726%2014.1245%200.00738252%2014.1009%200.00506377C14.0677%200.0016918%2014.0343%201.70236e-06%2014.001%200H2C1.46975%200.000606423%200.961397%200.211515%200.586456%200.586456C0.211514%200.961398%200.000606423%201.46975%200%202V24C0.000606423%2024.5302%200.211514%2025.0386%200.586456%2025.4135C0.961397%2025.7885%201.46975%2025.9994%202%2026H20.001C20.5312%2025.9994%2021.0396%2025.7885%2021.4145%2025.4135C21.7895%2025.0386%2022.0004%2024.5302%2022.001%2024V8.01935C22.0011%208.01282%2022.002%208.00653%2022.002%208C22.0021%207.86655%2021.9753%207.73444%2021.9234%207.61151C21.8715%207.48857%2021.7954%207.37733%2021.6996%207.28436ZM14.001%208V2.41419L19.5867%208H14.001Z'%20fill='%230F294F'/%3E%3C/svg%3E");
}

.member-single__download-button {
  width: 153px;
  min-height: 50px;
  height: auto;
  border-radius: 8px;
  background: #1b54a5;
  border: 1px solid #1b54a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  text-decoration: none;
  padding: 0 18px;
  box-sizing: border-box;
}

.member-single__download-button::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='12' viewBox='0 0 11 12' fill='none'%3E%3Cpath d='M5.38222 0.599609V8.86048M5.38222 8.86048L1.46917 4.94744M5.38222 8.86048L9.29526 4.94744M0.599609 10.5996H10.1648' stroke='white' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.member-single__download-button:hover,
.member-single__download-button:focus-visible {
  filter: brightness(0.98);
}

.member-single__section--key-persons {
  padding-top: 6px;
}

.member-single__section--key-persons h2 {
  margin-bottom: 25px;
}

.member-single__persons {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}

.member-single__person {
  display: flex;
  flex-direction: column;
  flex: 0 0 177px;
  width: 177px;
  min-height: 275px;
  padding: 10px 10px 31px;
  border-radius: 16px;
  background: #fafcff;
  border: 1px solid transparent;
  overflow: hidden;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.member-single__person:hover {
  border-color: #d6dbe1;
  box-shadow: -7px 0 31.7px rgba(153, 153, 153, 0.2);
}

.member-single__person-photo {
  width: 157px;
  height: 140px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
}

.member-single__person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-single__person-photo span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b54a5;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.member-single__person h3 {
  margin: 0 !important;
  color: #0f294f;
  font-size: 18px !important;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.36px !important;
  padding: 0 10px !important;
}

.member-single__person-role {
  margin: 3px 0 0 !important;
  color: #6f8097;
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 400;
  padding: 0 10px;
}

.member-single__person-socials {
  margin-top: auto;
  padding: 17px 10px 0;
  gap: 12px;
}

@media (max-width: 1199px) {
  .members-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .members-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .members-directory__submit {
    width: 100%;
    flex: 1 1 100%;
  }

}

/* Tablet (vm): values based on 1440px canvas */
@media only screen and (max-width: 1439px) and (min-width: 992px) {
  .members-directory .md-ms-selection.select2-selection--multiple {
    height: 3.8888888889vw;
    border-radius: 0.9027777778vw;
    padding: 0 1.5277777778vw;
  }

  .members-directory .md-ms-selection.select2-selection--multiple::after {
    right: 1.25vw;
    border-width: 0.3472222222vw 0.2777777778vw 0 0.2777777778vw;
  }

  .members-directory .select2-container--default.select2-container--open .md-ms-selection.select2-selection--multiple::after {
    border-width: 0 0.2777777778vw 0.3472222222vw 0.2777777778vw;
  }

  .members-directory .md-ms-selection.select2-selection--multiple .select2-selection__rendered::before {
    font-size: 1.0416666667vw;
  }

  .members-directory .md-ms-dropdown .select2-results__option {
    min-height: 3.6111111111vw;
    padding: 0 1.5277777778vw;
    gap: 0.5555555556vw;
    font-size: 1.0416666667vw;
  }

  .members-directory .md-ms-option__box {
    width: 1.6666666667vw;
    height: 1.6666666667vw;
    border-radius: 0.4166666667vw;
  }

  .members-directory .md-ms-dropdown .select2-results__option.select2-results__option--selected .md-ms-option__box::after {
    width: 0.9722222222vw;
    height: 0.9722222222vw;
  }

  .member-card__media-link svg {
    width: 0.6944444444vw;
    height: 0.6944444444vw;
  }

  .member-single__logo img {
    width: 100%;
    height: 100%;
  }

  .member-card__media img {
    width: 100%;
    height: 100%;
  }

  .member-card__meta span {
    padding: 0.1388888889vw 0.4861111111vw 0.2083333333vw;
    border-radius: 0.3472222222vw;
    font-size: 0.7638888889vw;
    letter-spacing: -0.0152777778vw;
  }

  .members-directory__submit svg {
    width: 1.25vw;
    height: 1.25vw;
  }

  .member-single__gallery-nav {
    gap: 0.5555555556vw;
  }

  .member-single__gallery-btn {
    width: 2.3611111111vw;
    height: 2.3611111111vw;
    border-radius: 0.5555555556vw;
  }

  .member-single__gallery-btn svg {
    width: 0.6944444444vw;
    height: 0.6944444444vw;
  }

  .members-directory .select2-container--default .select2-selection--single {
    height: 3.8888888889vw;
    border-radius: 0.9027777778vw;
    padding: 0 1.5277777778vw;
  }

  .members-directory .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 3.8888888889vw;
    font-size: 1.0416666667vw;
  }

  .members-directory .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 3.8888888889vw;
    right: 1.25vw;
    width: 1.6666666667vw;
  }

  .members-directory .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 0.3472222222vw 0.2777777778vw 0 0.2777777778vw;
  }

  .members-directory .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0 0.2777777778vw 0.3472222222vw 0.2777777778vw;
  }

  .members-directory .select2-dropdown {
    transform: translateY(-0.2777777778vw);
  }

  body.single-members article.member-single__person {
    padding: 0.6944444444vw 0.6944444444vw 2.1527777778vw;
  }

  body.post-type-archive-members article.member-card {
    padding: 0;
  }

  .member-single__download {
    margin-top: 2.7777777778vw;
    padding: 2.0138888889vw 2.7777777778vw 2.0138888889vw 3.1944444444vw;
    gap: 1.7361111111vw;
    border-radius: 0.9027777778vw;
  }

  .member-single__download-copy strong {
    font-size: 1.1805555556vw;
    line-height: 1.9444444444vw;
    gap: 0.625vw;
  }

  .member-single__download-copy strong::before {
    width: 1.5277777778vw;
    height: 1.8055555556vw;
  }

  .member-single__download-button {
    width: 10.625vw;
    min-height: 3.4722222222vw;
    height: auto;
    border-radius: 0.5555555556vw;
    gap: 0.8333333333vw;
    font-size: 1.0416666667vw;
    line-height: 1.5277777778vw;
    padding: 0 1.25vw;
  }

  .member-single__download-button::after {
    width: 0.6944444444vw;
    height: 0.6944444444vw;
  }

  .members-archive-hero {
    padding: 9.4444444444vw 0 11.3888888889vw;
    min-height: 23.8194444444vw;
  }

  .members-archive-hero__breadcrumbs {
    gap: 0.5555555556vw;
    font-size: 0.8333333333vw;
  }

  .members-archive-hero__title {
    font-size: 2.6388888889vw;
    margin-top: 1.25vw;
    letter-spacing: -0.0972222222vw;
  }

  .members-archive-hero__description {
    margin-top: 1.3888888889vw;
    max-width: 50vw;
    font-size: 1.25vw;
    letter-spacing: -0.025vw;
  }

  .members-directory {
    margin-top: -2.3611111111vw;
    padding-bottom: 5.5555555556vw;
  }

  .members-directory__filters {
    padding: 1.9444444444vw 2.3611111111vw;
    border-radius: 2.2222222222vw;
  }

  .members-directory__filters--loading::after {
    width: 2.2222222222vw;
    height: 2.2222222222vw;
    margin: -1.1111111111vw 0 0 -1.1111111111vw;
    border-width: 0.2083333333vw;
  }

  .members-directory__filters-grid {
    gap: 1.3888888889vw;
  }

  .members-directory__field {
    gap: 0.4861111111vw;
  }

  .members-directory__field span {
    font-size: 1.1111111111vw;
    letter-spacing: -0.0111111111vw;
  }

  .members-directory__field input,
  .members-directory__field select {
    height: 3.8888888889vw;
    border-radius: 0.9027777778vw;
    padding: 0 1.5277777778vw;
    font-size: 1.0416666667vw;
  }

  .members-directory__submit {
    width: 3.8888888889vw;
    height: 3.8888888889vw;
    border-radius: 0.9027777778vw;
  }

  .members-directory__filters-grid .members-directory__field {
    flex-basis: 16.6666666667vw;
  }

  .members-directory__filters-grid .members-directory__submit {
    flex: 0 0 3.8888888889vw;
  }

  .members-directory__toolbar {
    margin: 1.6666666667vw 0 1.3888888889vw;
    gap: 1.1111111111vw;
  }

  .members-directory__toolbar h2 {
    font-size: 1.6666666667vw;
  }

  .members-directory__sort {
    height: 2.7777777778vw;
    padding: 0.9027777778vw 1.3888888889vw;
    border-radius: 0.6944444444vw;
  }

  .members-directory__sort span {
    font-size: 1.0416666667vw;
    line-height: 1.5277777778vw;
  }

  .members-directory__sort .select2-container--default .select2-selection--single,
  .members-directory__sort .select2-container--default .select2-selection--single .select2-selection__rendered,
  .members-directory__sort .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.7777777778vw !important;
    min-height: 2.7777777778vw !important;
    line-height: 2.7777777778vw !important;
  }

  .members-directory__grid {
    gap: 1.3888888889vw;
  }

  .member-card-wrap {
    min-height: 23.9583333333vw;
  }

  .member-card {
    min-height: 23.9583333333vw;
    border-radius: 1.6666666667vw;
  }

  .member-card__media {
    height: 11.5277777778vw;
    padding: 0.9027777778vw;
  }

  .member-card__media::before {
    inset: 0.9027777778vw;
    border-radius: 1.1111111111vw;
  }

  .member-card__content {
    padding: 1.25vw 1.3888888889vw 1.5277777778vw;
  }

  .member-card__media-link {
    right: 2.2222222222vw;
    bottom: 2.2222222222vw;
    width: 2.3611111111vw;
    height: 2.3611111111vw;
    border-radius: 0.6944444444vw;
  }

  .member-card h2 {
    font-size: 1.6666666667vw;
    letter-spacing: -0.0666666667vw;
  }

  .member-card__location,
  .member-card__excerpt {
    font-size: 0.9722222222vw;
  }

  .member-single {
    padding: max(136px, 4.4444444444vw) 0 5.5555555556vw;
  }

  .member-single__breadcrumbs {
    margin-bottom: 5.5555555556vw;
    font-size: 0.9722222222vw;
    letter-spacing: -0.0097222222vw;
  }

  .member-single__intro {
    padding: 0 1.6666666667vw 1.5277777778vw;
    border-radius: 1.3888888889vw;
    border-width: 0.0694444444vw;
  }

  .member-single__brand {
    gap: 1.5277777778vw;
    border-bottom-width: 0.0694444444vw;
  }

  .member-single__logo {
    width: 17.3611111111vw;
    height: 11.5277777778vw;
    margin-top: -4.5138888889vw;
    padding: 1.25vw;
    border-radius: 1.1111111111vw;
    border-width: 0.0694444444vw;
    box-shadow: -0.4861111111vw -0.4861111111vw 2.2013888889vw 0 rgba(153, 153, 153, 0.06);
  }

  .member-single__headline h1 {
    font-size: 3.8888888889vw;
    padding: 2.0138888889vw 0;
    letter-spacing: -0.1166666667vw;
  }

  .member-single__details {
    gap: 1.25vw 1.9444444444vw;
    padding-top: 1.25vw;
  }

  .member-single__detail {
    gap: 0.2777777778vw;
  }

  .member-single__socials {
    grid-template-columns: repeat(3, 3.3333333333vw);
    gap: 0.8333333333vw;
  }

  .member-single__socials a {
    font-size: 1.0416666667vw;
  }

  .member-single__detail span,
  .member-single__person-role {
    font-size: 1.0416666667vw;
  }

  .member-single__detail a,
  .member-single__detail p {
    font-size: 1.1111111111vw;
    letter-spacing: -0.0222222222vw;
  }

  .member-single__detail--socials {
    gap: 1.0416666667vw;
  }

  .member-single__detail--socials a {
    width: 3.3333333333vw;
    height: 3.3333333333vw;
    border-radius: 0.7638888889vw;
    border-width: 0.0694444444vw;
  }

  .member-single__detail--socials a img {
    width: 1.1111111111vw;
    height: 1.1111111111vw;
  }

  .member-single__section h2 {
    font-size: 1.6666666667vw;
    line-height: 1.9444444444vw;
  }

  .member-single__section {
    margin-top: 2.7777777778vw;
  }

  .member-single__section--key-persons {
    padding-top: 0.4166666667vw;
  }

  .member-single__section--key-persons h2 {
    margin-bottom: 1.7361111111vw;
  }

  .member-single__persons {
    gap: 1.3888888889vw;
  }

  .member-single__person {
    flex: 0 0 12.2916666667vw;
    width: 12.2916666667vw;
    min-height: 19.0972222222vw;
    padding: 0.6944444444vw 0.6944444444vw 2.1527777778vw;
    border-radius: 1.1111111111vw;
  }

  .member-single__person:hover {
    box-shadow: -0.4861111111vw 0 2.2013888889vw rgba(153, 153, 153, 0.2);
  }

  .member-single__person-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 157 / 140;
    margin-bottom: 1.1111111111vw;
    border-radius: 0.9722222222vw;
  }

  .member-single__person h3 {
    font-size: 1.25vw;
    letter-spacing: -0.025vw;
    padding: 0 0.6944444444vw;
  }

  .member-single__person-role {
    font-size: 0.9027777778vw !important;
    margin-top: 0.2083333333vw;
    margin-bottom: 0;
    padding: 0 0.6944444444vw;
  }

  .member-single__person-socials {
    margin-top: auto;
    padding: 1.1805555556vw 0.6944444444vw 0;
    gap: 0.8333333333vw;
  }

  .member-single__copy {
    font-size: 1.1111111111vw;
  }

  .member-single__gallery .swiper-slide {
    width: 15.7638888889vw;
  }

  .member-single__gallery-item {
    height: 12.5vw;
    border-radius: 1.1111111111vw;
  }
}

/* Mobile (vwm): values based on 375px canvas */
@media (max-width: 991px) {
  /* Prevent Select2 (multiple) from stretching beyond viewport on mobile */
  .members-directory__filters,
  .members-directory__filters-grid,
  .members-directory__field {
    min-width: 0;
  }

  .members-directory__field .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .members-directory .md-ms-selection.select2-selection--multiple {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .members-directory .md-ms-selection.select2-selection--multiple .select2-selection__rendered {
    min-width: 0;
  }

  .members-directory .md-ms-selection.select2-selection--multiple {
    height: 14.9333333333vw;
    border-radius: 3.4666666667vw;
    padding: 0 5.8666666667vw;
  }

  .members-directory .md-ms-selection.select2-selection--multiple::after {
    right: 4.8vw;
    border-width: 1.3333333333vw 1.0666666667vw 0 1.0666666667vw;
  }

  .members-directory .select2-container--default.select2-container--open .md-ms-selection.select2-selection--multiple::after {
    border-width: 0 1.0666666667vw 1.3333333333vw 1.0666666667vw;
  }

  .members-directory .md-ms-selection.select2-selection--multiple .select2-selection__rendered::before {
    font-size: 4vw;
  }

  .members-directory .md-ms-dropdown .select2-results__option {
    min-height: 13.8666666667vw;
    padding: 0 5.8666666667vw;
    gap: 2.1333333333vw;
    font-size: 4vw;
  }

  .members-directory .md-ms-option__box {
    width: 6.4vw;
    height: 6.4vw;
    border-radius: 1.6vw;
  }

  .members-directory .md-ms-dropdown .select2-results__option.select2-results__option--selected .md-ms-option__box::after {
    width: 3.7333333333vw;
    height: 3.7333333333vw;
  }

  /* Members directory cards: no hover "absolute" behavior on mobile */
  .member-card-wrap {
    min-height: auto;
  }

  .member-card-wrap:hover .member-card,
  .member-card:hover {
    transform: none;
    overflow: hidden;
  }

  .member-card-wrap:hover .member-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
  }

  .member-card__excerpt-wrap {
    grid-template-rows: 1fr;
  }

  .member-card__excerpt {
    overflow: visible;
  }

  .member-card__media-link svg {
    width: 2.6666666667vw;
    height: 2.6666666667vw;
  }

  .member-single__logo img {
    width: 100%;
    height: 100%;
  }

  .member-card__media img {
    width: 100%;
    height: 100%;
  }

  .member-card__meta span {
    padding: 0.5333333333vw 1.8666666667vw 0.8vw;
    border-radius: 1.3333333333vw;
    font-size: 2.9333333333vw;
    letter-spacing: -0.0586666667vw;
  }

  .members-directory__submit svg {
    width: 4.8vw;
    height: 4.8vw;
  }

  .member-single__gallery-nav {
    gap: 2.1333333333vw;
  }

  .member-single__gallery-btn {
    width: 9.0666666667vw;
    height: 9.0666666667vw;
    border-radius: 2.1333333333vw;
  }

  .member-single__gallery-btn svg {
    width: 2.6666666667vw;
    height: 2.6666666667vw;
  }

  .members-directory .select2-container--default .select2-selection--single {
    height: 14.9333333333vw;
    border-radius: 3.4666666667vw;
    padding: 0 5.8666666667vw;
  }

  .members-directory .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 14.9333333333vw;
    font-size: 4vw;
  }

  .members-directory .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 14.9333333333vw;
    right: 4.8vw;
    width: 6.4vw;
  }

  .members-directory .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 1.3333333333vw 1.0666666667vw 0 1.0666666667vw;
  }

  .members-directory .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0 1.0666666667vw 1.3333333333vw 1.0666666667vw;
  }

  .members-directory .select2-dropdown {
    transform: translateY(-1.0666666667vw);
  }

  body.single-members article.member-single__person {
    padding: 2.6666666667vw 2.6666666667vw 8.2666666667vw;
  }

  body.post-type-archive-members article.member-card {
    padding: 0;
  }

  .members-archive-hero {
    padding: 20.8vw 0 43.7333333333vw;
  }

  .members-archive-hero__breadcrumbs {
    gap: 2.1333333333vw;
    font-size: 3.2vw;
  }

  .members-archive-hero__title {
    font-size: 8.5333333333vw;
    margin-top: 4.8vw;
    letter-spacing: -0.3733333333vw;
  }

  .members-archive-hero__description {
    margin-top: 5.3333333333vw;
    max-width: 100%;
    font-size: 4.8vw;
    letter-spacing: -0.096vw;
  }

  .members-directory {
    margin-top: -25.6vw;
    padding-bottom: 21.3333333333vw;
  }

  .members-directory__filters {
    padding: 7.4666666667vw 6.9333333333vw;
    border-radius: 8.5333333333vw;
  }

  .members-directory__filters--loading::after {
    width: 8.5333333333vw;
    height: 8.5333333333vw;
    margin: -4.2666666667vw 0 0 -4.2666666667vw;
    border-width: 0.8vw;
  }

  .members-directory__filters-grid {
    gap: 5.3333333333vw;
  }

  .members-directory__filters-grid .members-directory__field {
    flex-basis: 100%;
  }

  .members-directory__filters-grid .members-directory__submit {
    flex: 1 1 100%;
  }

  .members-directory__field {
    gap: 1.8666666667vw;
  }

  .members-directory__field span {
    font-size: 4.2666666667vw;
    letter-spacing: -0.0426666667vw;
  }

  .members-directory__field input,
  .members-directory__field select {
    height: 14.9333333333vw;
    border-radius: 3.4666666667vw;
    padding: 0 5.8666666667vw;
    font-size: 4vw;
  }

  .members-directory__submit {
    width: 100%;
    height: 14.9333333333vw;
    border-radius: 3.4666666667vw;
  }

  .members-directory__toolbar {
    margin: 6.4vw 0 5.3333333333vw;
    gap: 4.2666666667vw;
  }

  .members-directory__toolbar h2 {
    font-size: 6.4vw;
  }

  .members-directory__sort {
    height: 10.6666666667vw;
    padding: 3.4666666667vw 5.3333333333vw;
    border-radius: 2.6666666667vw;
  }

  .members-directory__sort span {
    font-size: 4vw;
    line-height: 5.8666666667vw;
  }

  .members-directory__sort .select2-container--default .select2-selection--single,
  .members-directory__sort .select2-container--default .select2-selection--single .select2-selection__rendered,
  .members-directory__sort .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 10.6666666667vw !important;
    min-height: 10.6666666667vw !important;
    line-height: 10.6666666667vw !important;
  }

  .members-directory__grid {
    gap: 5.3333333333vw;
  }

  .member-card-wrap,
  .member-card {
    min-height: auto;
    border-radius: 6.4vw;
  }

  .member-card__media {
    height: 44.2666666667vw;
    padding: 3.4666666667vw;
  }

  .member-card__media::before {
    inset: 3.4666666667vw;
    border-radius: 4.2666666667vw;
  }

  .member-card__content {
    padding: 4.8vw 5.3333333333vw 5.8666666667vw;
  }

  .member-card__media-link {
    right: 8.5333333333vw;
    bottom: 8.5333333333vw;
    width: 9.0666666667vw;
    height: 9.0666666667vw;
    border-radius: 2.6666666667vw;
  }

  .member-card h2 {
    font-size: 6.4vw;
    letter-spacing: -0.256vw;
  }

  .member-card__location,
  .member-card__excerpt {
    font-size: 3.7333333333vw;
  }

  .members-directory__filters-grid,
  .members-directory__grid,
  .member-single__contacts-grid {
    grid-template-columns: 1fr;
  }

  .members-directory__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .members-directory__sort {
    width: 100%;
    justify-content: space-between;
  }

  .member-single {
    padding: max(78px, 20.8vw) 0 21.3333333333vw;
  }

  .member-single__breadcrumbs {
    margin-bottom: 21.3333333333vw;
    font-size: 3.7333333333vw;
    letter-spacing: -0.0373333333vw;
  }

  .member-single__intro {
    padding: 0 6.4vw 5.8666666667vw;
    border-radius: 5.3333333333vw;
    border-width: 0.2666666667vw;
  }

  .member-single__brand {
    gap: 5.8666666667vw;
    border-bottom-width: 0.2666666667vw;
  }

  .member-single__logo {
    width: 66.6666666667vw;
    height: 44.2666666667vw;
    margin-top: -17.3333333333vw;
    padding: 4.8vw;
    border-radius: 4.2666666667vw;
    border-width: 0.2666666667vw;
    box-shadow: -1.8666666667vw -1.8666666667vw 8.4533333333vw 0 rgba(153, 153, 153, 0.06);
  }

  .member-single__headline h1 {
    font-size: 9.6vw;
    padding: 5.8666666667vw 0;
    letter-spacing: -0.03em;
  }

  .member-single__details {
    gap: 4.8vw 7.4666666667vw;
    padding-top: 4.8vw;
  }

  .member-single__detail {
    gap: 1.0666666667vw;
  }

  .member-single__socials {
    grid-template-columns: repeat(3, 12.8vw);
    gap: 3.2vw;
  }

  .member-single__socials a {
    font-size: 4vw;
  }

  .member-single__brand,
  .member-single__details,
  .member-single__gallery,
  .member-single__persons {
    grid-template-columns: 1fr;
  }

  .member-single__detail span,
  .member-single__person-role {
    font-size: 4vw;
  }

  .member-single__detail a,
  .member-single__detail p {
    font-size: 4.2666666667vw;
    letter-spacing: -0.0853333333vw;
  }

  .member-single__detail--socials {
    grid-column: auto;
    grid-row: auto;
    gap: 4vw;
  }

  .member-single__detail--socials a {
    width: 12.8vw;
    height: 12.8vw;
    border-radius: 2.9333333333vw;
    border-width: 0.2666666667vw;
  }

  .member-single__detail--socials a img {
    width: 4.2666666667vw;
    height: 4.2666666667vw;
  }

  .member-single__section h2 {
    font-size: 6.4vw;
    line-height: 7.4666666667vw;
  }

  .member-single__section {
    margin-top: 10.6666666667vw;
  }

  .member-single__section--key-persons {
    padding-top: 1.6vw;
  }

  .member-single__section--key-persons h2 {
    margin-bottom: 6.6666666667vw;
  }

  .member-single__persons {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 5.3333333333vw;
  }

  .member-single__person {
    flex: 0 0 auto;
    width: 100%;
    min-height: 73.3333333333vw;
    padding: 2.6666666667vw 2.6666666667vw 8.2666666667vw;
    border-radius: 4.2666666667vw;
  }

  .member-single__person:hover {
    box-shadow: -1.8666666667vw 0 8.4533333333vw rgba(153, 153, 153, 0.2);
  }

  .member-single__person-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 157 / 140;
  }

  .member-single__person h3 {
    font-size: 4.8vw;
    letter-spacing: -0.096vw;
    padding: 0 2.6666666667vw;
  }

  .member-single__person-role {
    font-size: 3.4666666667vw !important;
    margin-top: 0.8vw;
    margin-bottom: 0;
    padding: 0 2.6666666667vw;
  }

  .member-single__person-socials {
    margin-top: auto;
    padding: 4.5333333333vw 2.6666666667vw 0;
    gap: 3.2vw;
  }

  .member-single__copy {
    font-size: 4.2666666667vw;
  }

  .member-single__gallery .swiper-slide {
    width: 60.5333333333vw;
  }

  .member-single__gallery-item {
    height: 48vw;
    border-radius: 4.2666666667vw;
  }

  .member-single__download {
    margin-top: 10.6666666667vw;
    padding: 7.7333333333vw 10.6666666667vw 7.7333333333vw 12.2666666667vw;
    gap: 6.6666666667vw;
    border-radius: 3.4666666667vw;
  }

  .member-single__download {
    flex-direction: column;
    align-items: stretch;
  }

  .member-single__download-copy strong {
    font-size: 4.5333333333vw;
    line-height: 7.4666666667vw;
    gap: 2.4vw;
  }

  .member-single__download-copy strong::before {
    width: 5.8666666667vw;
    height: 6.9333333333vw;
  }

  .member-single__download-button {
    width: 100%;
    min-height: 13.3333333333vw;
    height: auto;
    border-radius: 2.1333333333vw;
    gap: 3.2vw;
    font-size: 4vw;
    line-height: 5.8666666667vw;
    padding: 0 4.8vw;
  }

  .member-single__download-button::after {
    width: 2.6666666667vw;
    height: 2.6666666667vw;
  }

}


.about-gallery {
  padding-top: 130px;
}

.about-gallery__content {
  margin-top: 0;
}

.about-gallery__heading {
  align-items: flex-end;
  margin-bottom: 50px;
}

.about-gallery__titles {
  flex: 1;
  min-width: 0;
}

.about-gallery__titles .small-title {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 132%;
}

.about-gallery__titles .big-title {
  margin: 0;
  color: #0f294f;
  font-size: 64px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -3.2px;
}

.about-gallery__titles .big-title span {
  display: block;
  color: #1b54a5;
}

.about-gallery .member-single__gallery-btn {
  width: 48px;
  height: 48px;
}

@media only screen and (max-width: 1439px) and (min-width: 992px) {
  .about-gallery {
    padding-top: 9.0278vw;
  }

  .about-gallery__heading {
    margin-bottom: 3.4722vw;
  }

  .about-gallery__titles .small-title {
    margin-bottom: 1.6667vw;
    font-size: 1.1111vw;
  }

  .about-gallery__titles .big-title {
    font-size: 4.4444vw;
    letter-spacing: -0.2222vw;
  }

  .about-gallery .member-single__gallery-btn {
    width: 3.3333vw;
    height: 3.3333vw;
  }
}

@media (max-width: 991px) {
  .about-gallery {
    padding-top: 16vw;
  }

  .about-gallery__heading {
    align-items: flex-end;
    gap: 4vw;
    margin-bottom: 8.5333vw;
  }

  .about-gallery__titles .small-title {
    margin-bottom: 2.1333vw;
    font-size: 3.4667vw;
    line-height: 132%;
  }

  .about-gallery__titles .big-title {
    font-size: 9.0667vw;
    line-height: 120%;
    letter-spacing: -0.4533vw;
  }

  .about-gallery .member-single__gallery-btn {
    width: 9.0667vw;
    height: 9.0667vw;
  }
}

