.aj-status-preview-notice,
.aj-status-summary {
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #c68b55;
  border-radius: 12px;
  background: #fff8ed;
  color: #563a23;
  font-size: 0.9rem;
  line-height: 1.45;
}

.aj-status-summary {
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #d5ded8;
  border-radius: 12px;
  background: #f4f7f4;
  color: #29473a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.aj-property-status-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #f3f6f2;
}

.aj-property-status-badge,
.aj-status-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #e4efe8;
  color: #19533f;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.aj-property-status--ended .aj-property-status-badge {
  background: #f3e4dc;
  color: #80452d;
}

.aj-property-status--under_application .aj-property-status-badge,
.aj-property-status--checking .aj-property-status-badge {
  background: #f4ead4;
  color: #74521c;
}

.aj-property-status-detail {
  flex-basis: 100%;
  margin: 0;
  color: #33453d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.aj-property-similar-button,
.aj-status-booking-cta,
.aj-status-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.aj-property-similar-button {
  flex-basis: 100%;
  border: 1px solid #1d5a43;
  background: #fff;
  color: #1d5a43;
}

.aj-status-recommendations {
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0.35rem 0 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d8d9cf;
  border-radius: 18px;
  background: #faf8f2;
  box-shadow: 0 12px 30px rgba(34, 61, 49, 0.08);
}

.aj-status-recommendations h3 {
  margin: 0;
  color: #174d3b;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
}

.aj-status-recommendations-intro {
  max-width: 680px;
  margin: 0.55rem 0 1rem;
  color: #4a554f;
  line-height: 1.55;
}

.aj-status-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.aj-status-recommendation-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dde3dc;
  border-radius: 14px;
  background: #fff;
}

.aj-status-recommendation-card h4 {
  margin: 0.65rem 0 0.35rem;
  color: #1b4e3d;
  font-size: 1rem;
  line-height: 1.3;
}

.aj-status-recommendation-card p,
.aj-status-empty {
  margin: 0 0 0.75rem;
  color: #56645e;
  font-size: 0.86rem;
  line-height: 1.45;
}

.aj-status-card-link {
  justify-content: flex-start;
  color: #1d5a43;
  font-size: 0.88rem;
}

.aj-status-booking-cta {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  background: #1d5a43;
  color: #fff;
}

.aj-status-calendar-context {
  box-sizing: border-box;
  width: min(880px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 1rem 1.1rem;
  border: 1px solid #d6ddd7;
  border-left: 4px solid #1d5a43;
  border-radius: 12px;
  background: #f6f8f5;
  color: #243d33;
}

.aj-status-calendar-context p {
  margin: 0.35rem 0 0;
  line-height: 1.55;
}

.aj-property-actions .aj-property-detail-link {
  flex: 1 1 100%;
  justify-content: center;
  background: #1d5a43;
  color: #fff;
}

body.aj-property-detail-view .wp-block-post-title {
  display: none;
}

body.aj-property-detail-view .wp-block-post-content {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-block-start: 0 !important;
  padding: 0;
}

body.aj-property-detail-view main.wp-block-group {
  padding-top: clamp(1rem, 3vw, 2.5rem) !important;
}

.aj-property-detail {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(4rem, 8vw, 7rem);
  color: #263f35;
}

.aj-property-detail * {
  box-sizing: border-box;
}

.aj-property-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  color: #68746e;
  font-size: 0.85rem;
}

.aj-property-detail-breadcrumb a,
.aj-property-detail-disclaimer a,
.aj-property-detail-actions > a:not(.aj-property-detail-primary),
.aj-property-detail-gallery-embed > a,
.aj-property-detail-related a {
  color: #1d5a43;
  text-underline-offset: 0.18em;
}

.aj-property-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

.aj-property-detail-gallery-main,
.aj-property-detail-gallery-embed {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d9ded7;
  border-radius: 24px;
  background: #f8f5ee;
  box-shadow: 0 18px 55px rgba(31, 78, 59, 0.08);
}

.aj-property-detail-gallery-main {
  position: sticky;
  top: 1.5rem;
}

