.msc-find-programs-v3 {
  --msc-navy: #071734;
  --msc-cyan: #33d8e8;
  --msc-cyan-light: #65c7dd;
  --msc-teal: #21b8b0;
  --msc-orange: #ff7a1a;
  --msc-ink: #26364f;
  --msc-muted: #607086;
  --msc-line: rgba(7, 23, 52, .12);
  --msc-shadow: 0 18px 55px rgba(7, 23, 52, .13);
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow-x: hidden;
  color: var(--msc-ink);
  background: #f7fbfd;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

.msc-find-programs-v3-preview-page #masthead,
.msc-find-programs-v3-preview-page #colophon,
.msc-find-programs-v3-preview-page > .site-header,
.msc-find-programs-v3-preview-page > .site-footer,
.msc-find-programs-v3-preview-page .entry-title {
  display: none !important;
}

.msc-find-programs-v3-preview-page,
.msc-find-programs-v3-preview-page .site,
.msc-find-programs-v3-preview-page .site-content,
.msc-find-programs-v3-preview-page .content-area,
.msc-find-programs-v3-preview-page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.msc-find-programs-v3 *,
.msc-find-programs-v3 *::before,
.msc-find-programs-v3 *::after {
  box-sizing: border-box;
}

.msc-find-programs-v3 a {
  color: inherit;
}

.msc-find-programs-v3 button,
.msc-find-programs-v3 input,
.msc-find-programs-v3 select {
  font: inherit;
}

.msc-find-programs-v3 .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.msc-v3-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 23, 52, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 18px rgba(7, 23, 52, .06);
  backdrop-filter: blur(14px);
}

.msc-v3-header-inner,
.msc-v3-hero-inner,
.msc-v3-main-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.msc-v3-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
}

.msc-v3-site-logo img {
  display: block;
  width: 190px;
  max-width: min(52vw, 190px);
  height: auto;
}

.msc-v3-desktop-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.msc-v3-desktop-nav a {
  color: var(--msc-navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.msc-v3-desktop-nav a:hover,
.msc-v3-desktop-nav a:focus-visible {
  color: #087d96;
}

.msc-v3-mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.msc-v3-mobile-menu summary {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 0;
  color: var(--msc-navy);
  background: transparent;
  cursor: pointer;
  list-style: none;
}

.msc-v3-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.msc-v3-mobile-menu summary span {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.msc-v3-mobile-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 100;
  display: grid;
  width: min(240px, calc(100vw - 28px));
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(7, 23, 52, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(7, 23, 52, .16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.msc-v3-mobile-menu nav a {
  padding: 10px 8px;
  color: var(--msc-navy);
  font-weight: 900;
  text-decoration: none;
}

.msc-v3-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #051a32;
  overflow: visible;
}

.msc-find-programs-v3.msc-v3-has-open-filter .msc-v3-hero {
  z-index: 120;
}

.msc-v3-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(2, 16, 36, .94), rgba(4, 38, 58, .78) 54%, rgba(2, 30, 45, .58)),
    url("hero-basketball.webp");
  background-position: center;
  background-size: cover;
}

.msc-v3-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.35fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: clamp(430px, 54vw, 560px);
  padding: clamp(38px, 6vw, 70px) 0;
}

.msc-v3-hero-copy,
.msc-v3-filter-glass,
.msc-v3-org-details,
.msc-v3-program-card {
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  box-shadow: var(--msc-shadow);
}

.msc-v3-hero-copy {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.msc-v3-preview-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(101, 199, 221, .55);
  border-radius: 999px;
  color: #d9fbff;
  background: rgba(255, 255, 255, .1);
  font-size: 12px;
  font-weight: 850;
}

.msc-v3-hero-copy h1 {
  margin: 14px 0 14px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.msc-v3-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
}

.msc-v3-filter-glass {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(7, 23, 52, .58), rgba(255, 255, 255, .15));
  backdrop-filter: blur(17px);
}

.msc-v3-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 23, 52, .12);
}

.msc-v3-search-row input {
  min-width: 0;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px 0 0 18px;
  color: var(--msc-navy);
  background: transparent;
  font-size: 15px;
  font-weight: 700;
}

.msc-v3-search-icon {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(7, 23, 52, .1);
  border-radius: 0 18px 18px 0;
  background: #fff;
  cursor: pointer;
}

.msc-v3-search-icon span {
  width: 17px;
  height: 17px;
  border: 2px solid var(--msc-navy);
  border-radius: 999px;
  position: relative;
}

.msc-v3-search-icon span::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: var(--msc-navy);
  transform: rotate(45deg);
}

.msc-v3-filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.msc-v3-select-wrap {
  position: relative;
  min-width: 0;
}

.msc-v3-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.msc-v3-filter-menu {
  --msc-filter-font-size: 14px;
  position: relative;
  min-width: 0;
}

.msc-v3-filter-menu summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(89, 195, 219, .98), rgba(48, 152, 177, .96));
  cursor: pointer;
  font-size: var(--msc-filter-font-size);
  font-weight: 800;
  list-style: none;
}

