.als-directory,
.als-directory * {
  box-sizing: border-box;
}

.als-directory {
  --als-ink: #07142f;
  --als-panel: rgba(8, 24, 57, 0.88);
  --als-blue: #2d61f3;
  --als-teal: #54d6cf;
  --als-text: #f8fbff;
  --als-muted: #b9c7dc;
  background:
    linear-gradient(rgba(7, 20, 47, 0.94), rgba(7, 20, 47, 0.97)),
    radial-gradient(circle at 18% 10%, rgba(45, 97, 243, 0.34), transparent 38%),
    radial-gradient(circle at 88% 78%, rgba(84, 214, 207, 0.18), transparent 34%);
  border: 1px solid rgba(84, 214, 207, 0.24);
  border-radius: 28px;
  color: var(--als-text);
  isolation: isolate;
  margin: 34px auto 42px;
  max-width: 1180px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  position: relative;
}

.als-directory::before {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  opacity: .55;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.als-directory__glow {
  border-radius: 999px;
  filter: blur(4px);
  opacity: .36;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.als-directory__glow--one {
  background: var(--als-blue);
  height: 270px;
  left: -170px;
  top: -150px;
  width: 270px;
}

.als-directory__glow--two {
  background: var(--als-teal);
  bottom: -190px;
  height: 330px;
  right: -170px;
  width: 330px;
}

.als-directory__content {
  position: relative;
  z-index: 1;
}

.als-directory__eyebrow {
  align-items: center;
  color: var(--als-teal);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: .16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.als-directory__eyebrow span {
  background: var(--als-teal);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(84, 214, 207, .8);
  height: 7px;
  width: 7px;
}

.als-directory h2 {
  color: var(--als-text);
  font-size: clamp(34px, 5.1vw, 64px);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 0;
  max-width: 840px;
}

.als-directory__intro {
  color: var(--als-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 790px;
}

.als-directory__form {
  align-items: end;
  background: var(--als-panel);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 7, 24, .33);
  display: grid;
  gap: 14px;
  grid-template-columns: 1.15fr 1.05fr .95fr auto;
  margin-top: 36px;
  padding: 22px;
}

.als-directory__field label {
  color: #dce7f6;
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .045em;
  margin: 0 0 8px 3px;
}

.als-directory__control {
  position: relative;
}

.als-directory__control svg {
  fill: none;
  height: 19px;
  left: 15px;
  position: absolute;
  stroke: #6c7e9a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
}

.als-directory input,
.als-directory select {
  appearance: none;
  background-color: rgba(255,255,255,.97);
  border: 1px solid transparent;
  border-radius: 11px;
  color: #111a2e;
  font: inherit;
  font-size: 15px;
  height: 54px;
  margin: 0;
  outline: none;
  padding: 0 15px;
  width: 100%;
}

.als-directory input {
  padding-left: 44px;
}

.als-directory select {
  background-image: linear-gradient(45deg, transparent 50%, #52627a 50%), linear-gradient(135deg, #52627a 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 15px) 24px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 38px;
}

.als-directory input:focus,
.als-directory select:focus {
  border-color: var(--als-teal);
  box-shadow: 0 0 0 4px rgba(84, 214, 207, .16);
}

.als-directory button {
  align-items: center;
  background: linear-gradient(135deg, #3268ff, #2353dc);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(45, 97, 243, .28);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  gap: 12px;
  height: 54px;
  justify-content: center;
  padding: 0 22px;
  white-space: nowrap;
}

.als-directory button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.als-directory button:hover,
.als-directory button:focus-visible {
  background: linear-gradient(135deg, #3974ff, #2a60ef);
  box-shadow: 0 14px 34px rgba(45, 97, 243, .42);
  transform: translateY(-1px);
}

.als-directory__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 28px;
  margin-top: 22px;
}

.als-directory__trust span {
  align-items: center;
  color: #aebed6;
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.als-directory__trust i {
  background: var(--als-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(84, 214, 207, .11);
  height: 6px;
  width: 6px;
}

.als-directory__notice {
  align-items: flex-start;
  background: rgba(84, 214, 207, .09);
  border: 1px solid rgba(84, 214, 207, .28);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 17px 19px;
}

.als-directory__notice-icon {
  align-items: center;
  background: var(--als-teal);
  border-radius: 50%;
  color: var(--als-ink);
  display: flex;
  flex: 0 0 28px;
  font-size: 14px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
}

.als-directory__notice strong {
  color: #fff;
  display: block;
  font-size: 15px;
}

.als-directory__notice p {
  color: var(--als-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 3px 0 0;
}

.als-results,
.als-results * {
  box-sizing: border-box;
}

.als-results {
  color: #07142f;
  margin: 0 auto 54px;
  max-width: 1180px;
}

.als-results__header {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 22px;
}

.als-results__header span {
  color: #2d61f3;
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.als-results__header h3,
.als-results__message h3 {
  color: #07142f;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0;
}

.als-results__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.als-agent-card {
  background: linear-gradient(160deg, #0a1a3f, #07142f);
  border: 1px solid rgba(45, 97, 243, .42);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(7, 20, 47, .12);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.als-agent-card::before {
  background: #2d61f3;
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.als-agent-card--standard,
.als-agent-card--featured {
  border-color: rgba(84, 214, 207, .5);
}

.als-agent-card--standard::before,
.als-agent-card--featured::before {
  background: #54d6cf;
}

.als-agent-card__topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.als-agent-card__level,
.als-agent-card__featured {
  color: #9fb3d2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.als-agent-card__featured {
  background: rgba(84, 214, 207, .12);
  border: 1px solid rgba(84, 214, 207, .26);
  border-radius: 999px;
  color: #54d6cf;
  padding: 5px 8px;
}

.als-agent-card__identity {
  align-items: center;
  display: flex;
  gap: 14px;
}

.als-agent-card__identity img,
.als-agent-card__initial {
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 16px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.als-agent-card__initial {
  align-items: center;
  background: linear-gradient(145deg, #2d61f3, #54d6cf);
  color: #fff;
  display: flex;
  flex: 0 0 64px;
  font-size: 26px;
  font-weight: 900;
  justify-content: center;
}

.als-agent-card h4 {
  color: #fff;
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0;
}

.als-agent-card__identity p {
  color: #aebed6;
  font-size: 13px;
  line-height: 1.4;
  margin: 5px 0 0;
}

.als-agent-card__details {
  border-bottom: 1px solid rgba(255,255,255,.09);
  border-top: 1px solid rgba(255,255,255,.09);
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px 0;
}

.als-agent-card__details p {
  color: #dbe5f5;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.als-agent-card__details strong {
  color: #8498b8;
  display: block;
  font-size: 10px;
  letter-spacing: .11em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.als-agent-card__summary {
  color: #aebed6;
  font-size: 13px;
  line-height: 1.6;
  margin: 17px 0 0;
}

.als-agent-card__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
}

.als-agent-card__actions a {
  background: #2d61f3;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 15px;
  text-decoration: none;
}

.als-agent-card__actions a.als-agent-card__profile {
  background: linear-gradient(135deg, #54d6cf, #36b9b2);
  color: #07142f;
}

.als-agent-card__actions a.als-agent-card__secondary {
  background: rgba(255,255,255,.08);
  color: #dce7f6;
}

.als-agent-card__actions span {
  color: #8fa2c0;
  font-size: 12px;
  line-height: 1.4;
}

.als-results__message {
  background: #f3f6fb;
  border: 1px solid #dfe7f3;
  border-radius: 18px;
  padding: 28px;
}

.als-results__message p {
  color: #52627a;
  margin: 9px 0 0;
}

.als-results__message--error {
  border-color: #f3c2c2;
  color: #8c2525;
}

.als-profile,
.als-profile * {
  box-sizing: border-box;
}

.als-profile {
  color: #07142f;
  margin: 28px auto 64px;
  max-width: 1180px;
}

.als-profile__back {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #dce6fb;
  border-radius: 999px;
  color: #2d61f3;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 20px;
  padding: 10px 15px;
  text-decoration: none;
}

.als-profile__back:hover,
.als-profile__back:focus-visible {
  background: #e2eaff;
  color: #194ed6;
}

.als-profile__card {
  background: #07142f;
  border: 1px solid rgba(45,97,243,.46);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(7,20,47,.2);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.als-profile__cover {
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(circle at 8% 15%, rgba(45,97,243,.8), transparent 34%),
    radial-gradient(circle at 92% 70%, rgba(84,214,207,.48), transparent 34%),
    linear-gradient(120deg, #0b1a3d, #0a2340);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  height: 190px;
  inset: 0 0 auto;
  overflow: hidden;
  position: absolute;
}

.als-profile__cover::after {
  background: linear-gradient(to bottom, transparent, #07142f);
  content: "";
  inset: 35% 0 0;
  position: absolute;
}

.als-profile__cover span,
.als-profile__cover i {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  height: 240px;
  position: absolute;
  right: 7%;
  top: -125px;
  width: 240px;
}

.als-profile__cover i {
  height: 155px;
  right: 13%;
  top: -80px;
  width: 155px;
}

.als-profile__content {
  padding: 42px clamp(28px, 5vw, 64px) clamp(30px, 5vw, 58px);
  position: relative;
}

.als-profile__topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
}

.als-profile__topline span,
.als-profile__topline strong {
  color: #9fb3d2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.als-profile__topline strong {
  background: rgba(7,20,47,.58);
  border: 1px solid rgba(84,214,207,.44);
  border-radius: 999px;
  color: #54d6cf;
  backdrop-filter: blur(10px);
  padding: 8px 12px;
}

.als-profile__hero {
  align-items: flex-end;
  display: flex;
  gap: 28px;
  min-height: 190px;
}

.als-profile__hero img,
.als-profile__initial {
  border: 5px solid #07142f;
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(0,0,0,.34);
  height: 154px;
  object-fit: cover;
  width: 154px;
}

.als-profile__initial {
  align-items: center;
  background: linear-gradient(145deg, #2d61f3, #54d6cf);
  display: flex;
  flex: 0 0 154px;
  font-size: 62px;
  font-weight: 900;
  justify-content: center;
}

.als-profile__identity {
  padding-bottom: 7px;
}

.als-profile__ownership {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: auto;
  padding-bottom: 8px;
}

.als-profile__ownership > span {
  color: #9fb3d2;
  font-size: 11px;
}

.als-profile__claim-open {
  background: linear-gradient(135deg, #54d6cf, #48c8df);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(84,214,207,.2);
  color: #07142f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 13px 19px;
}

.als-profile__claim-open:hover,
.als-profile__claim-open:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.als-profile__claimed {
  align-items: center;
  background: rgba(84,214,207,.12);
  border: 1px solid rgba(84,214,207,.35);
  border-radius: 999px;
  color: #54d6cf;
  display: inline-flex;
  font-size: 12px;
  gap: 7px;
  padding: 10px 14px;
}

.als-profile__eyebrow {
  color: #54d6cf;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.als-profile__hero h3 {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -.045em;
  line-height: 1;
  margin: 0;
}

.als-profile__designation {
  color: #dbe6f6;
  font-size: 18px;
  margin: 10px 0 0;
}

.als-profile__location {
  align-items: center;
  color: #9fb3d2;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 10px 0 0;
}

.als-profile__location span {
  color: #54d6cf;
  font-size: 9px;
}

.als-profile__layout {
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.1);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  margin-top: 34px;
  padding-top: 34px;
}

.als-profile__main,
.als-profile__sidebar {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  padding: 26px;
}

.als-profile__section-heading {
  align-items: center;
  display: flex;
  gap: 14px;
}

.als-profile__section-heading > span {
  align-items: center;
  background: linear-gradient(145deg, #2d61f3, #54d6cf);
  border-radius: 13px;
  color: #fff;
  display: flex;
  flex: 0 0 42px;
  font-size: 12px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
}

.als-profile__section-heading p,
.als-profile__sidebar-label {
  color: #54d6cf;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.als-profile__section-heading h4 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}

.als-profile__summary {
  color: #b6c5dc;
  font-size: 15px;
  line-height: 1.75;
  margin: 22px 0 0;
  white-space: pre-line;
}

.als-profile__summary--empty {
  font-style: italic;
}

.als-profile__sidebar {
  display: grid;
  gap: 0;
}

.als-profile__sidebar-label {
  margin-bottom: 4px;
}

.als-profile__sidebar > div {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 17px 0;
}

.als-profile__sidebar > div:first-of-type {
  border-top: 0;
}

.als-profile__sidebar strong {
  color: #8298bb;
  display: block;
  font-size: 10px;
  letter-spacing: .11em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.als-profile__sidebar span {
  color: #e5ecf7;
  font-size: 14px;
  line-height: 1.5;
}

.als-profile__contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.als-profile__contact a {
  background: #2d61f3;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.als-profile__contact a.als-profile__secondary {
  background: rgba(255,255,255,.09);
}

.als-profile__contact p {
  color: #8fa2c0;
  font-size: 13px;
  margin: 0;
}

.als-profile__private {
  align-items: center;
  background: rgba(45,97,243,.1);
  border: 1px solid rgba(45,97,243,.26);
  border-radius: 15px;
  display: flex;
  gap: 13px;
  padding: 15px 17px;
  width: 100%;
}

.als-profile__private > span {
  align-items: center;
  background: rgba(45,97,243,.2);
  border-radius: 50%;
  display: flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
}

.als-profile__private strong {
  color: #e6edfa;
  display: block;
  font-size: 13px;
}

.als-profile__private p {
  margin-top: 3px;
}

body.als-public-profile-view .entry-title,
body.als-public-profile-view .wp-block-post-title,
body.als-public-profile-view .entry-content .wp-block-heading,
body.als-public-profile-view .entry-content .wp-block-columns {
  display: none !important;
}

body.als-public-profile-view .entry-content:has(.als-profile) > *:not(:has(.als-profile)) {
  display: none !important;
}

.als-claim[hidden],
.als-claim [hidden] {
  display: none !important;
}

.als-claim {
  background: #fff;
  border: 1px solid #dfe7f4;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(7,20,47,.14);
  margin: 28px 0 0;
  padding: clamp(24px, 4vw, 42px);
  scroll-margin-top: 24px;
}

.als-claim__heading {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.als-claim__heading p {
  color: #2d61f3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.als-claim__heading h4 {
  color: #07142f;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.025em;
  margin: 0;
}

.als-claim__close {
  align-items: center;
  background: #eef3ff;
  border: 0;
  border-radius: 50%;
  color: #2d61f3;
  cursor: pointer;
  display: flex;
  flex: 0 0 38px;
  font-size: 25px;
  height: 38px;
  justify-content: center;
}

.als-claim__intro {
  color: #60708a;
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 26px;
  max-width: 760px;
}

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

.als-claim label {
  display: block;
}

.als-claim label > span {
  color: #23324a;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 7px;
}

.als-claim input[type="text"],
.als-claim input[type="email"],
.als-claim input[type="tel"],
.als-claim input[type="password"],
.als-claim textarea {
  background: #f7f9fc;
  border: 1px solid #dbe4f1;
  border-radius: 12px;
  color: #07142f;
  font: inherit;
  min-height: 48px;
  outline: 0;
  padding: 12px 14px;
  width: 100%;
}

.als-claim input:focus,
.als-claim textarea:focus {
  border-color: #2d61f3;
  box-shadow: 0 0 0 3px rgba(45,97,243,.12);
}

.als-claim__notes {
  margin-top: 18px;
}

.als-claim__confirm {
  align-items: flex-start;
  display: flex !important;
  gap: 10px;
  margin: 18px 0;
}

.als-claim__confirm input {
  margin-top: 3px;
}

.als-claim__confirm span {
  color: #60708a !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.als-claim__submit {
  background: #2d61f3;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 13px 20px;
}

.als-claim__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.als-claim__message {
  color: #2e7d32;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
}

.als-claim__message:empty {
  display: none;
}

.als-claim__message--error {
  color: #b42318;
}

.als-claim__verify {
  background: #f7f9fc;
  border: 1px solid #dfe7f4;
  border-radius: 18px;
  max-width: 520px;
  padding: 24px;
}

.als-claim__verify input {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: .16em;
  margin-bottom: 16px;
  text-align: center;
}

.als-claim__complete {
  background: #eefbf8;
  border: 1px solid #bce9df;
  border-radius: 18px;
  color: #23423c;
  padding: 22px;
}

.als-claim__complete strong {
  color: #0f6b58;
  display: block;
  font-size: 18px;
}

.als-claim__complete p {
  margin: 6px 0 0;
}

.als-results__pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.als-results__pagination a,
.als-results__pagination span {
  align-items: center;
  border: 1px solid #dce4f0;
  border-radius: 9px;
  color: #23324a;
  display: flex;
  font-size: 13px;
  font-weight: 750;
  min-height: 38px;
  padding: 7px 12px;
  text-decoration: none;
}

.als-results__pagination .current {
  background: #2d61f3;
  border-color: #2d61f3;
  color: #fff;
}

@media (max-width: 980px) {
  .als-directory__form {
    grid-template-columns: 1fr 1fr;
  }

  .als-directory button {
    width: 100%;
  }

  .als-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .als-profile__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .als-directory {
    border-radius: 22px;
    margin: 22px 0 32px;
    padding: 32px 20px;
  }

  .als-directory h2 {
    font-size: clamp(34px, 10.2vw, 46px);
  }

  .als-directory__intro {
    font-size: 17px;
    line-height: 1.55;
  }

  .als-directory__form {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding: 16px;
  }

  .als-directory__trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .als-results {
    margin-bottom: 38px;
  }

  .als-results__grid {
    grid-template-columns: 1fr;
  }

  .als-agent-card {
    border-radius: 20px;
    padding: 22px;
  }

  .als-profile__card {
    border-radius: 22px;
  }

  .als-profile {
    margin-top: 20px;
  }

  .als-profile__content {
    padding: 26px 20px 24px;
  }

  .als-profile__cover {
    height: 150px;
  }

  .als-profile__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .als-profile__hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    min-height: 155px;
  }

  .als-profile__hero img,
  .als-profile__initial {
    height: 104px;
    width: 104px;
  }

  .als-profile__initial {
    flex-basis: 104px;
    font-size: 42px;
  }

  .als-profile__identity {
    padding-bottom: 0;
  }

  .als-profile__ownership {
    align-items: flex-start;
    margin-left: 0;
    padding-bottom: 0;
  }

  .als-profile__hero h3 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .als-profile__layout {
    gap: 16px;
    margin-top: 26px;
    padding-top: 26px;
  }

  .als-profile__main,
  .als-profile__sidebar {
    border-radius: 18px;
    padding: 20px;
  }

  .als-claim {
    border-radius: 20px;
    padding: 24px 20px;
  }

  .als-claim__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .als-directory button {
    transition: none;
  }
}

/* Featured ZIP placement: use the shared ALS palette and existing card grid. */
.als-results__group { margin-block: 1.5rem 2rem; }
.als-results__group > h3 { color: var(--als-color-heading, #fff); margin: 0 0 .6rem; font-size: 1.45rem; }
.als-results__group--featured { border-top: 2px solid var(--als-color-accent, #56ddd0); padding-top: 1.4rem; }
.als-results__placement-note { color: var(--als-color-muted, #b5c6df); margin: 0 0 1.2rem; }
.als-results .als-results__group--featured .als-results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1280px) { .als-results .als-results__group--featured .als-results__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) { .als-results .als-results__group--featured .als-results__grid { grid-template-columns: minmax(0, 1fr); } }