.aj-property-detail-gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #15231e;
}

.aj-property-detail-gallery-main figcaption {
  padding: 0.85rem 1rem;
  color: #69766f;
  font-size: 0.78rem;
}

.aj-property-detail-gallery-embed {
  padding: 1.1rem;
}

.aj-property-detail-gallery-heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
}

.aj-property-detail-gallery-heading h2 {
  margin: 0.2rem 0 0;
  color: #1f4e3b;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.aj-property-detail-gallery-heading > span {
  flex: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #e8f0e8;
  color: #1d5a43;
  font-size: 0.76rem;
  font-weight: 800;
}

.aj-property-detail-gallery-copy {
  margin: 0.7rem 0 1rem;
  color: #68746e;
  font-size: 0.9rem;
  line-height: 1.55;
}

.aj-property-detail-instagram-frame {
  overflow: hidden;
  width: 100%;
  height: min(620px, 68vh);
  min-height: 510px;
  margin-bottom: 0.85rem;
  border-radius: 15px;
  background: #fff;
}

.aj-property-detail-instagram-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.aj-property-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #d9ded7;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(198, 139, 85, 0.17), transparent 40%),
    linear-gradient(135deg, #fbf8f1, #f1f6f1);
  box-shadow: 0 20px 60px rgba(31, 78, 59, 0.08);
}

.aj-property-detail-eyebrow {
  margin: 0 0 0.7rem;
  color: #a05d33;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.aj-property-detail-heading h1 {
  max-width: 760px;
  margin: 0;
  color: #174d3b;
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.aj-property-detail-price {
  margin: 1.2rem 0 0;
  color: #1d5a43;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
}

.aj-property-detail-intro {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #536159;
  font-size: 1rem;
  line-height: 1.7;
}

.aj-property-detail-status {
  padding: 1.2rem;
  border: 1px solid #ccdbd2;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
}

.aj-property-detail-status > span {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e4efe8;
  color: #19533f;
  font-size: 0.78rem;
  font-weight: 800;
}

.aj-property-detail-status--ended > span {
  background: #f3e4dc;
  color: #80452d;
}

.aj-property-detail-status--under_application > span,
.aj-property-detail-status--checking > span {
  background: #f4ead4;
  color: #74521c;
}

.aj-property-detail-status p {
  margin: 0.8rem 0;
  line-height: 1.55;
}

.aj-property-detail-status small {
  color: #68736c;
}

.aj-property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  margin-top: 1rem;
}

.aj-property-detail-facts,
.aj-property-detail-next,
.aj-property-detail-disclaimer,
.aj-property-detail-related,
.aj-property-detail-reading {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #dce1dc;
  border-radius: 18px;
  background: #fff;
}

.aj-property-detail h2 {
  margin: 0;
  color: #174d3b;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.aj-property-detail-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.2rem 0 0;
}

.aj-property-detail-facts dl > div {
  min-width: 0;
  padding: 0.9rem 0;
  border-top: 1px solid #e5e8e4;
}

.aj-property-detail-facts dt {
  color: #748078;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aj-property-detail-facts dd {
  margin: 0.3rem 0 0;
  color: #263f35;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.aj-property-detail-next {
  background: #f5f3eb;
}

.aj-property-detail-next ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #46544d;
  line-height: 1.6;
}

.aj-property-detail-next li + li {
  margin-top: 0.55rem;
}

.aj-property-detail-disclaimer {
  margin-top: 1rem;
  border-left: 4px solid #c68b55;
  background: #fffaf2;
}

.aj-property-detail-disclaimer p {
  margin: 0.5rem 0 0.7rem;
  color: #59645f;
  line-height: 1.6;
}

.aj-property-detail-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 22px;
  background: #174d3b;
  color: #fff;
}

.aj-property-detail-conversion h2 {
  color: #fff;
}

.aj-property-detail-conversion p:not(.aj-property-detail-eyebrow) {
  max-width: 680px;
  margin: 0.8rem 0 0;
  color: #dce9e2;
  line-height: 1.6;
}

