/* Four audience doors. Photo cards, same family as the home start cards. */
#who-this-is-for .pcs-home-doors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#who-this-is-for .pcs-site-covers__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
}
#who-this-is-for .pcs-site-covers__art {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
#who-this-is-for .pcs-site-covers__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
#who-this-is-for .pcs-site-covers__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
#who-this-is-for .pcs-site-covers__card {
  cursor: pointer;
}
#who-this-is-for button.pcs-home-doors__go {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
#who-this-is-for .pcs-home-doors__go,
#who-this-is-for a.pcs-home-doors__go,
#who-this-is-for button.pcs-home-doors__go {
  margin-top: auto;
  color: #6B6CE0 !important;
}

/* Who this is for modal: photo, then copy, then help list. CTAs stay pinned. */
.pcs-who-dialog {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  width: min(640px, calc(100vw - 24px));
  max-width: 640px;
  height: min(92dvh, calc(100dvh - 24px));
  max-height: min(92dvh, calc(100dvh - 24px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #122241;
  box-shadow: 0 30px 80px rgba(18, 34, 65, 0.28);
}
.pcs-who-dialog[open],
dialog.pcs-who-dialog[open] {
  display: flex;
}
.pcs-who-dialog::backdrop {
  background: rgba(18, 34, 65, 0.7);
}
html.pcs-who-open .pcs-cc-bar,
body.pcs-who-open .pcs-cc-bar,
html.pcs-who-open .scroll-up,
body.pcs-who-open .scroll-up {
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(110%) !important;
}
.pcs-who-dialog__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.pcs-who-dialog__scroll {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  contain: paint;
  isolation: isolate;
  padding-bottom: 20px;
}
.pcs-who-dialog__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  background: #f4f5f7;
}
.pcs-who-dialog__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.pcs-who-dialog__x {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #122241;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(18, 34, 65, 0.18);
  cursor: pointer;
}
.pcs-who-dialog__x:hover,
.pcs-who-dialog__x:focus-visible {
  background: #6b6ce0;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.pcs-who-dialog__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px 22px 18px;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(64px, env(safe-area-inset-right, 0px));
  background: #fff;
}
.pcs-who-dialog__kicker {
  margin: 0;
  font-family: "Outfit", "Kumbh Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6ce0;
}
.pcs-who-dialog__copy h3 {
  margin: 0;
  font-family: "Outfit", "Kumbh Sans", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.22;
  color: #122241;
  overflow-wrap: anywhere;
}
.pcs-who-dialog__body {
  display: grid;
  gap: 10px;
}
.pcs-who-dialog__body p {
  margin: 0;
  font-family: "Outfit", "Kumbh Sans", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.55;
  color: #122241;
}
.pcs-who-dialog__help {
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(18, 34, 65, 0.12);
}
.pcs-who-dialog__help[hidden] {
  display: none;
}
.pcs-who-dialog__help-title {
  margin: 0 0 12px;
  font-family: "Outfit", "Kumbh Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: #122241;
}
.pcs-who-help {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pcs-who-help li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}
.pcs-who-help__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(107, 108, 224, 0.12);
  color: #6b6ce0;
  font-size: 1rem;
}
.pcs-who-help__copy {
  min-width: 0;
}
.pcs-who-help__copy strong {
  display: block;
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #122241;
}
.pcs-who-help__copy span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: #4d5f75;
}
.pcs-who-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 10px;
  margin: 0;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(18, 34, 65, 0.08);
  background: #fff;
  box-shadow: 0 -10px 12px #fff;
  position: relative;
  z-index: 5;
  isolation: isolate;
}
.pcs-who-dialog__actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 160px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: "Outfit", "Kumbh Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.pcs-who-dialog__call {
  border: 2px solid rgba(18, 34, 65, 0.12);
  background: #fff;
  color: #122241;
}
.pcs-who-dialog__book {
  border: 0;
  background: #6b6ce0;
  color: #fff;
}
.pcs-who-dialog__start {
  border: 2px solid #122241;
  background: #122241;
  color: #fff;
}
.pcs-who-dialog__call:hover,
.pcs-who-dialog__book:hover,
.pcs-who-dialog__start:hover {
  transform: translateY(-1px);
}
.pcs-who-dialog__call:focus-visible,
.pcs-who-dialog__book:focus-visible,
.pcs-who-dialog__start:focus-visible {
  outline: 3px solid rgba(107, 108, 224, 0.45);
  outline-offset: 3px;
}
@media (max-width: 767.98px) {
  .pcs-who-dialog {
    width: min(100vw - 16px, 640px);
    height: min(92dvh, calc(100dvh - 12px));
    max-height: min(92dvh, calc(100dvh - 12px));
    border-radius: 18px;
  }
  .pcs-who-dialog__inner {
    max-height: min(92dvh, calc(100dvh - 12px));
  }
  .pcs-who-dialog__copy {
    padding: 14px 16px 18px;
    padding-right: max(64px, env(safe-area-inset-right, 0px));
    gap: 10px;
  }
  .pcs-who-dialog__copy h3 {
    font-size: clamp(1.28rem, 5.5vw, 1.55rem);
  }
  .pcs-who-dialog__body p {
    font-size: 1rem;
  }
  .pcs-who-dialog__actions {
    gap: 8px;
    padding: 8px 12px max(12px, env(safe-area-inset-bottom, 0px));
  }
  .pcs-who-dialog__actions > * {
    flex: 1 1 calc(50% - 8px);
    min-height: 46px;
    padding: 8px 12px;
    font-size: 0.94rem;
  }
  .pcs-who-dialog__start {
    flex: 1 1 100%;
  }
  .pcs-who-dialog__call,
  .pcs-who-dialog__book {
    font-size: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pcs-who-dialog__call:hover,
  .pcs-who-dialog__book:hover,
  .pcs-who-dialog__start:hover {
    transform: none;
  }
}
@media (min-width: 768px) {
  #who-this-is-for .pcs-ads-cover__intro.pcs-loc-head {
    display: grid !important;
    grid-template-columns: minmax(280px, 48%) minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch;
    min-height: 260px;
    padding: 0 !important;
    overflow: hidden;
  }
  #who-this-is-for .pcs-ads-cover__map {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 260px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    border-radius: 16px 0 0 16px !important;
    overflow: hidden;
  }
  #who-this-is-for .pcs-ads-cover__map img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  #who-this-is-for .pcs-ads-cover__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 28px !important;
  }
  #who-this-is-for .pcs-home-doors__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  #who-this-is-for .pcs-home-doors__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
