/* Deliberately scoped: the existing homepage, maps and article typography stay intact. */
.aj-buyer-trust { box-sizing:border-box; color:var(--aj-ink,#1d2a24); margin:0 auto; max-width:1120px; padding:clamp(2rem,4vw,3.5rem) 1.25rem; width:100%; }
.aj-buyer-trust *, .aj-match-invite * { box-sizing:border-box; }
.aj-buyer-trust-heading h2 { color:var(--aj-forest,#1f4938); font-size:clamp(1.65rem,3vw,2.5rem); line-height:1.2; margin:.45rem 0 1.4rem; }
.aj-buyer-trust-grid { align-items:start; display:grid; gap:1.5rem; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); }
.aj-buyer-trust-card { background:var(--aj-sand,#f3efe5); border:1px solid var(--aj-line,rgba(31,73,56,.16)); border-radius:22px; display:flex; flex-direction:column; min-width:0; padding:clamp(1.25rem,3vw,2rem); }
.aj-buyer-trust-card h3 { color:var(--aj-forest,#1f4938); font-size:1.5rem; line-height:1.3; margin:.4rem 0 .75rem; }
.aj-buyer-trust-card p { font-size:1rem; line-height:1.65; margin:0 0 1rem; }
.aj-buyer-trust-card .aj-buyer-trust-label { color:var(--aj-clay,#a76540); font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.aj-buyer-trust-card .aj-buyer-trust-note { font-size:.875rem; }
.aj-buyer-trust a { color:var(--aj-forest,#1f4938); text-underline-offset:4px; }
.aj-buyer-trust-link { display:inline-block; font-weight:700; margin-top:auto; padding:10px 0; }
.aj-buyer-trust-card--video { background:#fff; }
.aj-buyer-video { aspect-ratio:16/9; background:var(--aj-forest,#1f4938); border-radius:14px; margin:.25rem 0 .75rem; min-height:200px; overflow:hidden; width:100%; }
.aj-buyer-video iframe { border:0; display:block; height:100%; width:100%; }
.aj-buyer-trust-card--review { padding:0; overflow:hidden; }
.aj-buyer-trust-card-intro { padding:1.5rem 1.5rem .25rem; }
.aj-buyer-review-window { background:#fff; border:1px solid rgba(31,73,56,.16); border-radius:20px; box-shadow:0 8px 24px rgba(31,73,56,.06); margin:0 .75rem; overflow:hidden; }
.aj-buyer-review-topline { align-items:center; border-bottom:1px solid #edf0eb; color:#526454; display:flex; font-size:.75rem; gap:.5rem; padding:1rem; }
.aj-buyer-review-dot { background:#54745e; border-radius:50%; height:7px; width:7px; }
.aj-buyer-review-frame { border:0; display:block; height:340px; max-width:100%; width:100%; }
.aj-buyer-review-footer { display:flex; flex-direction:column; padding:.75rem 1.5rem 1.25rem; }
.aj-review-controls[hidden], .aj-review-slide[hidden] { display:none !important; }
.aj-review-controls { padding:0 1.1rem .9rem; }
.aj-review-navigation { align-items:center; display:flex; justify-content:space-between; gap:.5rem; }
.aj-review-arrow, .aj-review-dot { align-items:center; cursor:pointer; display:inline-flex; justify-content:center; min-height:44px; min-width:44px; padding:0; }
.aj-review-arrow { background:#fff; border:1px solid #bdc9ba; border-radius:50%; color:#1f4938; font-size:1.3rem; }
.aj-review-arrow:hover { background:#e5ecdf; }
.aj-review-dots { display:flex; gap:0; }
.aj-review-dot { background:transparent; border:0; border-radius:12px; }
.aj-review-dot span { background:#bac6b5; border-radius:8px; height:8px; transition:width .2s ease; width:8px; }
.aj-review-dot[aria-current="true"] span { background:#1f4938; width:24px; }
.aj-review-arrow:focus-visible, .aj-review-dot:focus-visible, .aj-review-swipe:focus-visible { outline:3px solid #a76540; outline-offset:3px; }
.aj-buyer-trust-card .aj-review-status { color:#3c5746; font-size:.85rem; font-weight:600; margin:.4rem 0 .6rem; text-align:center; }
.aj-review-swipe { align-items:center; background:#e6eddf; border:1px dashed #a7b79d; border-radius:9px; color:#35533e; cursor:grab; display:flex; font-size:.8rem; gap:.5rem; justify-content:center; min-height:44px; padding:.5rem; touch-action:pan-y; user-select:none; }
.aj-review-swipe:active { cursor:grabbing; }
.aj-review-source { padding:.4rem 1.1rem 0; }
.aj-review-slide:not([hidden]) { animation:aj-review-enter .22s ease-out; }
.aj-review-slide[data-review-size="long"] .aj-buyer-review-frame { height:530px; }
.aj-review-slide[data-review-size="medium"] .aj-buyer-review-frame { height:700px; }
@keyframes aj-review-enter { from { opacity:.5; transform:translateX(10px); } to { opacity:1; transform:translateX(0); } }
@media(min-width:1000px) {
  .aj-review-slide[data-review-size="long"] .aj-buyer-review-frame { height:300px; }
  .aj-review-slide[data-review-size="medium"] .aj-buyer-review-frame { height:360px; }
}
@media(max-width:700px) {
  .aj-review-slide[data-review-size="long"] .aj-buyer-review-frame { height:400px; }
  .aj-review-slide[data-review-size="medium"] .aj-buyer-review-frame { height:500px; }
}
@media(max-width:360px) {
  .aj-review-slide[data-review-size="long"] .aj-buyer-review-frame { height:450px; }
  .aj-review-slide[data-review-size="medium"] .aj-buyer-review-frame { height:600px; }
}
@media(prefers-reduced-motion:reduce) {
  .aj-review-slide:not([hidden]) { animation:none; }
  .aj-review-dot span { transition:none; }
}
.aj-buyer-trust-original { display:inline-block; font-size:.875rem; line-height:1.5; padding:10px 0; }
.aj-buyer-trust-card .aj-buyer-video-caption { align-items:center; display:flex; font-size:.875rem; gap:.6rem; margin:.25rem 0 1rem; }
.aj-buyer-video-time { background:#f3efe5; border-radius:6px; color:#1f4938; font-size:.8rem; font-weight:700; padding:.3rem .45rem; }
.aj-buyer-trust .aj-buyer-trust-privacy { color:#596553; font-size:.8rem; line-height:1.6; margin:.5rem 0 0; }
.aj-buyer-trust a:focus-visible { border-radius:4px; outline:3px solid #a76540; outline-offset:3px; }
.aj-buyer-trust-compact-grid { align-items:center; display:grid; gap:1.25rem; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.aj-buyer-trust-compact-grid > div { min-width:0; }
.aj-buyer-trust .aj-buyer-trust-scope { color:var(--aj-moss,#667a58); font-size:.85rem; line-height:1.6; margin:1rem 0 0; }
.aj-buyer-trust--compact { background:var(--aj-sand,#f3efe5); border:1px solid var(--aj-line,rgba(31,73,56,.16)); border-radius:18px; max-width:900px; padding:1.25rem; }
.wp-site-blocks .aj-buyer-trust.aj-buyer-trust--compact { max-width:900px; }
.aj-buyer-trust--compact .aj-buyer-trust-heading h2 { font-size:1.3rem; margin-bottom:.5rem; }
.aj-buyer-trust--compact p { font-size:.95rem; line-height:1.6; margin:.5rem 0; }
.aj-buyer-trust-links { display:flex; flex-wrap:wrap; gap:.25rem 1.5rem; }
.aj-buyer-trust-links a { display:inline-block; font-size:.9rem; font-weight:600; padding:10px 0; }
.aj-match-invite { align-items:center; background:var(--aj-sand,#f3efe5); border:1px solid var(--aj-line,rgba(31,73,56,.16)); border-radius:18px; display:flex; gap:1.25rem; justify-content:space-between; margin:2rem auto; max-width:1080px; padding:1.5rem; }
.aj-match-invite h2 { color:var(--aj-forest,#1f4938); font-size:1.5rem; line-height:1.3; margin:0 0 .4rem; }
.aj-match-invite p { font-size:1rem; line-height:1.6; margin:0; }
.aj-match-invite a { flex:none; }
.aj-property-match-page { font-size:1rem; padding:2.5rem 1.25rem 4rem; }
.wp-block-group.aj-property-match-page > .aj-buyer-trust--compact { max-width:820px; }
.aj-property-match-intro { margin:0 auto 1.5rem; max-width:820px; }
.aj-property-match-intro h1 { color:var(--aj-forest,#1f4938); font-size:clamp(2rem,4vw,3.2rem); line-height:1.15; }
.aj-property-match-intro p { line-height:1.7; }
@media(min-width:1000px) {
  .aj-buyer-review-frame { height:260px; }
}
@media(max-width:700px) {
  .aj-buyer-review-frame { height:300px; }
  .aj-buyer-trust-grid { grid-template-columns:1fr; }
  .aj-buyer-trust-compact-grid { grid-template-columns:1fr; gap:.5rem; }
  .aj-buyer-trust-card-intro { padding:1.25rem 1.1rem .25rem; }
  .aj-buyer-review-window { border-radius:14px; margin:0 .4rem; }
  .aj-buyer-review-footer { padding:.75rem 1.1rem 1rem; }
  .aj-buyer-trust { padding-left:1.25rem; padding-right:1.25rem; }
  .aj-buyer-trust--compact { padding:1.1rem; }
  .aj-match-invite { align-items:flex-start; flex-direction:column; }
  .aj-match-invite a { text-align:center; width:100%; }
}
@media(max-width:360px) {
  .aj-buyer-review-frame { height:340px; }
}
