/* Urban Jungle Realty sitewide theme alignment, homepage hire section, agents layout, and phone image */
#work-with-us { scroll-margin-top: 96px; min-height: 0; }
.ujraz-hire-intro {
  text-align: center;
  max-width: 42em;
  margin: 0 auto 2.25rem;
}
.ujraz-hire-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
  margin: 0 0 2.5rem;
}
@media screen and (max-width: 768px) {
  .ujraz-hire-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.ujraz-hire-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(40, 26, 23, 0.14);
  padding: 28px 28px 30px;
}
.ujraz-hire-card h3 {
  margin: 0 0 0.9rem;
}
.ujraz-hire-card ul {
  margin: 0 0 1.75rem;
  padding-left: 1.25em;
}
.ujraz-hire-card li {
  margin: 0 0 0.5rem;
}
.ujraz-hire-card .sqs-block-button {
  margin-top: auto;
  padding: 0 !important;
}
.ujraz-hire-card .sqs-block-button-container {
  margin: 0;
}
.ujraz-hire-card .sqs-block-button-element--medium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.14em;
}
.ujraz-hire-steps-wrap {
  max-width: 42em;
  margin: 0 auto 2rem;
}
.ujraz-hire-steps-title {
  text-align: center;
  margin: 0 0 0.85rem;
}
.ujraz-hire-steps {
  margin: 0 auto;
  padding-left: 1.35em;
}
.ujraz-hire-steps li {
  margin: 0 0 0.5rem;
}
.ujraz-hire-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.ujraz-hire-form-wrap .ujraz-form-title {
  text-align: center;
}
.ujraz-hire-contact-link {
  text-align: center;
  font-size: 16px;
  margin: 1rem 0 0;
}
.ujraz-hire-contact-link a {
  color: rgba(40, 26, 23, 0.8);
  text-decoration: underline;
}

/* Moved brokerage block at the top of /agents */
.ujraz-brokerage-block {
  padding-bottom: 8px;
}

/* Divider between Brokerage Made Simple and the agent list.
   Matches the site's existing 1px horizontal rules
   (rgba(2, 141, 247, 0.4), 17px block padding). */
.ujraz-agents-divider-row {
  margin: 0;
}

/* Restore circle mask where Squarespace SVG clip-path URL broke in static export */
.sqs-image-shape-container-element[data-shape-mask="circle"] {
  border-radius: 50% !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* Jeff Baker: source photo is a tight portrait. Default 50% 50% cover
   cropped off the top of his head. Pin the crop to the top so the full
   head is in frame, similar to Grant Galas on this page. */
#block-yui_3_17_2_1_1656356491950_56291 .image-block-outer-wrapper {
  --image-component-focal-point: 50% 0%;
}
#block-yui_3_17_2_1_1656356491950_56291 img {
  object-position: 50% 0% !important;
}

/* /agents: ~35% smaller agent portraits (341px -> 220px) paired cleanly with each bio */
.ujraz-agent-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin: 0 0 42px;
}
.ujraz-agent-row:last-child {
  margin-bottom: 12px;
}
.ujraz-agent-photo {
  width: 220px;
  max-width: 100%;
  margin: 0 auto;
}
.ujraz-agent-photo .sqs-block-image,
.ujraz-agent-photo .sqs-block-image-figure,
.ujraz-agent-photo .image-block-outer-wrapper {
  max-width: 220px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ujraz-agent-bio .sqs-block-html {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ujraz-agent-bio h3 {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .ujraz-agent-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 0 36px;
  }
  .ujraz-agent-photo {
    width: 200px;
  }
  .ujraz-agent-photo .sqs-block-image,
  .ujraz-agent-photo .sqs-block-image-figure,
  .ujraz-agent-photo .image-block-outer-wrapper {
    max-width: 200px !important;
  }
}

/* Phone number image replacement */
.ujraz-phone-line {
  line-height: 1.04em;
}
.sqs-html-content img.ujraz-phone-img,
img.ujraz-phone-img {
  display: inline-block !important;
  max-width: none !important;
  vertical-align: middle;
}
.sqs-html-content img.ujraz-phone-img--footer,
img.ujraz-phone-img--footer {
  width: 73px !important;
  height: 11px !important;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin: 2px 0;
}
.sqs-html-content img.ujraz-phone-img--office,
img.ujraz-phone-img--office {
  width: 93px !important;
  height: 14px !important;
  opacity: 0.65;
  vertical-align: baseline;
  margin-bottom: -1px;
}