.aj-property-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.aj-property-detail-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: #174d3b;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.aj-property-detail-actions > a:not(.aj-property-detail-primary) {
  color: #fff;
}

.aj-property-detail-related,
.aj-property-detail-reading {
  margin-top: 1rem;
}

.aj-property-detail-section-heading {
  margin-bottom: 1.2rem;
}

.aj-property-detail-related-grid,
.aj-property-detail-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.aj-property-detail-related article,
.aj-property-detail-reading-grid > a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid #dde3dd;
  border-radius: 14px;
  background: #f8faf7;
}

.aj-property-detail-related-image {
  display: block;
  overflow: hidden;
  margin: -1rem -1rem 1rem;
  border-radius: 13px 13px 0 0;
  background: #e4e9e4;
}

.aj-property-detail-related-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 240ms ease;
}

.aj-property-detail-related-image:hover img {
  transform: scale(1.025);
}

.aj-property-detail-related article > p,
.aj-property-detail-reading-grid span {
  margin: 0;
  color: #a05d33;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.aj-property-detail-related h3 {
  margin: 0.55rem 0 0.7rem;
  color: #174d3b;
  font-size: 1.05rem;
}

.aj-property-detail-related article > a {
  margin-top: auto;
  padding-top: 0.8rem;
  font-weight: 750;
}

.aj-property-detail-reading-grid > a {
  color: #174d3b;
  text-decoration: none;
}

.aj-property-detail-reading-grid strong {
  margin-top: 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}

.aj-property-detail-reading-grid small {
  margin-top: 0.45rem;
  color: #637068;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .aj-status-recommendation-grid {
    grid-template-columns: 1fr;
  }

  .aj-status-recommendations {
    border-radius: 14px;
  }

  .aj-status-booking-cta {
    width: 100%;
  }

  .aj-property-detail {
    width: min(100% - 1.25rem, 1180px);
  }

  .aj-property-detail-gallery {
    grid-template-columns: 1fr;
  }

  .aj-property-detail-gallery-main {
    position: static;
  }

  .aj-property-detail-instagram-frame {
    height: 585px;
    min-height: 0;
  }

  .aj-property-detail-hero,
  .aj-property-detail-grid,
  .aj-property-detail-conversion {
    grid-template-columns: 1fr;
  }

  .aj-property-detail-hero {
    border-radius: 18px;
  }

  .aj-property-detail-facts dl,
  .aj-property-detail-related-grid,
  .aj-property-detail-reading-grid {
    grid-template-columns: 1fr;
  }

  .aj-property-detail-actions,
  .aj-property-detail-primary {
    width: 100%;
  }
}

/* Property detail v0.4: portal-style information density without portal copy. */
body.aj-property-detail-view .aj-property-detail.aj-reveal {
  opacity: 1;
  transform: none;
  will-change: auto;
}

body.aj-property-detail-view main.wp-block-group {
  padding-top: 0.75rem !important;
}

body.aj-property-detail-view .aj-property-detail {
  padding-top: 0.75rem;
}

.aj-property-portal-top {
  overflow: hidden;
  border: 1px solid #d8dfda;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(25, 67, 51, 0.09);
}

.aj-property-native-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 4px;
  height: min(52vw, 570px);
  min-height: 430px;
  background: #dfe5e0;
}

.aj-property-gallery-tile {
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #eef1ee;
  cursor: zoom-in;
}

.aj-property-gallery-tile--1 {
  grid-row: 1 / 3;
}

.aj-property-native-gallery--single {
  display: block;
  height: min(62vw, 640px);
}

.aj-property-native-gallery--single .aj-property-gallery-tile--1 {
  display: block;
  width: 100%;
  height: 100%;
}

.aj-property-native-gallery--single .aj-property-gallery-tile--1 img {
  object-fit: contain;
}

.aj-property-gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.aj-property-gallery-tile:hover img,
.aj-property-gallery-tile:focus-visible img {
  filter: brightness(0.92);
  transform: scale(1.018);
}

.aj-property-gallery-all {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #173f33;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #173f33;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 50, 40, 0.18);
}