.msc-v3-filter-menu summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: .9;
  transform: rotate(45deg) translateY(-2px);
}

.msc-v3-filter-menu summary::-webkit-details-marker {
  display: none;
}

.msc-v3-filter-icon {
  display: none;
}

.msc-v3-filter-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msc-v3-filter-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  width: max(100%, min(280px, calc(100vw - 24px)));
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 45px rgba(7, 23, 52, .18);
  backdrop-filter: blur(16px);
}

.msc-v3-filter-options button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--msc-ink);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.msc-v3-filter-options button:hover,
.msc-v3-filter-options button:focus-visible,
.msc-v3-filter-options button[aria-selected="true"] {
  background: #e1f7fb;
  color: var(--msc-navy);
}

.msc-v3-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.msc-v3-reset:hover,
.msc-v3-reset:focus-visible {
  background: rgba(255, 255, 255, .12);
  outline: 2px solid rgba(255, 255, 255, .28);
  outline-offset: 2px;
}

.msc-v3-reset-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
}

.msc-v3-reset-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(22deg);
}

.msc-v3-location-status {
  margin: 0;
  color: #dff9ff;
  font-size: 12px;
  font-weight: 600;
}

.msc-v3-reset-row {
  display: flex;
  justify-content: center;
}

.msc-v3-main {
  padding: 24px 0 46px;
}

.msc-v3-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.msc-v3-results-bar h2 {
  margin: 0 0 2px;
  color: var(--msc-navy);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.msc-v3-results-bar strong {
  display: block;
  color: var(--msc-navy);
  font-size: 14px;
  font-weight: 850;
  opacity: .72;
}

.msc-v3-results-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.msc-v3-results-controls span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #bee7f0;
  border-radius: 999px;
  color: #07566b;
  background: #ecfbff;
  font-size: 13px;
  font-weight: 850;
}

.msc-v3-results-controls label {
  color: #496176;
  font-size: 12px;
  font-weight: 850;
}

.msc-v3-results-controls select {
  min-height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid #bee7f0;
  border-radius: 999px;
  color: var(--msc-navy);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 18px rgba(7, 23, 52, .08);
  font-size: 14px;
  font-weight: 850;
}

.msc-v3-org-list {
  display: grid;
  gap: 18px;
}

.msc-v3-org-card {
  width: 100%;
  max-width: 100%;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e5edf1;
  border-radius: 19px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--msc-shadow);
}

.msc-v3-org-top {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 174px;
  grid-template-areas:
    "logo body actions"
    "logo details actions";
  align-items: start;
  gap: 8px 22px;
  padding: 2px 2px 18px;
}

.msc-v3-logo {
  grid-area: logo;
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, #0b7a90, #143e80);
  font-size: 22px;
  font-weight: 900;
}

.msc-v3-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.msc-v3-org-body {
  grid-area: body;
}

.msc-v3-badge,
.msc-v3-sport-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  color: #087d96;
  background: #e1f7fb;
  font-size: 12px;
  font-weight: 800;
}

.msc-v3-org-body h2 {
  margin: 7px 0 6px;
  color: var(--msc-navy);
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.msc-v3-program-count,
.msc-v3-summary,
.msc-v3-address {
  margin: 5px 0;
}

.msc-v3-program-count {
  color: #465678;
  font-size: 15px;
}

.msc-v3-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.msc-v3-org-details {
  grid-area: details;
  padding: 12px;
  border: 1px solid rgba(222, 235, 240, .9);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(248, 253, 254, .92), rgba(255, 255, 255, .72));
  box-shadow: inset 0 1px rgba(255, 255, 255, .85);
}