.aj-property-gallery-count {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #173f33;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(22, 50, 40, 0.16);
}

.aj-property-mobile-thumbs {
  display: none;
}

.aj-property-portal-summary {
  padding: clamp(1.25rem, 3vw, 2.3rem);
}

.aj-property-heading-row,
.aj-property-price-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.aj-property-heading-row h1 {
  max-width: 760px;
  margin: 0;
  color: #174d3b;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.aj-property-status-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  max-width: 280px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #e4efe8;
  color: #19533f;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.aj-property-status-pill--ended {
  background: #f3e4dc;
  color: #80452d;
}

.aj-property-status-pill--checking,
.aj-property-status-pill--under_application {
  background: #f4ead4;
  color: #74521c;
}

.aj-property-price-row {
  align-items: end;
  margin-top: 1.2rem;
}

.aj-property-price-row .aj-property-detail-price {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  margin: 0;
}

.aj-property-price-row .aj-property-detail-price small,
.aj-property-price-row > small {
  color: #6e7b74;
  font-size: 0.82rem;
  font-weight: 600;
}

.aj-property-status-message {
  max-width: 780px;
  margin: 0.65rem 0 0;
  color: #536159;
  line-height: 1.65;
}

.aj-property-key-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
  border-block: 1px solid #e2e7e3;
  list-style: none;
}

.aj-property-key-facts li {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-right: 1px solid #e2e7e3;
}

.aj-property-key-facts li:first-child {
  padding-left: 0;
}

.aj-property-key-facts li:last-child {
  border-right: 0;
}

.aj-property-key-facts span,
.aj-property-key-facts strong {
  display: block;
}

.aj-property-key-facts span {
  color: #7a857f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.aj-property-key-facts strong {
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.aj-property-portal-cta,
.aj-property-inquiry-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 1.25rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: #1d5a43;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.aj-property-response-note {
  margin: 0.55rem 0 0;
  color: #748078;
  font-size: 0.78rem;
}

.aj-property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.aj-property-detail-main {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.aj-property-panel,
.aj-property-inquiry-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #dce1dc;
  border-radius: 18px;
  background: #fff;
}

.aj-property-overview-table {
  margin: 1.1rem 0 0;
  border-top: 1px solid #dfe4df;
}

.aj-property-overview-table > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  border-bottom: 1px solid #e4e8e4;
}

.aj-property-overview-table dt,
.aj-property-overview-table dd {
  margin: 0;
  padding: 0.85rem 1rem;
}

.aj-property-overview-table dt {
  background: #f4f6f3;
  color: #657169;
  font-size: 0.82rem;
  font-weight: 750;
}

.aj-property-overview-table dd {
  overflow-wrap: anywhere;
  color: #263f35;
  font-weight: 650;
}

.aj-property-panel-heading,
.aj-property-location-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.aj-property-panel-heading > span,
.aj-property-check-grid span {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #fff0da;
  color: #855421;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aj-property-budget-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f2f6f2;
}

.aj-property-budget-price span {
  color: #5f6d65;
  font-size: 0.85rem;
}

.aj-property-budget-price strong {
  color: #174d3b;
  font-size: 1.25rem;
}

.aj-property-budget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aj-property-budget li {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid #e5e9e5;
}

.aj-property-budget li span,
.aj-property-budget > p,
.aj-property-detail-section-heading > p:not(.aj-property-detail-eyebrow) {
  color: #637068;
  line-height: 1.55;
}

.aj-property-budget > p {
  margin: 1rem 0 0;
  padding-left: 0.8rem;
  border-left: 3px solid #c68b55;
  font-size: 0.88rem;
}

.aj-property-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.aj-property-check-grid > div {
  padding: 1rem;
  border: 1px solid #e1e6e2;
  border-radius: 13px;
  background: #fafbf9;
}

.aj-property-check-grid strong,
.aj-property-check-grid p {
  display: block;
}

.aj-property-check-grid strong {
  margin-top: 0.65rem;
}

.aj-property-check-grid p {
  margin: 0.35rem 0 0;
  color: #67736c;
  font-size: 0.86rem;
  line-height: 1.5;
}

.aj-property-location {
  display: block;
  background: linear-gradient(135deg, #eef5ef, #faf8f1);
}

.aj-property-location-heading h2,
.aj-property-location-heading p {
  margin: 0;
}

.aj-property-location-heading p:not(.aj-property-detail-eyebrow) {
  margin-top: 0.5rem;
  color: #5e6a63;
}

.aj-property-location-heading > a {
  flex: none;
  color: #1d5a43;
  font-weight: 800;
}

.aj-property-map-embed {
  overflow: hidden;
  width: 100%;
  margin-top: 1.1rem;
  border: 1px solid #d2dbd4;
  border-radius: 14px;
  background: #e7ede8;
  aspect-ratio: 16 / 8;
}

.aj-property-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.aj-property-location > small {
  display: block;
  margin-top: 0.65rem;
  color: #67736c;
  line-height: 1.45;
}

.aj-property-inquiry-card {
  position: sticky;
  top: 1rem;
  background: #174d3b;
  color: #fff;
  box-shadow: 0 18px 42px rgba(23, 77, 59, 0.18);
}

.aj-property-inquiry-card h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.aj-property-inquiry-card > p:not(.aj-property-detail-eyebrow) {
  color: #dbe8e1;
  line-height: 1.6;
}

.aj-property-inquiry-card > a {
  width: 100%;
  background: #fff;
  color: #174d3b;
}

.aj-property-inquiry-card > small {
  display: block;
  margin-top: 0.8rem;
  color: #c8d9d0;
  line-height: 1.45;
}

.aj-property-detail-disclaimer {
  margin-top: 0;
}

.aj-property-detail-section-heading > p:not(.aj-property-detail-eyebrow) {
  margin: 0.55rem 0 0;
}

.aj-property-similarity-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.aj-property-similarity-reasons li {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #e8f0e8;
  color: #315d4b;
  font-size: 0.7rem;
  font-weight: 750;
}

.aj-property-gallery-dialog[hidden] {
  display: none;
}

.aj-property-gallery-dialog,
.aj-property-gallery-dialog * {
  box-sizing: border-box;
}

.aj-property-gallery-dialog {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--aj-gallery-viewport-height, 100dvh);
  max-height: var(--aj-gallery-viewport-height, 100dvh);
  overflow-y: auto;
  padding: clamp(0.5rem, 2vw, 1.5rem);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.aj-property-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 15, 0.88);
  backdrop-filter: blur(8px);
}

.aj-property-gallery-modal {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  width: min(1180px, calc(100vw - 2rem));
  max-height: calc(var(--aj-gallery-viewport-height, 100dvh) - 2rem);
  padding: 1rem;
  border-radius: 18px;
  background: #101a16;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.aj-property-gallery-dialog--single .aj-property-gallery-stage {
  grid-template-columns: minmax(0, 1fr);
}

.aj-property-gallery-dialog--single .aj-property-gallery-stage button,
.aj-property-gallery-dialog--single .aj-property-gallery-thumbs {
  display: none;
}

.aj-property-gallery-close {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #173f33;
  font-size: 1.8rem;
  cursor: pointer;
}

.aj-property-gallery-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 0.75rem;
  align-items: center;
}

.aj-property-gallery-stage img {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: min(70vh, 760px);
  object-fit: contain;
}

.aj-property-gallery-stage button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.aj-property-gallery-modal > p {
  margin: 0.5rem 0;
  text-align: center;
}

.aj-property-gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.4rem;
}

.aj-property-gallery-thumbs button {
  flex: 0 0 74px;
  overflow: hidden;
  height: 55px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #263630;
  cursor: pointer;
  opacity: 0.65;
}

.aj-property-gallery-thumbs button.is-active {
  border-color: #fff;
  opacity: 1;
}