.msc-v3-summary,
.msc-v3-address {
  color: var(--msc-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.msc-v3-distance-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 7px 0 5px;
  padding: 5px 9px;
  border: 1px solid #bee7f0;
  border-radius: 999px;
  color: #07566b;
  background: #ecfbff;
  font-size: 12px;
  font-weight: 900;
}

.msc-v3-pathway {
  display: grid;
  gap: 7px;
  margin: 10px 0 8px;
  padding: 11px;
  border: 1px solid rgba(143, 212, 206, .58);
  border-radius: 10px;
  background: rgba(255, 255, 255, .74);
}

.msc-v3-pathway-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.msc-v3-pathway-heading span {
  color: #365365;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.msc-v3-pathway-info {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8ddd8;
  border-radius: 999px;
  color: #07566b;
  background: #fff;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

.msc-v3-pathway-info:focus-visible,
.msc-v3-pathway-info:hover {
  outline: 2px solid rgba(33, 184, 176, .2);
  outline-offset: 2px;
}

.msc-v3-pathway-info[aria-expanded="true"] {
  color: #fff;
  background: #087d96;
}

.msc-v3-pathway strong {
  color: var(--msc-navy);
  font-size: 14px;
  line-height: 1.25;
}

.msc-v3-pathway p {
  margin: 0;
  color: #52697a;
  font-size: 12px;
}

.msc-v3-pathway-scale {
  display: grid;
  grid-template-columns: auto minmax(82px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 30px;
}

.msc-v3-pathway-scale > span:not(.msc-v3-pathway-track) {
  color: #52697a;
  font-size: 11px;
  font-weight: 800;
}

.msc-v3-pathway-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8e7ef 0%, #8fd4ce 50%, #0f766e 100%);
}

.msc-v3-pathway-track i {
  position: absolute;
  top: -11px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid var(--msc-navy);
  transform: translateX(-50%);
}

.msc-v3-pathway-panel {
  padding: 11px;
  border: 1px solid rgba(207, 228, 225, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
}

.msc-v3-pathway-panel h4 {
  margin: 0 0 8px;
  color: var(--msc-navy);
  font-size: 13px;
}

.msc-v3-pathway-panel ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.msc-v3-pathway-panel li {
  color: #365365;
  font-size: 12px;
  line-height: 1.4;
}

.msc-v3-pathway-panel li strong,
.msc-v3-pathway-panel li span {
  display: block;
}

.msc-v3-actions {
  grid-area: actions;
  display: grid;
  align-content: start;
  gap: 8px;
}

.msc-v3-actions a,
.msc-v3-view-program {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #9dd9e5;
  border-radius: 8px;
  color: #087892;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.msc-v3-actions a:hover,
.msc-v3-view-program:hover {
  transform: translateY(-1px);
  border-color: var(--msc-cyan);
  background: #f1fbfd;
  box-shadow: 0 5px 13px rgba(5, 133, 159, .12);
}

.msc-v3-programs-panel {
  width: 100%;
  min-width: 0;
  padding: 14px 16px 16px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(105deg, #effbfd, #f8fcfd);
}

.msc-v3-programs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.msc-v3-programs-head h3 {
  margin: 0;
  color: var(--msc-navy);
  font-size: 17px;
}

.msc-v3-program-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.msc-v3-program-card {
  position: relative;
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 14px 14px 13px 17px;
  overflow: hidden;
  border: 1px solid rgba(222, 232, 237, .9);
  border-radius: 13px;
  background: rgba(255, 255, 255, .86);
  box-shadow: inset 9px 0 16px -14px rgba(255, 107, 36, .95), 0 7px 20px rgba(19, 49, 70, .08);
  backdrop-filter: blur(8px);
}

.msc-v3-program-card h4 {
  margin: 8px 0 6px;
  color: var(--msc-navy);
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.msc-v3-mini,
.msc-v3-program-summary {
  margin: 3px 0;
  color: #465574;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.msc-v3-mini-strong {
  color: #07566b;
  font-weight: 900;
}

.msc-v3-view-program {
  justify-content: space-between;
  margin-top: auto;
}

.msc-v3-empty,
.msc-v3-error {
  padding: 24px;
  border: 1px solid #dce8ed;
  border-radius: 14px;
  color: var(--msc-navy);
  background: #fff;
  box-shadow: var(--msc-shadow);
  font-size: 17px;
  font-weight: 800;
}

.msc-v3-return-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(51, 216, 232, .45);
  border-radius: 999px;
  color: var(--msc-navy);
  background: rgba(255, 255, 255, .9);
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--msc-shadow);
  text-decoration: none;
  transition: opacity .18s ease;
}

.msc-v3-return-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.msc-v3-footer {
  width: 100%;
  padding: 28px 0;
  border-top: 1px solid rgba(7, 23, 52, .1);
  background: #fff;
}

.msc-v3-footer-inner {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  margin-inline: auto;
}

.msc-v3-footer-logo {
  display: block;
  width: 156px;
}

.msc-v3-footer-logo img {
  display: block;
  width: 156px;
  height: auto;
}

.msc-v3-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.msc-v3-footer nav a {
  color: var(--msc-navy);
  font-weight: 850;
  text-decoration: none;
}

.msc-v3-footer small {
  justify-self: end;
  color: var(--msc-muted);
  font-weight: 800;
}

.msc-v3-return-top span,
.msc-v3-return-top span::before {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .msc-v3-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .msc-v3-desktop-nav {
    display: none;
  }

  .msc-v3-mobile-menu {
    display: block;
  }
}

@media (max-width: 760px) {
  .msc-v3-header-inner,
  .msc-v3-hero-inner,
  .msc-v3-main-inner {
    width: calc(100% - 28px);
  }

  .msc-v3-hero-copy h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .msc-v3-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .msc-v3-filter-menu {
    --msc-filter-font-size: 12px;
  }

  .msc-v3-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .msc-v3-footer small {
    justify-self: center;
  }

  .msc-v3-filter-menu summary {
    min-height: 46px;
    padding: 0 9px;
  }

  .msc-v3-org-card {
    padding: 14px;
    border-radius: 18px;
  }

  .msc-v3-org-top {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-areas:
      "logo body"
      "details details"
      "actions actions";
    gap: 10px 14px;
    padding: 0 0 14px;
  }

  .msc-v3-logo {
    width: 82px;
    height: 82px;
    border-radius: 10px;
    font-size: 13px;
  }

  .msc-v3-org-body h2 {
    margin: 5px 0 4px;
    font-size: clamp(20px, 5.7vw, 25px);
  }

  .msc-v3-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .msc-v3-actions a {
    min-height: 42px;
    padding: 7px 4px;
    font-size: 12px;
  }

  .msc-v3-programs-panel {
    padding: 12px 0 14px;
  }

  .msc-v3-programs-head {
    padding-inline: 12px;
  }

  .msc-v3-program-carousel {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 2px 12px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .msc-v3-program-card {
    flex: 0 0 min(74vw, 245px);
    width: min(74vw, 245px);
    max-width: 245px;
    min-height: 218px;
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
  .msc-v3-header-inner,
  .msc-v3-hero-inner,
  .msc-v3-main-inner {
    width: calc(100% - 20px);
  }

  .msc-v3-hero-inner {
    padding: 26px 0 32px;
  }

  .msc-v3-hero-copy,
  .msc-v3-filter-glass {
    padding: 12px;
  }

  .msc-v3-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .msc-v3-search-row input {
    min-height: 54px;
    font-size: 14px;
  }

  .msc-v3-results-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .msc-v3-results-controls {
    justify-self: end;
  }

  .msc-v3-results-controls label {
    display: none;
  }

  .msc-v3-results-controls select {
    max-width: 132px;
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .msc-v3-results-bar strong {
    font-size: 13px;
  }

  .msc-v3-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msc-v3-pathway-scale {
    grid-template-columns: auto minmax(68px, 1fr) auto;
  }
}

/* 2026.07.04.02: align V3 controls with approved Home filter and Clubs Preview pathway/location styles. */
.msc-find-programs-v3 {
  font-family: inherit;
  background: linear-gradient(180deg, #f9feff 0%, #eefcff 45%, #fff 100%);
}

.msc-v3-header-inner,
.msc-v3-hero-inner,
.msc-v3-main-inner {
  width: min(1180px, calc(100% - 40px));
}

.msc-v3-hero-inner {
  grid-template-columns: minmax(360px, 440px) minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(64px, 6vw, 112px);
  min-height: 500px;
  padding: 40px 0;
}

.msc-v3-hero-copy {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.msc-v3-preview-badge {
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--msc-cyan);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.msc-v3-preview-badge::before {
  content: "";
  width: 24px;
  height: 4px;
  border-radius: 99px;
  background: var(--msc-orange);
}

.msc-v3-hero-copy h1 {
  max-width: 440px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 3vw, 56px);
  line-height: 1.03;
}

.msc-v3-hero-copy p {
  max-width: 430px;
  font-size: 19px;
  line-height: 1.55;
}

.msc-v3-filter-glass {
  width: min(100%, 680px);
  justify-self: center;
  display: grid;
  gap: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 18px;
  background: rgba(12, 25, 35, .38);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

.msc-v3-search-row {
  position: relative;
  display: block;
  min-height: 58px;
  padding: 0 58px 0 18px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 11px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 14px rgba(7, 23, 52, .15);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.msc-v3-search-row:focus-within {
  border-color: rgba(51, 216, 232, .92);
  box-shadow: 0 0 0 3px rgba(51, 216, 232, .2), 0 7px 18px rgba(7, 23, 52, .16);
}

.msc-v3-search-row input {
  width: 100%;
  min-height: 56px;
  padding: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 650;
  outline: 0 !important;
  box-shadow: none !important;
}

.msc-v3-search-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
}

.msc-v3-search-icon span {
  position: absolute;
  left: 11px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.msc-v3-search-icon span::after {
  left: 12px;
  top: 13px;
  right: auto;
  bottom: auto;
  width: 9px;
}

.msc-v3-filter-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.msc-v3-filter-menu {
  --msc-filter-font-size: 14px;
  min-height: 54px;
  color: #fff;
  background: linear-gradient(180deg, rgba(69, 204, 229, .78), rgba(22, 143, 178, .78));
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.msc-v3-filter-menu:hover,
.msc-v3-filter-menu:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 13px 25px rgba(0, 0, 0, .24), 0 0 18px rgba(51, 216, 232, .18);
  filter: saturate(1.06);
}

.msc-v3-filter-menu summary {
  position: relative;
  min-height: 52px;
  justify-content: center;
  gap: 6px;
  padding: 0 22px 0 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: var(--msc-filter-font-size);
  font-weight: 850;
  text-align: center;
}

.msc-v3-filter-menu summary::after {
  position: absolute;
  right: 10px;
  width: 7px;
  height: 7px;
  margin-left: 0;
  transition: transform .18s ease;
}

.msc-v3-filter-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.msc-v3-filter-icon {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.msc-v3-filter-options {
  z-index: 80;
  top: calc(100% + 10px);
  width: 100%;
  min-width: 100%;
  padding: 7px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 14px;
  background: rgba(17, 39, 61, .76);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.msc-v3-filter-options button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #f7fdff;
  background: transparent;
  font-size: calc(var(--msc-filter-font-size) - 1px);
  font-weight: 750;
  line-height: 1.25;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.msc-v3-filter-options button:hover,
.msc-v3-filter-options button:focus-visible {
  color: #fff;
  background: rgba(51, 216, 232, .2);
  border-color: rgba(91, 226, 238, .55);
  outline: 0;
}

.msc-v3-filter-options button[aria-selected="true"] {
  color: #071734;
  background: linear-gradient(135deg, #dffbff, #7ee7ee);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .16);
}

.msc-v3-reset-row {
  margin-top: 4px;
}

.msc-v3-reset {
  min-width: 150px;
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: transparent !important;
  box-shadow: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.msc-v3-reset-text {
  font-size: 14px;
  font-weight: 950;
}

.msc-v3-location-status {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  font-weight: 750;
}

.msc-v3-location-status:empty {
  display: none;
}

.msc-v3-results-controls select {
  appearance: none;
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 18px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - 13px) 52% / 7px 7px no-repeat,
    rgba(255, 255, 255, .92);
}

.msc-v3-pathway {
  border-color: rgba(255, 255, 255, .72);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(223, 251, 255, .82), rgba(255, 255, 255, .72)),
    rgba(255, 255, 255, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 10px 26px rgba(7, 23, 52, .07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.msc-v3-pathway-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.msc-v3-pathway-heading span {
  color: #365365;
  font-size: 11px;
}

.msc-v3-pathway strong {
  margin-top: -2px;
  color: var(--msc-navy);
  font-size: 15px;
}

.msc-v3-pathway-scale {
  grid-template-columns: auto minmax(92px, 1fr) auto;
}

.msc-v3-pathway-panel {
  margin-top: 4px;
  border-color: rgba(33, 184, 176, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
}

.msc-v3-pathway-panel h4 {
  font-size: 14px;
}

.msc-v3-pathway-panel ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.msc-v3-pathway-panel p,
.msc-v3-pathway-panel li {
  color: var(--msc-ink);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .msc-v3-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 28px 0 24px;
  }

  .msc-v3-hero-copy h1 {
    max-width: 540px;
    font-size: 40px;
  }

  .msc-v3-hero-copy p {
    font-size: 16px;
  }

  .msc-v3-filter-glass {
    width: 100%;
    max-width: none;
    border-radius: 20px;
    padding: 12px;
  }

  .msc-v3-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
  }

  .msc-v3-filter-menu {
    --msc-filter-font-size: 13px;
    min-height: 50px;
    border-radius: 5px;
  }

  .msc-v3-filter-menu summary {
    min-height: 48px;
    gap: 5px;
    padding: 0 18px 0 6px;
  }

  .msc-v3-filter-icon {
    font-size: 16px;
  }

  .msc-v3-filter-menu summary::after {
    right: 7px;
  }

  .msc-v3-filter-options {
    width: max(100%, 180px);
    min-width: 180px;
  }

  .msc-v3-select-wrap:nth-child(3) .msc-v3-filter-options {
    right: 0;
    left: auto;
  }

  .msc-v3-reset {
    min-height: 36px;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
  }

  .msc-v3-reset-text {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .msc-v3-header-inner,
  .msc-v3-hero-inner,
  .msc-v3-main-inner {
    width: min(100% - 24px, 640px);
  }

  .msc-v3-filter-glass {
    padding: 12px;
  }

  .msc-v3-search-row {
    min-height: 54px;
    padding-left: 14px;
  }

  .msc-v3-search-row input {
    min-height: 52px;
  }

  .msc-v3-location-status {
    font-size: 12px;
    font-weight: 650;
  }
}

/* 2026.07.04.03: bring V3 preview card hierarchy back to current Find Programs V2 proportions. */
.msc-find-programs-v3 .msc-v3-site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(7, 23, 52, .1);
  background: #fff;
  box-shadow: 0 3px 14px rgba(7, 23, 52, .06);
}

.msc-find-programs-v3 .msc-v3-header-inner {
  gap: clamp(18px, 2vw, 30px);
  width: calc(100% - 64px);
  min-height: 72px;
}

.msc-find-programs-v3 .msc-v3-site-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 190px;
  height: 42px;
  overflow: hidden;
}

.msc-find-programs-v3 .msc-v3-site-logo img {
  position: absolute;
  top: -21px;
  left: 0;
  display: block;
  width: 190px;
  max-width: none;
  height: auto;
}

.msc-v3-hero {
  min-height: 410px;
}

.msc-v3-hero-inner {
  grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.35fr);
  gap: clamp(38px, 6vw, 92px);
  min-height: 410px;
  padding-block: 42px;
}

.msc-v3-hero-copy h1 {
  max-width: 520px;
  font-size: clamp(36px, 3.55vw, 52px);
}

.msc-v3-hero-copy p {
  max-width: 500px;
  font-size: clamp(16px, 1.35vw, 20px);
}

.msc-v3-filter-glass {
  width: 100%;
  padding: 20px;
  border-color: rgba(255, 255, 255, .58);
  background: linear-gradient(145deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .10));
  box-shadow: 0 18px 44px rgba(0, 14, 34, .3), inset 0 1px rgba(255, 255, 255, .35);
}

.msc-v3-search-row {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(0, 18, 45, .12);
}

.msc-v3-search-row input {
  flex: 1 1 auto;
  width: 1%;
  height: 54px;
  min-height: 54px;
  padding: 0 62px 0 18px;
  color: var(--msc-ink);
  font-size: 16px;
}

.msc-v3-search-icon {
  right: 7px;
  width: 46px;
  height: 46px;
}

.msc-v3-search-icon span {
  position: relative;
  left: auto;
  top: auto;
  width: 18px;
  height: 18px;
}

.msc-v3-search-icon span::after {
  right: -7px;
  bottom: -4px;
  left: auto;
  top: auto;
}

.msc-v3-filter-row {
  gap: 6px;
}

.msc-v3-filter-menu {
  min-height: 53px;
  background: linear-gradient(180deg, rgba(70, 202, 232, .94), rgba(22, 151, 185, .94));
  box-shadow: 0 7px 17px rgba(0, 14, 34, .16), inset 0 1px rgba(255, 255, 255, .3);
}

.msc-v3-filter-menu summary {
  min-height: 51px;
  font-weight: 550;
}

.msc-v3-filter-options {
  z-index: 100;
  width: max(100%, min(320px, calc(100vw - 24px)));
  max-height: 270px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.msc-v3-select-wrap:nth-child(3) .msc-v3-filter-options {
  right: 0;
  left: auto;
}

.msc-v3-filter-options button {
  min-height: 37px;
  font-weight: 500;
}

.msc-v3-reset-row {
  margin-top: 12px;
}

.msc-v3-reset {
  min-height: auto;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
}

.msc-v3-main {
  padding: 24px 0 42px;
  background: linear-gradient(180deg, #fff 0%, #f6fbfd 100%);
}

.msc-v3-results-bar {
  margin-bottom: 20px;
}

.msc-v3-results-bar h2 {
  display: none;
}

.msc-v3-results-bar strong {
  color: var(--msc-ink);
  font-size: 20px;
  font-weight: 700;
  opacity: 1;
}

.msc-v3-org-list {
  gap: 0;
}

.msc-v3-org-card {
  margin-bottom: 18px;
  padding: 18px;
  border-color: #e5edf1;
  border-radius: 19px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--msc-shadow);
}

.msc-v3-org-top {
  grid-template-columns: 136px minmax(0, 1fr) 174px;
  grid-template-areas:
    "logo body actions"
    "logo details actions";
  gap: 8px 22px;
  width: 100%;
  min-width: 0;
  padding: 2px 2px 18px;
}

.msc-v3-logo {
  width: 136px;
  height: 136px;
  border-radius: 12px;
  background: linear-gradient(140deg, #6c3ed5, #143e80);
}

.msc-v3-org-details {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.msc-v3-org-body h2 {
  margin: 7px 0 6px;
  font-size: clamp(22px, 2.2vw, 31px);
}

.msc-v3-badge,
.msc-v3-sport-chip {
  font-weight: 700;
}

.msc-v3-program-count,
.msc-v3-summary,
.msc-v3-address {
  margin: 5px 0;
}

.msc-v3-summary,
.msc-v3-address {
  color: var(--msc-muted);
  font-size: 14px;
}

.msc-v3-distance-pill {
  margin: 7px 0 5px;
}

.msc-v3-actions {
  gap: 8px;
}

.msc-v3-actions a,
.msc-v3-view-program {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.msc-v3-programs-panel {
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: linear-gradient(105deg, #effbfd, #f8fcfd);
}

.msc-v3-programs-head h3 {
  font-size: 17px;
}

.msc-v3-program-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.msc-v3-program-card {
  min-height: 205px;
  padding: 14px 14px 13px 17px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .84);
  box-shadow: inset 9px 0 16px -14px rgba(255, 107, 36, .95), 0 7px 20px rgba(19, 49, 70, .08);
}

.msc-v3-program-card h4 {
  margin: 8px 0 6px;
  font-size: 17px;
}

.msc-v3-pathway {
  margin: 10px 0 8px;
}

@media (max-width: 860px) {
  .msc-find-programs-v3 .msc-v3-header-inner,
  .msc-v3-hero-inner,
  .msc-v3-main-inner {
    width: min(100% - 24px, 720px);
  }

  .msc-find-programs-v3 .msc-v3-header-inner {
    min-height: 62px;
  }

  .msc-find-programs-v3 .msc-v3-site-logo {
    width: 190px;
    height: 42px;
  }

  .msc-v3-hero {
    min-height: 0;
  }

  .msc-v3-hero-inner {
    display: block;
    min-height: 0;
    padding-block: 18px 22px;
  }

  .msc-v3-hero-copy h1 {
    max-width: 420px;
    font-size: clamp(32px, 8.8vw, 40px);
  }

  .msc-v3-hero-copy p {
    max-width: 520px;
    font-size: 17px;
  }

  .msc-v3-filter-glass {
    margin-top: 20px;
    padding: 14px;
    border-radius: 19px;
  }

  .msc-v3-filter-row {
    gap: 2px;
  }

  .msc-v3-filter-menu {
    --msc-filter-font-size: 12px;
    min-height: 50px;
    border-radius: 5px;
    box-shadow: none;
  }

  .msc-v3-filter-menu summary {
    min-height: 48px;
    gap: 3px;
    padding: 0 16px 0 4px;
  }

  .msc-v3-filter-icon {
    font-size: 14px;
  }

  .msc-v3-main {
    padding-top: 18px;
  }

  .msc-v3-results-bar {
    align-items: stretch;
    gap: 10px;
  }

  .msc-v3-results-bar strong {
    align-self: center;
    font-size: 17px;
  }

  .msc-v3-org-card {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .msc-v3-org-top {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-areas:
      "logo body"
      "details details"
      "actions actions";
    gap: 10px 14px;
    padding: 0 0 14px;
  }

  .msc-v3-logo {
    width: 82px;
    height: 82px;
    border-radius: 10px;
  }

  .msc-v3-org-body h2 {
    margin: 5px 0 4px;
    font-size: clamp(20px, 5.7vw, 25px);
  }

  .msc-v3-org-details {
    padding-top: 1px;
  }

  .msc-v3-summary,
  .msc-v3-address {
    font-size: 13px;
  }

  .msc-v3-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 2px;
  }

  .msc-v3-actions a {
    min-height: 42px;
    padding: 7px 4px;
    font-size: 12px;
  }

  .msc-v3-programs-panel {
    padding: 12px 0 14px;
  }

  .msc-v3-programs-head {
    padding-inline: 12px;
  }

  .msc-v3-programs-head h3 {
    font-size: 16px;
  }

  .msc-v3-program-carousel {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 2px 12px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .msc-v3-program-card {
    flex: 0 0 min(74vw, 245px);
    width: min(74vw, 245px);
    max-width: 245px;
    min-height: 218px;
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
  .msc-find-programs-v3 .msc-v3-header-inner,
  .msc-v3-hero-inner,
  .msc-v3-main-inner {
    width: calc(100% - 20px);
  }

  .msc-v3-hero-inner {
    padding-top: 16px;
  }

  .msc-v3-hero-copy h1 {
    max-width: 330px;
    font-size: 34px;
  }

  .msc-v3-hero-copy p {
    max-width: 340px;
    font-size: 16px;
  }

  .msc-v3-search-row {
    min-height: 54px;
  }

  .msc-v3-search-row input,
  .msc-v3-search-icon {
    height: 50px;
  }

  .msc-v3-search-row input {
    padding: 0 54px 0 13px;
    font-size: 14px;
  }

  .msc-v3-search-icon {
    right: 4px;
    width: 44px;
    height: 44px;
  }

  .msc-v3-filter-glass {
    margin-top: 16px;
  }

  .msc-v3-filter-menu summary::after {
    right: 8px;
    width: 6px;
    height: 6px;
  }

  .msc-v3-filter-icon {
    font-size: 13px;
  }

  .msc-v3-results-bar {
    flex-wrap: wrap;
  }

  .msc-v3-results-bar strong {
    flex: 1 1 200px;
  }

  .msc-v3-org-body h2 {
    font-size: 21px;
  }

  .msc-v3-program-count {
    font-size: 13px;
  }
}

/* DESIGN-06 card polish: align cards with Find Programs V2 hierarchy while keeping V3 preview-only. */
.msc-v3-filter-menu summary {
  padding-right: 34px;
}

.msc-v3-filter-menu summary::after {
  right: 16px;
  margin-left: 0;
}

.msc-v3-filter-options {
  z-index: 140;
  width: max(100%, min(360px, calc(100vw - 24px)));
}

.msc-v3-select-wrap:nth-child(3) .msc-v3-filter-options {
  right: 0;
  left: auto;
}

.msc-v3-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0 0 6px;
}

.msc-v3-distance-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(91, 226, 238, .44);
  border-radius: 999px;
  background: rgba(225, 248, 252, .9);
  color: var(--msc-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 11px;
}

.msc-v3-org-top {
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-areas:
    "logo body"
    "actions details";
  gap: 12px 24px;
  align-items: start;
}

.msc-v3-logo {
  width: 150px;
  height: 150px;
}

.msc-v3-actions {
  grid-template-columns: 1fr;
  width: 150px;
  align-self: start;
}

.msc-v3-actions a {
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-color: rgba(91, 190, 215, .55);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 22px rgba(18, 73, 92, .07);
}

.msc-v3-actions a span {
  display: inline-flex;
  width: 18px;
  justify-content: center;
  color: var(--msc-teal);
  font-size: 16px;
  line-height: 1;
}

.msc-v3-actions a:hover,
.msc-v3-actions a:focus-visible {
  background: linear-gradient(135deg, rgba(232, 252, 255, .98), rgba(255, 255, 255, .86));
  box-shadow: 0 11px 26px rgba(18, 73, 92, .1);
}

.msc-v3-org-details {
  display: grid;
  align-content: start;
  gap: 4px;
}

.msc-v3-summary,
.msc-v3-address {
  margin: 0;
}

.msc-v3-address span {
  display: inline-block;
  width: 15px;
  color: var(--msc-teal);
}

.msc-v3-pathway {
  margin: 2px 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(226, 251, 255, .82), rgba(255, 255, 255, .72)),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .9), transparent 42%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 14px 34px rgba(18, 73, 92, .08);
  backdrop-filter: blur(14px);
}

.msc-v3-pathway-info {
  background: rgba(255, 255, 255, .64);
}

@media (max-width: 860px) {
  .msc-v3-filter-menu summary {
    padding-right: 26px;
  }

  .msc-v3-filter-menu summary::after {
    right: 12px;
  }

  .msc-v3-filter-options {
    z-index: 160;
    width: max(100%, min(300px, calc(100vw - 20px)));
  }

  .msc-v3-org-top {
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-areas:
      "logo body"
      "details details"
      "actions actions";
    gap: 10px 13px;
    padding-bottom: 12px;
  }

  .msc-v3-logo {
    width: 86px;
    height: 86px;
  }

  .msc-v3-card-tags {
    gap: 6px;
    margin: 0 0 5px;
  }

  .msc-v3-card-tags .msc-v3-badge,
  .msc-v3-card-tags .msc-v3-sport-chip,
  .msc-v3-card-tags .msc-v3-distance-pill {
    min-height: 24px;
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1;
  }

  .msc-v3-org-body h2 {
    margin-top: 4px;
  }

  .msc-v3-org-details {
    gap: 7px;
    padding-top: 2px;
  }

  .msc-v3-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 9px;
  }

  .msc-v3-actions a {
    min-height: 48px;
    padding: 7px 5px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .7);
    font-size: 12px;
  }

  .msc-v3-actions a span {
    width: 16px;
    font-size: 17px;
  }

  .msc-v3-pathway {
    margin: 0 0 12px;
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .msc-v3-filter-options {
    width: max(100%, min(280px, calc(100vw - 20px)));
  }

  .msc-v3-org-card {
    padding: 13px;
  }

  .msc-v3-org-top {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 9px 12px;
  }

  .msc-v3-logo {
    width: 78px;
    height: 78px;
  }

  .msc-v3-actions {
    gap: 8px;
  }

  .msc-v3-actions a {
    min-height: 46px;
    font-size: 11px;
  }
}

/* DESIGN-06 final polish: icon-only reset, compact details, and standard info affordance. */
.msc-v3-reset-row {
  position: relative;
  z-index: 1;
}

.msc-v3-filter-menu[open] {
  z-index: 180;
}

.msc-v3-filter-options {
  z-index: 220;
}

.msc-v3-reset {
  position: relative;
  z-index: 0;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent !important;
  box-shadow: none !important;
}

.msc-v3-reset:hover,
.msc-v3-reset:focus-visible {
  color: #dffbff;
  background: rgba(255, 255, 255, .08) !important;
  outline: 2px solid rgba(255, 255, 255, .32);
  outline-offset: 2px;
}

.msc-v3-reset-text {
  display: none !important;
}

.msc-v3-reset-icon {
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  transform: rotate(14deg);
}

.msc-v3-reset-icon::after {
  top: -4px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(16deg);
}

.msc-v3-pathway-info {
  width: 34px;
  height: 28px;
  flex-basis: 34px;
  border-radius: 999px;
  color: #1d6f7b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  text-transform: lowercase;
}

.msc-v3-pathway-info[aria-expanded="true"] {
  color: #fff;
  background: linear-gradient(135deg, #1d9aaa, #2f8793);
}

@media (max-width: 860px) {
  .msc-v3-reset {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .msc-v3-reset-icon {
    width: 18px;
    height: 18px;
  }

  .msc-v3-pathway-info {
    width: 34px;
    height: 28px;
  }
}

/* DESIGN-06 approval polish: Home-style reset glyph, no search tap fill, smoother hydration. */
.msc-v3-loading .msc-v3-filter-menu,
.msc-v3-loading .msc-v3-search-row,
.msc-v3-loading .msc-v3-org-card {
  transition: none !important;
}

.msc-v3-loading .msc-v3-filter-options {
  visibility: hidden;
}

.msc-v3-search-icon,
.msc-v3-search-icon:hover,
.msc-v3-search-icon:focus,
.msc-v3-search-icon:focus-visible,
.msc-v3-search-icon:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  -webkit-tap-highlight-color: transparent;
}

.msc-v3-search-icon {
  appearance: none;
}

.msc-v3-reset {
  font-family: inherit;
}

.msc-v3-reset-icon {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: currentColor;
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
  transform: none;
}

.msc-v3-reset-icon::after {
  content: none;
}

.msc-v3-reset:hover .msc-v3-reset-icon,
.msc-v3-reset:focus-visible .msc-v3-reset-icon {
  transform: rotate(-22deg);
}

@media (max-width: 860px) {
  .msc-v3-reset-icon {
    width: auto;
    height: auto;
    font-size: 22px;
  }
}