.aj-property-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.aj-gallery-is-open,
body.aj-gallery-is-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.aj-property-area-guide {
  overflow: hidden;
  border-color: #cddccf;
  background:
    radial-gradient(circle at 92% 12%, rgba(192, 215, 198, 0.65), transparent 34%),
    linear-gradient(145deg, #f4f8f3 0%, #fffaf2 100%);
}

.aj-property-area-guide h2 {
  max-width: 18ch;
  margin-bottom: 0.7rem;
}

.aj-property-area-guide > p:not(.aj-property-detail-eyebrow) {
  max-width: 60ch;
  color: #52625b;
}

.aj-property-area-guide-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.aj-property-area-guide-highlights span {
  padding: 0.45rem 0.7rem;
  border: 1px solid #d4dfd5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #254f40;
  font-size: 0.84rem;
  font-weight: 700;
}

.aj-property-area-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.aj-property-area-guide-actions a {
  color: #1d5a43;
  font-weight: 750;
  text-underline-offset: 0.18em;
}

.aj-property-area-guide-actions .aj-property-area-guide-primary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #1d5a43;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 840px) {
  .aj-property-native-gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(140px, 1fr));
    height: min(75vw, 520px);
    min-height: 340px;
  }

  .aj-property-gallery-tile--4,
  .aj-property-gallery-tile--5 {
    display: none;
  }

  .aj-property-detail-layout {
    grid-template-columns: 1fr;
  }

  .aj-property-inquiry-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .aj-property-detail {
    width: min(100% - 1rem, 1180px);
  }

  .aj-property-portal-top,
  .aj-property-panel,
  .aj-property-inquiry-card,
  .aj-property-detail-related,
  .aj-property-detail-reading {
    border-radius: 14px;
  }

  .aj-property-native-gallery {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .aj-property-gallery-tile {
    display: none;
    width: 100%;
    height: 100%;
  }

  .aj-property-gallery-tile--1 {
    display: block;
  }

  .aj-property-heading-row,
  .aj-property-price-row,
  .aj-property-panel-heading,
  .aj-property-location-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .aj-property-mobile-thumbs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.65rem 0.65rem 0.75rem;
    border-top: 1px solid #e1e6e2;
    background: #f7f8f6;
    scrollbar-width: thin;
  }

  .aj-property-mobile-thumbs button {
    flex: 0 0 76px;
    overflow: hidden;
    height: 58px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #e3e8e4;
    cursor: zoom-in;
  }

  .aj-property-mobile-thumbs button:first-child {
    border-color: #1d5a43;
  }

  .aj-property-mobile-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .aj-property-map-embed {
    aspect-ratio: 4 / 3;
  }

  .aj-property-status-pill {
    max-width: 100%;
  }

  .aj-property-heading-row h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .aj-property-key-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-property-key-facts li {
    border-bottom: 1px solid #e2e7e3;
  }

  .aj-property-key-facts li:nth-child(even) {
    border-right: 0;
  }

  .aj-property-key-facts li:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .aj-property-portal-cta {
    width: 100%;
  }

  .aj-property-area-guide-actions,
  .aj-property-area-guide-actions a {
    width: 100%;
  }

  .aj-property-area-guide-actions a {
    justify-content: center;
    text-align: center;
  }

  .aj-property-overview-table > div,
  .aj-property-budget li,
  .aj-property-check-grid {
    grid-template-columns: 1fr;
  }

  .aj-property-overview-table dt,
  .aj-property-overview-table dd {
    padding: 0.7rem 0.8rem;
  }

  .aj-property-overview-table dd {
    border-top: 1px dashed #e1e6e1;
  }

  .aj-property-gallery-modal {
    width: calc(100vw - 1rem);
    max-height: calc(var(--aj-gallery-viewport-height, 100dvh) - 1rem);
    padding: 0.6rem;
  }

  .aj-property-gallery-stage {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 0.25rem;
  }

  .aj-property-gallery-stage img {
    height: min(calc(var(--aj-gallery-viewport-height, 100dvh) - 9rem), 620px);
    min-height: 180px;
  }

  .aj-property-gallery-stage button {
    width: 36px;
    height: 36px;
    font-size: 1.45rem;
  }
}
