/* tc-tiles.css
   Toronto city tiles + agent listing cards, visually matching topcourtiers.ca
   .city-tile grid. Loaded last. Does not change names, scores, photos or copy. */

/* --- City tile typography (h3 otherwise inherits ink) --- */
html body .city-tile .tile-city{
  margin:.15rem 0 .35rem !important;
  font-family:var(--serif) !important;
  font-size:1.55rem !important;
  font-weight:600 !important;
  letter-spacing:-.01em !important;
  line-height:1.12 !important;
  color:#fff !important;
}
html body .city-tile .tile-region{
  margin:0 !important;
  color:var(--gold-2) !important;
  font-family:var(--sans) !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
}
html body .city-tile .tile-agent{
  margin:0 !important;
  font-family:var(--sans) !important;
  font-weight:600 !important;
  font-size:.95rem !important;
  color:#fff !important;
}
html body .city-tile .tile-agency{
  margin:.15rem 0 0 !important;
  font-size:.82rem !important;
  color:#d7d0c2 !important;
  background:none !important;
  border:none !important;
}
html body .city-tile .tile-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 18% !important;
}

@media (max-width:640px){
  html body .city-tiles,
  html body.page-list .city-tiles,
  html body.page-list .city-tiles--compact,
  html body .home-minis .city-tiles,
  html body .tre-agents-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:.8rem !important;
    max-width:none !important;
  }
  html body .city-tile .tile-city{font-size:1.15rem !important}
  html body .city-tile .tile-body{padding:2.5rem .75rem .75rem !important}
  html body .city-tile .tile-agency{display:none !important}
}

@media (min-width:641px){
  html body .city-tiles,
  html body.page-list .city-tiles,
  html body.page-list .city-tiles--compact,
  html body .home-minis .city-tiles,
  html body .tre-agents-grid{
    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr)) !important;
    gap:1.4rem !important;
    max-width:none !important;
  }
}

/* Cream score on city tiles (and later on listing cards) */
html body .city-tile .ivl.ivl--score,
html body.page-list .grid .card-photo .ivl,
html body.home .grid .card-photo .ivl,
html body .tre-agent-card .ivl.ivl--score{
  position:absolute !important;
  bottom:.4rem !important;
  right:.4rem !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  margin:0 !important;
  background:rgba(255,253,249,.96) !important;
  color:#7a5a1e !important;
  border:1px solid rgba(122,90,30,.4) !important;
  border-radius:8px !important;
  padding:.34rem .62rem .36rem !important;
  z-index:8 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  gap:.08rem !important;
  box-shadow:none !important;
  width:auto !important;
  max-width:none !important;
  height:auto !important;
}
html body .city-tile .ivl.ivl--score .ivl-score,
html body.page-list .grid .card-photo .ivl .ivl-score,
html body.home .grid .card-photo .ivl .ivl-score,
html body .tre-agent-card .ivl.ivl--score .ivl-score{
  font-family:var(--serif) !important;
  font-size:1.12rem !important;
  line-height:1 !important;
  font-weight:800 !important;
  color:#7a5a1e !important;
  font-variant-numeric:tabular-nums !important;
  letter-spacing:-.02em !important;
}
html body .city-tile .ivl.ivl--score .ivl-kicker,
html body .city-tile .ivl.ivl--score .ivl-stars,
html body .city-tile .ivl.ivl--score .ivl-meaning,
html body .city-tile .ivl.ivl--score .ivl-outof,
html body.page-list .grid .card-photo .ivl .ivl-kicker,
html body.page-list .grid .card-photo .ivl .ivl-stars,
html body.page-list .grid .card-photo .ivl .ivl-meaning,
html body.page-list .grid .card-photo .ivl .ivl-outof,
html body.home .grid .card-photo .ivl .ivl-kicker,
html body.home .grid .card-photo .ivl .ivl-stars,
html body.home .grid .card-photo .ivl .ivl-meaning,
html body.home .grid .card-photo .ivl .ivl-outof{
  display:none !important;
}
@media (max-width:640px){
  html body .city-tile .ivl.ivl--score,
  html body.page-list .grid .card-photo .ivl,
  html body.home .grid .card-photo .ivl,
  html body .tre-agent-card .ivl.ivl--score{
    bottom:.55rem !important;
    right:.3rem !important;
    padding:.22rem .4rem .2rem !important;
  }
  html body .city-tile .ivl.ivl--score .ivl-score,
  html body.page-list .grid .card-photo .ivl .ivl-score,
  html body.home .grid .card-photo .ivl .ivl-score,
  html body .tre-agent-card .ivl.ivl--score .ivl-score{
    font-size:.92rem !important;
  }
}

/* --- Listing cards (.grid .card) become city tiles --- */
html body.home #resultats .grid,
html body.page-list #resultats .grid,
html body.page-list .grid#grid,
html body.home .grid,
html body.page-list .grid{
  display:grid !important;
  align-items:stretch !important;
}
@media (max-width:640px){
  html body.home #resultats .grid,
  html body.page-list #resultats .grid,
  html body.page-list .grid#grid,
  html body.home .grid,
  html body.page-list .grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:.8rem !important;
  }
}
@media (min-width:641px){
  html body.home #resultats .grid,
  html body.page-list #resultats .grid,
  html body.page-list .grid#grid,
  html body.home .grid,
  html body.page-list .grid{
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr)) !important;
    gap:1.4rem !important;
  }
}

html body.home #resultats .grid > .card,
html body.page-list #resultats .grid > .card,
html body.home .grid > .card,
html body.page-list .grid > .card{
  position:relative !important;
  display:block !important;
  aspect-ratio:4/5 !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:var(--r,18px) !important;
  overflow:hidden !important;
  background:var(--ink,#0e1a2b) !important;
  color:#fff !important;
  box-shadow:
    0 0 0 1px rgba(242,201,76,.70),
    0 2px 8px rgba(74,54,6,.12),
    0 0 25px rgba(242,201,76,.20) !important;
  grid-template-columns:1fr !important;
  transform:none;
  transition:transform .28s ease,box-shadow .28s ease;
}
html body.home #resultats .grid > .card:hover,
html body.page-list #resultats .grid > .card:hover,
html body.home .grid > .card:hover,
html body.page-list .grid > .card:hover{
  transform:translateY(-3px);
  box-shadow:
    0 0 0 1.5px rgba(242,201,76,1),
    0 10px 22px rgba(74,54,6,.18),
    0 0 36px rgba(242,201,76,.31) !important;
}
html body.home #resultats .grid > .card::after,
html body.page-list .grid > .card::after,
html body.home .grid > .card::after{
  content:"" !important;
  position:absolute !important;
  inset:8px !important;
  border-radius:calc(var(--r,18px) - 6px) !important;
  box-shadow:inset 0 0 0 1px rgba(242,201,76,.55) !important;
  opacity:0;
  transition:opacity .28s ease;
  pointer-events:none;
  z-index:5;
  background:none !important;
}
html body.home #resultats .grid > .card:hover::after,
html body.page-list .grid > .card:hover::after,
html body.home .grid > .card:hover::after{opacity:1}

/* Traveling gold edge — same treatment as tcs47 on .city-tile, for listing cards with a photo */
html body.home .grid > .card:not(.card--place):not(:has(.tile-empty))::before,
html body.page-list .grid > .card:not(.card--place):not(:has(.tile-empty))::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:inherit !important;
  padding:2.8px !important;
  box-sizing:border-box !important;
  background:conic-gradient(from var(--tcs47-edge,0deg),transparent 0 68%,rgba(255,231,160,.21) 78%,#FFFBE6 88%,#FFF1C6 93%,transparent 100%) !important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
  z-index:6;
  animation:tcs47-edge 5.5s linear infinite;
}

html body.home .grid .card-photo,
html body.page-list .grid .card-photo{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:100% !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  background:transparent !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
}
html body.home .grid .card-photo img,
html body.page-list .grid .card-photo img,
html body.home .grid .card-photo picture,
html body.page-list .grid .card-photo picture{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 18% !important;
  transform:none !important;
  border-radius:0 !important;
}
html body.home .grid .card-photo picture img,
html body.page-list .grid .card-photo picture img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 18% !important;
}

html body.home .grid .card-body,
html body.page-list .grid .card-body{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  top:auto !important;
  z-index:4 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:0 !important;
  margin:0 !important;
  padding:3.5rem 1.1rem 1.1rem !important;
  background:linear-gradient(180deg,transparent,rgba(10,18,32,.72) 38%,rgba(10,18,32,.94)) !important;
  border:0 !important;
  border-radius:0 !important;
  color:#fff !important;
  min-width:0 !important;
  max-width:none !important;
}
@media (max-width:640px){
  html body.home .grid .card-body,
  html body.page-list .grid .card-body{
    padding:2.5rem .75rem .75rem !important;
  }
}

/* Visual order: region, neighbourhood, name, agency — matches TC tile-body */
html body.home .grid .card-loc,
html body.page-list .grid .card-loc{order:1 !important}
html body.home .grid .card-territory,
html body.page-list .grid .card-territory{order:2 !important}
html body.home .grid .card-id,
html body.page-list .grid .card-id{order:3 !important}
html body.home .grid .agency,
html body.page-list .grid .agency,
html body.home .grid .agency-badge,
html body.page-list .grid .agency-badge{order:4 !important}

/* Region: gold small-caps */
html body.home .grid .card-loc,
html body.page-list .grid .card-loc{
  display:block !important;
  margin:0 !important;
  color:var(--gold-2) !important;
  font-family:var(--sans) !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  line-height:1.3 !important;
}
html body.home .grid .card-loc .ico,
html body.page-list .grid .card-loc .ico{display:none !important}

/* Neighbourhood: Playfair, no black pill */
html body.home .grid .card-territory,
html body.page-list .grid .card-territory{
  display:block !important;
  max-width:100% !important;
  margin:.15rem 0 .35rem !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  color:#fff !important;
  font-family:var(--serif) !important;
  font-size:1.55rem !important;
  font-weight:600 !important;
  letter-spacing:-.01em !important;
  line-height:1.12 !important;
  text-transform:none !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:unset !important;
}
@media (max-width:640px){
  html body.home .grid .card-territory,
  html body.page-list .grid .card-territory{font-size:1.15rem !important}
}

/* Agent name */
html body.home .grid .card-id,
html body.page-list .grid .card-id{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
}
html body.home .grid .card-name,
html body.page-list .grid .card-name,
html body.home .grid .card-name a,
html body.page-list .grid .card-name a{
  margin:0 !important;
  color:#fff !important;
  font-family:var(--sans) !important;
  font-size:.95rem !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
  line-height:1.25 !important;
  text-decoration:none !important;
}
html body.home .grid .card-name a:hover,
html body.page-list .grid .card-name a:hover{color:#f6e7b2 !important}

/* Agency as muted caption; hidden at phone width like TC */
html body.home .grid .agency,
html body.page-list .grid .agency,
html body.home .grid .agency-badge,
html body.page-list .grid .agency-badge{
  display:block !important;
  margin:.15rem 0 0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  color:#d7d0c2 !important;
  font-size:.82rem !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  line-height:1.25 !important;
  white-space:normal !important;
}
@media (max-width:640px){
  html body.home .grid .agency,
  html body.page-list .grid .agency,
  html body.home .grid .agency-badge,
  html body.page-list .grid .agency-badge{display:none !important}
}

/* Keep title, bio, ILV explainer and CTAs in the DOM, off the tile face */
html body.home .grid .card-title,
html body.page-list .grid .card-title,
html body.home .grid .card-bio,
html body.page-list .grid .card-bio,
html body.home .grid .card-actions,
html body.page-list .grid .card-actions,
html body.home .grid .ivl-grade--card,
html body.page-list .grid .ivl-grade--card,
html body.home .grid .ivl-criteria-note,
html body.page-list .grid .ivl-criteria-note,
html body.home .grid .ivl-blurb,
html body.page-list .grid .ivl-blurb,
html body.home .grid .secteur-ferme,
html body.page-list .grid .secteur-ferme,
html body.home .grid .secteur-ferme-note,
html body.page-list .grid .secteur-ferme-note{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* Place-available tile: same hatch as TC, no traveling gold */
html body.home .grid > .card.card--place,
html body.page-list .grid > .card.card--place{
  background:var(--ink,#0e1a2b) !important;
}
html body.home .grid .card--place .card-photo,
html body.page-list .grid .card--place .card-photo{
  background:var(--ink,#0e1a2b) !important;
}
html body.home .grid .card--place .tile-empty,
html body.page-list .grid .card--place .tile-empty,
html body .city-tile .tile-empty{
  z-index:1;
}
html body.home .grid .card--place .card-territory,
html body.page-list .grid .card--place .card-territory{
  color:#fff !important;
}
html body.home .grid .card--place .card-name,
html body.home .grid .card--place .card-name a,
html body.page-list .grid .card--place .card-name,
html body.page-list .grid .card--place .card-name a{
  color:var(--gold-2) !important;
  font-family:var(--serif) !important;
  font-size:1.42rem !important;
  font-weight:600 !important;
}
@media (max-width:640px){
  html body.home .grid .card--place .card-name,
  html body.home .grid .card--place .card-name a,
  html body.page-list .grid .card--place .card-name,
  html body.page-list .grid .card--place .card-name a{font-size:1.05rem !important}
}

/* Sponsored label, if present on a card, stays visible at the top of the tile */
html body.home .grid .tre-sponsored,
html body.page-list .grid .tre-sponsored,
html body.home .grid .badge--featured,
html body.page-list .grid .badge--featured{
  position:absolute !important;
  top:.7rem !important;
  left:.7rem !important;
  z-index:8 !important;
}

/* --- Neighbourhood-page agent cards (.tre-agent-card) --- */
html body .tre-agents-grid .tre-agent-card{
  position:relative !important;
  display:block !important;
  aspect-ratio:4/5 !important;
  background:var(--ink,#0e1a2b) !important;
  border:0 !important;
  border-radius:var(--r,18px) !important;
  overflow:hidden !important;
  color:#fff !important;
  box-shadow:
    0 0 0 1px rgba(242,201,76,.70),
    0 2px 8px rgba(74,54,6,.12),
    0 0 25px rgba(242,201,76,.20) !important;
}
html body .tre-agents-grid .tre-agent-card .tile-body{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  z-index:4 !important;
  padding:3.5rem 1.1rem 1.1rem !important;
  background:linear-gradient(180deg,transparent,rgba(10,18,32,.72) 38%,rgba(10,18,32,.94)) !important;
}
html body .tre-agents-grid .tre-agent-card .tile-region{
  margin:0 !important;
  color:var(--gold-2) !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
}
html body .tre-agents-grid .tre-agent-card .tile-city{
  margin:.15rem 0 .35rem !important;
  font-family:var(--serif) !important;
  font-size:1.55rem !important;
  font-weight:600 !important;
  letter-spacing:-.01em !important;
  line-height:1.12 !important;
  color:#fff !important;
}
html body .tre-agents-grid .tre-agent-card .tile-agency{
  margin:.15rem 0 0 !important;
  font-size:.82rem !important;
  color:#d7d0c2 !important;
  opacity:1 !important;
}
html body .tre-agents-grid .tre-agent-card .tre-mono,
html body .tre-agents-grid .tre-agent-card .tile-photo{
  position:absolute !important;
  inset:0 !important;
  aspect-ratio:auto !important;
  width:100% !important;
  height:100% !important;
  border-radius:0 !important;
}
html body .tre-agents-grid .tre-agent-card .tile-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 18% !important;
}
html body .tre-agents-grid .tre-agent-card .tre-temp-score,
html body .tre-agents-grid .tre-agent-card .tre-pending,
html body .tre-agents-grid .tre-agent-card .tre-review-basis,
html body .tre-agents-grid .tre-agent-card .tre-claim,
html body .tre-agents-grid .tre-agent-card .tre-src,
html body .tre-agents-grid .tre-agent-card .tre-lvi{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
}
@media (max-width:640px){
  html body .tre-agents-grid .tre-agent-card .tile-city{font-size:1.15rem !important}
  html body .tre-agents-grid .tre-agent-card .tile-body{padding:2.5rem .75rem .75rem !important}
  html body .tre-agents-grid .tre-agent-card .tile-agency{display:none !important}
}

/* JS-rendered ILV explainer must stay off the tile face */
html body.home .grid .card-more,
html body.page-list .grid .card-more{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
html body.home .grid .card-territory,
html body.page-list .grid .card-territory{
  overflow-wrap:normal !important;
  word-break:normal !important;
  hyphens:none !important;
}
html body.home .grid .card-name,
html body.home .grid .card-name a,
html body.page-list .grid .card-name,
html body.page-list .grid .card-name a{
  color:#fff !important;
}

html body.home .grid .card-name a,
html body.page-list .grid .card-name a{
  text-decoration:none !important;
  text-decoration-line:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}


/* === tc-tiles2: measured from live topcourtiers.ca at 390px (2026-12-05) === */

/* Score pastille — exact .tile-photo .ivl.ivl--score computed values.
   50.16×28.06px box, padding .28/.48/.3rem, radius 8px, 1px rgba(122,90,30,.45),
   bg rgba(255,253,249,.96), shadow 0 2px 8px rgba(20,17,12,.2),
   Playfair 1.05rem/800 #7a5a1e. Do not shrink at 390. */
html body .city-tile .ivl.ivl--score,
html body .tre-agent-card .ivl.ivl--score,
html body.home .grid .card-photo .ivl,
html body.page-list .grid .card-photo .ivl{
  position:absolute !important;
  top:auto !important;
  bottom:.28rem !important;
  right:.28rem !important;
  left:auto !important;
  z-index:8 !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  min-width:2.8rem !important;
  margin:0 !important;
  padding:.28rem .48rem .3rem !important;
  border:1px solid rgba(122,90,30,.45) !important;
  border-radius:8px !important;
  background:rgba(255,253,249,.96) !important;
  color:#7a5a1e !important;
  box-shadow:0 2px 8px rgba(20,17,12,.2) !important;
  pointer-events:none !important;
  transform:none !important;
  gap:0 !important;
}
html body .city-tile .ivl.ivl--score .ivl-score,
html body .tre-agent-card .ivl.ivl--score .ivl-score,
html body.home .grid .card-photo .ivl .ivl-score,
html body.page-list .grid .card-photo .ivl .ivl-score{
  font-family:var(--serif) !important;
  font-size:1.05rem !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  line-height:1 !important;
  color:#7a5a1e !important;
  font-variant-numeric:tabular-nums !important;
}

/* Region small-caps tracking — photo tiles (live TC: .7rem / .18em) */
html body .city-tile:not(:has(.tile-empty)) .tile-region,
html body .tre-agent-card .tile-region,
html body.home .grid .card-loc,
html body.page-list .grid .card-loc{
  font-size:.7rem !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  font-weight:600 !important;
  color:var(--gold-2) !important;
}

/* Place tiles at 390: live TC .6rem / .04em region, 1.15rem city, .78rem agent line */
html body .city-tile:has(.tile-empty) .tile-empty,
html body.home .grid .card--place .tile-empty,
html body.page-list .grid .card--place .tile-empty{
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding-top:8% !important;
  gap:.35rem !important;
  background:repeating-linear-gradient(135deg,rgba(201,164,92,.08) 0 1px,transparent 1px 16px),linear-gradient(160deg,var(--ink),var(--ink-3)) !important;
  color:var(--gold-2) !important;
  font-family:var(--serif) !important;
  font-size:1rem !important;
  font-weight:400 !important;
  line-height:1.6 !important;
  z-index:1 !important;
}
html body .city-tile:has(.tile-empty) .tile-empty .ico,
html body.home .grid .card--place .tile-empty .ico,
html body.page-list .grid .card--place .tile-empty .ico,
html body .city-tile:has(.tile-empty) .tile-empty svg,
html body.home .grid .card--place .tile-empty svg,
html body.page-list .grid .card--place .tile-empty svg{
  width:1.5rem !important;
  height:1.5rem !important;
  font-size:1.5rem !important;
  fill:currentColor !important;
  color:var(--gold-2) !important;
  flex:0 0 auto !important;
}
html body .city-tile:has(.tile-empty) .tile-empty span,
html body.home .grid .card--place .tile-empty span,
html body.page-list .grid .card--place .tile-empty span{
  font-family:var(--serif) !important;
  font-size:1rem !important;
  color:var(--gold-2) !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  text-align:center !important;
  line-height:1.3 !important;
  padding:0 .4rem !important;
}
html body .city-tile:has(.tile-empty) .tile-region{
  font-size:.6rem !important;
  letter-spacing:.04em !important;
}
html body .city-tile:has(.tile-empty) .tile-city{
  font-size:1.15rem !important;
  letter-spacing:-.01em !important;
}
html body .city-tile:has(.tile-empty) .tile-agent{
  font-size:.78rem !important;
  font-weight:400 !important;
  color:#fff !important;
  line-height:1.3 !important;
}
html body .city-tile:has(.tile-empty) .tile-body{padding-top:1.5rem !important}
@media (min-width:641px){
  html body .city-tile:has(.tile-empty) .tile-empty{padding-top:10% !important;font-size:1.15rem !important}
  html body .city-tile:has(.tile-empty) .tile-empty span{font-size:1.15rem !important}
  html body .city-tile:has(.tile-empty) .tile-region{font-size:.7rem !important;letter-spacing:.08em !important}
  html body .city-tile:has(.tile-empty) .tile-city{font-size:1.55rem !important}
  html body .city-tile:has(.tile-empty) .tile-agent{font-size:.9em !important}
}

/* Listing place card: gold title lives in the hatch, body is region + neighbourhood + discover line */
html body.home .grid .card--place .card-name,
html body.home .grid .card--place .card-name a,
html body.page-list .grid .card--place .card-name,
html body.page-list .grid .card--place .card-name a{
  color:#fff !important;
  font-family:var(--sans) !important;
  font-size:.78rem !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  line-height:1.3 !important;
}
@media (min-width:641px){
  html body.home .grid .card--place .card-name,
  html body.home .grid .card--place .card-name a,
  html body.page-list .grid .card--place .card-name,
  html body.page-list .grid .card--place .card-name a{font-size:.9rem !important}
}
html body.home .grid .card--place .card-loc,
html body.page-list .grid .card--place .card-loc{
  font-size:.6rem !important;
  letter-spacing:.04em !important;
}
@media (min-width:641px){
  html body.home .grid .card--place .card-loc,
  html body.page-list .grid .card--place .card-loc{
    font-size:.7rem !important;
    letter-spacing:.08em !important;
  }
}
/* No traveling gold on place / empty hatch tiles (already excluded); keep agency hidden at 390 */

/* Title-case neighbourhood on listing cards; town-link inherits Playfair */
html body.home .grid .card-territory,
html body.page-list .grid .card-territory,
html body.home .grid .card-territory a,
html body.page-list .grid .card-territory a,
html body.home .grid .town-link,
html body.page-list .grid .town-link{
  color:#fff !important;
  font-family:var(--serif) !important;
  font-size:1.55rem !important;
  font-weight:600 !important;
  letter-spacing:-.01em !important;
  line-height:1.12 !important;
  text-transform:none !important;
  text-decoration:none !important;
  background:none !important;
  border:0 !important;
  padding:0 !important;
}
@media (max-width:640px){
  html body.home .grid .card-territory,
  html body.page-list .grid .card-territory,
  html body.home .grid .card-territory a,
  html body.page-list .grid .card-territory a,
  html body.home .grid .town-link,
  html body.page-list .grid .town-link{font-size:1.15rem !important}
}

/* Real agent, no photo: light photo-style tile + gold serif monogram — never the navy empty slot */
html body .city-tile .tile-photo--mono,
html body .tre-agent-card .tile-photo--mono,
html body.home .grid .card-photo.card-photo--mono,
html body.page-list .grid .card-photo.card-photo--mono,
html body.home .grid .card-photo:has(> .tile-mono),
html body.page-list .grid .card-photo:has(> .tile-mono){
  background:
    radial-gradient(120% 85% at 50% 32%, #fbf6ea 0%, #f3ead6 52%, #e8dcc4 100%) !important;
}
html body .tile-mono,
html body.home .grid .tile-mono,
html body.page-list .grid .tile-mono{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:18% !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  font-family:var(--serif) !important;
  font-weight:600 !important;
  font-size:clamp(2.2rem, 8vw, 3.4rem) !important;
  letter-spacing:.08em !important;
  line-height:1 !important;
  color:#c9a45c !important;
  text-shadow:0 1px 0 rgba(255,255,255,.35) !important;
  z-index:2 !important;
  pointer-events:none !important;
}
/* Monogram tiles keep the traveling gold edge (they are not .tile-empty) */

/* Live TC at 390: names clear the pastille (padding-right:2.9rem) */
@media (max-width:640px){
  html body .city-tile .tile-agent,
  html body .tre-agent-card .tile-city,
  html body.home .grid .card-name,
  html body.page-list .grid .card-name,
  html body.home .grid .card-name a,
  html body.page-list .grid .card-name a{
    padding-right:2.9rem !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    hyphens:none !important;
    white-space:normal !important;
  }
}

html body.home .grid .card-id,
html body.page-list .grid .card-id{
  max-width:100% !important;
}
@media (max-width:640px){
  html body.home .grid .card-id,
  html body.page-list .grid .card-id{
    padding-right:2.9rem !important;
    box-sizing:border-box !important;
  }
}


/* --- tc-tiles2: district pills tucked under See all neighbourhoods --- */
#villes .chips{
  max-height:0 !important;
  overflow:hidden;
  opacity:0;
  margin-top:0 !important;
  margin-bottom:0 !important;
  pointer-events:none;
  transition:max-height .4s cubic-bezier(.2,.7,.2,1),opacity .3s ease,margin .3s ease;
}
#villes.is-chips-open .chips{
  max-height:16rem !important;
  opacity:1;
  margin-top:.85rem !important;
  margin-bottom:1.2rem !important;
  pointer-events:auto;
}
#villes .tcv-btn{display:none !important}
@media (prefers-reduced-motion:reduce){
  #villes .chips{transition:none}
}

/* Pricing panel interleaved in the city-tile / thumbnail grid */
.city-tiles > .tier-menu-slot{
  grid-column:1 / -1;
  width:100%;
  margin:.35rem 0 .55rem;
  min-width:0;
}
.tier-menu-slot .tier-menu,
.tier-menu--in-grid{
  padding:0 !important;
  background:transparent !important;
  margin:0;
}
.tier-menu-slot .tier-tabs{
  margin:0 auto;
}

/* Thin More toggle — same treatment as topcourtiers.ca .tre-fold-btn */
.tier-menu-slot .tre-fold,
.tier-tabs.tre-fold{margin:0 auto;max-width:none;width:100%}
.tier-menu-slot .tre-fold-more{
  overflow:hidden;
  transition:max-height .35s ease,opacity .3s ease;
}
.js-fold .tier-menu-slot .tre-fold-more{max-height:0;opacity:0}
.js-fold .tier-menu-slot .tre-fold.is-open .tre-fold-more{max-height:48rem;opacity:1}
.tier-menu-slot .tre-fold-btn,
.tre-fold-btn{
  display:none;
  align-items:center;
  justify-content:center;
  gap:.25rem;
  margin:.75rem auto 0;
  min-height:40px;
  padding:0;
  max-width:calc(100% - 1.5rem);
  box-sizing:border-box;
  border:0;
  border-radius:0;
  -webkit-appearance:none;
  appearance:none;
  background:none;
  box-shadow:none;
  color:rgba(255,255,255,.85);
  font-family:inherit;
  font-size:15px;
  font-weight:500;
  line-height:1;
  letter-spacing:normal;
  text-transform:none;
  text-decoration:none;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  outline:none;
}
.js-fold .tre-fold-btn{display:inline-flex}
.tre-fold-btn:focus,
.tre-fold-btn:focus:not(:focus-visible){
  outline:none;
  box-shadow:none;
  text-decoration:none;
}
.tre-fold-btn:hover{
  background:none;
  border:0;
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
}
.tre-fold-btn:focus-visible{
  outline:none;
  box-shadow:none;
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  text-decoration-color:#c9a45c;
}
.tre-fold-chev{transition:transform .25s ease;flex:0 0 auto}
.tre-fold.is-open .tre-fold-chev{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){
  .tre-fold-more,.tre-fold-chev{transition:none}
}
/* When collapsed, tighten title padding so the slot stays compact in the grid */
.js-fold .tier-menu-slot .tier-lines{padding-bottom:.35rem}
.js-fold .tier-menu-slot .tre-fold:not(.is-open) .tier-tabs,
.js-fold .tier-menu-slot .tier-tabs.tre-fold:not(.is-open){
  /* keep gold rule + title + more */
}

/* Restore the navy panel face when the block sits inside the cream tile grid */
html body .city-tiles > .tier-menu-slot .tier-tabs{
  background:
    radial-gradient(700px 220px at 50% 0%,rgba(201,164,92,.16),transparent 70%),
    linear-gradient(180deg,#0e1a2b 0%,#14243d 100%) !important;
}

/* Immersive ink color on .home-minis p must not paint the navy in-grid pricing panel */
html.imm .home-minis .tier-menu-slot,
html body .city-tiles > .tier-menu-slot{
  color:#f6eedc;
}
html.imm .home-minis .tier-menu-slot .tier-cascade p,
html body .city-tiles > .tier-menu-slot .tier-cascade p{
  color:#f3efe6 !important;
}
html.imm .home-minis .tier-menu-slot .tier-cascade .champ-qc,
html body .city-tiles > .tier-menu-slot .tier-cascade .champ-qc{
  color:#e2c88f !important;
}
html.imm .home-minis .tier-menu-slot .tier-cascade .champ-reg,
html body .city-tiles > .tier-menu-slot .tier-cascade .champ-reg{
  color:#f6eedc !important;
}
html.imm .home-minis .tier-menu-slot .tier-cascade .champ-ville,
html.imm .home-minis .tier-menu-slot .tier-cascade .tre-tier-4,
html body .city-tiles > .tier-menu-slot .tier-cascade .champ-ville,
html body .city-tiles > .tier-menu-slot .tier-cascade .tre-tier-4{
  color:#d9c79a !important;
}
html.imm .home-minis .tier-menu-slot .tier-cascade .tre-tier-sub,
html body .city-tiles > .tier-menu-slot .tier-cascade .tre-tier-sub{
  color:#d9c79a !important;
}
html.imm .home-minis .tier-menu-slot .tier-contact,
html body .city-tiles > .tier-menu-slot .tier-contact{
  color:#d9c79a !important;
}
html.imm .home-minis .tier-menu-slot .tier-contact a,
html body .city-tiles > .tier-menu-slot .tier-contact a{
  color:#e2c88f !important;
}


/* howto: in-grid promo — padding, solid navy fallback, mobile wrap (TC colours) */
html body .city-tiles > .tier-menu-slot .tier-tabs,
html body .tier-menu-slot .tier-tabs{
  background-color:#0e1a2b !important;
  padding:1.5rem 1.15rem 1.2rem !important;
  box-sizing:border-box !important;
}
@media (max-width:640px){
  html body .city-tiles > .tier-menu-slot .tier-lines strong,
  html body .tier-menu-slot .tier-lines strong{
    font-size:clamp(1.28rem,5.6vw,1.6rem) !important;
    line-height:1.22 !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    hyphens:none !important;
    max-width:100% !important;
    display:block !important;
  }
}


/* Clickable navy pricing panel: the whole card links to the positions page (no More/Less). */
a.tier-menu-link{
  display:block;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  border-radius:22px;
  -webkit-tap-highlight-color:transparent;
  transition:transform .2s ease, box-shadow .2s ease;
}
a.tier-menu-link:hover,
a.tier-menu-link:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(14,26,43,.3), 0 0 20px rgba(201,164,92,.28);
}
a.tier-menu-link:focus{outline:none}
a.tier-menu-link:focus-visible{outline:none}
a.tier-menu-link:hover .tier-tabs,
a.tier-menu-link:focus-visible .tier-tabs{
  border-color:rgba(201,164,92,.95);
  box-shadow:0 0 0 1px rgba(201,164,92,.55), inset 0 1px 0 rgba(226,200,143,.45);
}
a.tier-menu-link .tier-lines{padding-bottom:.4rem}
a.tier-menu-link .tier-menu-cue{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:.15rem auto 0;
  color:rgba(226,200,143,.72);
  line-height:1;
}
a.tier-menu-link:hover .tier-menu-cue,
a.tier-menu-link:focus-visible .tier-menu-cue{color:#e2c88f}
@media (max-width:720px){
  a.tier-menu-link{border-radius:16px}
}

/* Guard: a More/Less control must never render as a white box on navy */
.tier-menu .tre-fold-btn,
.tier-tabs .tre-fold-btn,
.tier-menu-slot .tre-fold-btn{
  -webkit-appearance:none;
  appearance:none;
  background:transparent !important;
  background-color:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:rgba(255,255,255,.85) !important;
}

/* howto: monogram solid cream fallback so initials never render as white-on-navy */
html body .city-tile .tile-photo--mono,
html body .tre-agent-card .tile-photo--mono,
html body.home .grid .card-photo.card-photo--mono,
html body.page-list .grid .card-photo.card-photo--mono,
html body.home .grid .card-photo:has(> .tile-mono),
html body.page-list .grid .card-photo:has(> .tile-mono){
  background-color:#f3ead6 !important;
}
html body .tile-mono,
html body.home .grid .tile-mono,
html body.page-list .grid .tile-mono{
  color:#c9a45c !important;
}
/* === grid1: name clears score pill + monogram matches photo cards === */

/* card-body is a flex column; stretch children so the name box is the card
   width, then reserve the pill column ONCE on the wrapper (not again on
   .card-name and the inner <a>, which would collapse the text to one glyph). */
html body.home .grid .card-body,
html body.page-list .grid .card-body,
html body .city-tile .tile-body,
html body .tre-agent-card .tile-body {
  align-items: stretch !important;
}
html body.home .grid .card-id,
html body.page-list .grid .card-id {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-right: 2.8rem !important;
}
html body.home .grid .card-name,
html body.page-list .grid .card-name,
html body.home .grid .card-name a,
html body.page-list .grid .card-name a {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}
html body .city-tile .tile-agent,
html body .tre-agent-card .tile-city {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-right: 2.8rem !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Neighbourhood monogram cards had a duplicate score pill as a direct child of
   the tile, sitting over the name. Keep only the pill inside .tile-photo. */
html body .city-tile.tre-agent-card > p.ivl {
  display: none !important;
}

/* Monogram / no-photo cards: same frame, same bottom overlay (from .card-body /
   .tile-body), tasteful gold serif monogram in the portrait area. Never navy. */
html body .city-tile .tile-photo--mono,
html body .tre-agent-card .tile-photo--mono,
html body.home .grid .card-photo.card-photo--mono,
html body.page-list .grid .card-photo.card-photo--mono,
html body.home .grid .card-photo:has(> .tile-mono),
html body.page-list .grid .card-photo:has(> .tile-mono),
html body .tre-agent-card .tre-mono {
  background:
    radial-gradient(120% 85% at 50% 32%, #fbf6ea 0%, #f3ead6 55%, #e8dcc4 100%) !important;
  background-color: #f3ead6 !important;
}
html body .tile-mono,
html body.home .grid .tile-mono,
html body.page-list .grid .tile-mono,
html body .tre-agent-card .tile-mono,
html body .tre-agent-card .tre-mono {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 16% !important;
  bottom: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--serif) !important;
  font-weight: 600 !important;
  font-size: clamp(2.2rem, 8vw, 3.4rem) !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  color: #c9a45c !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.35) !important;
  background: none !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Compact the cream score pill — it was stretching (left+right) to nearly the
   full card width and covering the last name. Force a TC-sized corner pastille. */
html body .city-tile .ivl.ivl--score,
html body .tre-agent-card .ivl.ivl--score,
html body .tre-agent-card .tile-photo .ivl,
html body.home .grid .card-photo .ivl,
html body.page-list .grid .card-photo .ivl,
html body.home .grid .card-photo .ivl.ivl--est,
html body.page-list .grid .card-photo .ivl.ivl--est {
  inset: auto .28rem .28rem auto !important;
  top: auto !important;
  right: .28rem !important;
  bottom: .28rem !important;
  left: auto !important;
  width: max-content !important;
  max-width: 4.6rem !important;
  min-width: 2.8rem !important;
  height: auto !important;
  flex: 0 0 auto !important;
  align-self: auto !important;
}

/* === demetres1: headroom above every head + delayed gradient (faces stay above type) === */
/* Photo frame is Eddy studio grey so a small inset above the head looks like the backdrop. */
html body.home .grid .card-photo,
html body.page-list .grid .card-photo,
html body .city-tile .tile-photo,
html body .tre-agent-card .tile-photo {
  background: #e4e4e3 !important;
  overflow: hidden !important;
}
html body.home .grid .card-photo img,
html body.page-list .grid .card-photo img,
html body.home .grid .card-photo picture img,
html body.page-list .grid .card-photo picture img,
html body .city-tile .tile-photo img,
html body .city-tile .tile-photo picture img,
html body .tre-agent-card .tile-photo img,
html body .tre-agent-card .tile-photo picture img {
  object-fit: cover !important;
  object-position: center top !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  top: 0 !important;
  transform: none !important;
}
/* Card overlay matches topcourtiers.ca exactly (dark navy behind the body text). */
html body.home .grid .card-body,
html body.page-list .grid .card-body,
html body .city-tile .tile-body,
html body .tre-agent-card .tile-body {
  background: linear-gradient(180deg,transparent,rgba(10,18,32,.72) 38%,rgba(10,18,32,.94)) !important;
}

/* quiet1: no leftover gap under The selection / Agents once the count line is gone */
html body #resultats .section-head .section-title {
  margin-bottom: 0 !important;
}
/* gap1: reduce the navy space between Back and the hero kicker by one third */
html body section.hero {
  padding-top: calc(5.5rem * 2 / 3) !important;
}
@media (max-width: 640px) {
  html body section.hero {
    padding-top: calc(3.2rem * 2 / 3) !important;
  }
}

/* pricing1: TC headroom on every agent card photo.
   Target: ~4.5% of the card above the hair (head never cut, no large empty gap).
   Per-photo scale/top/left from measured source headroom. */
html body img[src*="agents/adam-martinez-studio"] { width:104.3% !important; height:104.3% !important; max-width:none !important; left:-2.1% !important; right:auto !important; bottom:auto !important; top:-3.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/ajay-s-walia-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:3.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/alex-trokoz-studio"] { width:109.3% !important; height:109.3% !important; max-width:none !important; left:-4.6% !important; right:auto !important; bottom:auto !important; top:-9.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/alysha-fiorio-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/amanda-bechberger-studio"] { width:103.9% !important; height:103.9% !important; max-width:none !important; left:-1.9% !important; right:auto !important; bottom:auto !important; top:-3.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/amanda-griffis-white"] { width:109.1% !important; height:109.1% !important; max-width:none !important; left:-4.5% !important; right:auto !important; bottom:auto !important; top:-9.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/andre-frehn-white"] { width:106.5% !important; height:106.5% !important; max-width:none !important; left:-3.2% !important; right:auto !important; bottom:auto !important; top:-5.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/angela-qarizadha-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/arthur-lee-studio"] { width:103.9% !important; height:103.9% !important; max-width:none !important; left:-1.9% !important; right:auto !important; bottom:auto !important; top:-3.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/ashley-isaac-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/audrey-lin-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:2.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/brad-maclean-studio"] { width:110.4% !important; height:110.4% !important; max-width:none !important; left:-5.2% !important; right:auto !important; bottom:auto !important; top:-10.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/brennan-aguanno-studio"] { width:104.7% !important; height:104.7% !important; max-width:none !important; left:-2.3% !important; right:auto !important; bottom:auto !important; top:-3.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/bryen-daly-studio"] { width:105.7% !important; height:105.7% !important; max-width:none !important; left:-2.8% !important; right:auto !important; bottom:auto !important; top:-5.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/caitlin-mason-studio"] { width:104.3% !important; height:104.3% !important; max-width:none !important; left:-2.2% !important; right:auto !important; bottom:auto !important; top:-3.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/cameron-mackay-studio"] { width:100.7% !important; height:100.7% !important; max-width:none !important; left:-0.3% !important; right:auto !important; bottom:auto !important; top:0.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/corinne-marks-white"] { width:101.1% !important; height:101.1% !important; max-width:none !important; left:-0.5% !important; right:auto !important; bottom:auto !important; top:0.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/cory-martin-studio"] { width:104.5% !important; height:104.5% !important; max-width:none !important; left:-2.2% !important; right:auto !important; bottom:auto !important; top:-3.6% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/cynthia-ostos-studio"] { width:102.1% !important; height:102.1% !important; max-width:none !important; left:-1.0% !important; right:auto !important; bottom:auto !important; top:-1.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/damian-boissiere-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:2.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/david-speedie-studio"] { width:102.2% !important; height:102.2% !important; max-width:none !important; left:-1.1% !important; right:auto !important; bottom:auto !important; top:-1.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/demetres-giannitsos-white"] { width:108.9% !important; height:108.9% !important; max-width:none !important; left:-4.4% !important; right:auto !important; bottom:auto !important; top:-8.8% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/eddy-prekazi"] { width:100.9% !important; height:100.9% !important; max-width:none !important; left:-0.4% !important; right:auto !important; bottom:auto !important; top:0.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/gavin-fong-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/gianna-schiralli-studio"] { width:107.9% !important; height:107.9% !important; max-width:none !important; left:-3.9% !important; right:auto !important; bottom:auto !important; top:-7.6% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/gillian-oxley-white"] { width:102.5% !important; height:102.5% !important; max-width:none !important; left:-1.2% !important; right:auto !important; bottom:auto !important; top:-1.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/grace-chan-studio"] { width:104.9% !important; height:104.9% !important; max-width:none !important; left:-2.4% !important; right:auto !important; bottom:auto !important; top:-4.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/hatim-bootwala-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:3.7% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/heather-hadden-studio"] { width:100.1% !important; height:100.1% !important; max-width:none !important; left:-0.0% !important; right:auto !important; bottom:auto !important; top:1.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/ina-halko-white"] { width:102.1% !important; height:102.1% !important; max-width:none !important; left:-1.0% !important; right:auto !important; bottom:auto !important; top:-1.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/isaac-quan-studio"] { width:101.5% !important; height:101.5% !important; max-width:none !important; left:-0.7% !important; right:auto !important; bottom:auto !important; top:-0.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/jacob-letourneau-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:2.7% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/janice-schier-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:3.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/jennifer-dernek-studio"] { width:107.5% !important; height:107.5% !important; max-width:none !important; left:-3.7% !important; right:auto !important; bottom:auto !important; top:-7.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/jethro-seymour-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/jj-mccarthy-studio"] { width:100.1% !important; height:100.1% !important; max-width:none !important; left:-0.0% !important; right:auto !important; bottom:auto !important; top:1.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/joel-cooper-studio"] { width:101.5% !important; height:101.5% !important; max-width:none !important; left:-0.7% !important; right:auto !important; bottom:auto !important; top:-0.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/joel-prakash-studio"] { width:106.7% !important; height:106.7% !important; max-width:none !important; left:-3.3% !important; right:auto !important; bottom:auto !important; top:-6.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/john-o-connor-studio"] { width:106.9% !important; height:106.9% !important; max-width:none !important; left:-3.5% !important; right:auto !important; bottom:auto !important; top:-6.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/jonathan-renna-studio"] { width:104.8% !important; height:104.8% !important; max-width:none !important; left:-2.4% !important; right:auto !important; bottom:auto !important; top:-4.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/karen-mcclelland-studio"] { width:103.3% !important; height:103.3% !important; max-width:none !important; left:-1.6% !important; right:auto !important; bottom:auto !important; top:-2.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/kate-peterson-studio"] { width:110.3% !important; height:110.3% !important; max-width:none !important; left:-5.2% !important; right:auto !important; bottom:auto !important; top:-9.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/khoa-le-studio"] { width:105.3% !important; height:105.3% !important; max-width:none !important; left:-2.6% !important; right:auto !important; bottom:auto !important; top:-4.6% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/kirby-chan-studio"] { width:109.4% !important; height:109.4% !important; max-width:none !important; left:-4.7% !important; right:auto !important; bottom:auto !important; top:-9.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/lucas-frattura-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/manish-khatri-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/marcia-lacerda-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:2.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/marco-pedri-studio"] { width:102.3% !important; height:102.3% !important; max-width:none !important; left:-1.1% !important; right:auto !important; bottom:auto !important; top:-1.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/maria-tsiaousidis-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/martin-kicinski-studio"] { width:111.1% !important; height:111.1% !important; max-width:none !important; left:-5.6% !important; right:auto !important; bottom:auto !important; top:-10.7% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/melissa-dreaddy-studio"] { width:100.9% !important; height:100.9% !important; max-width:none !important; left:-0.4% !important; right:auto !important; bottom:auto !important; top:0.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/michael-buslovich-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:2.7% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/michael-prior-studio"] { width:105.9% !important; height:105.9% !important; max-width:none !important; left:-2.9% !important; right:auto !important; bottom:auto !important; top:-5.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/mihaela-moraru-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/milad-akrami-studio"] { width:101.7% !important; height:101.7% !important; max-width:none !important; left:-0.8% !important; right:auto !important; bottom:auto !important; top:-0.6% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/miranda-heckbert-studio"] { width:108.5% !important; height:108.5% !important; max-width:none !important; left:-4.2% !important; right:auto !important; bottom:auto !important; top:-8.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/mobinul-islam-studio"] { width:107.5% !important; height:107.5% !important; max-width:none !important; left:-3.7% !important; right:auto !important; bottom:auto !important; top:-7.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/moe-asgarian-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/mohsina-meem-studio"] { width:103.9% !important; height:103.9% !important; max-width:none !important; left:-1.9% !important; right:auto !important; bottom:auto !important; top:-3.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/mona-delir-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/natasha-eadie-studio"] { width:101.5% !important; height:101.5% !important; max-width:none !important; left:-0.7% !important; right:auto !important; bottom:auto !important; top:-0.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/navid-sharifzadeh-studio"] { width:101.1% !important; height:101.1% !important; max-width:none !important; left:-0.5% !important; right:auto !important; bottom:auto !important; top:0.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/nelly-de-breze-studio"] { width:110.2% !important; height:110.2% !important; max-width:none !important; left:-5.1% !important; right:auto !important; bottom:auto !important; top:-9.8% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/nicole-scott-studio"] { width:111.9% !important; height:111.9% !important; max-width:none !important; left:-5.9% !important; right:auto !important; bottom:auto !important; top:-11.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/parveen-arora-studio"] { width:101.3% !important; height:101.3% !important; max-width:none !important; left:-0.6% !important; right:auto !important; bottom:auto !important; top:-0.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/paul-siksna-studio"] { width:102.3% !important; height:102.3% !important; max-width:none !important; left:-1.1% !important; right:auto !important; bottom:auto !important; top:-1.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/rajni-dang-studio"] { width:112.1% !important; height:112.1% !important; max-width:none !important; left:-6.1% !important; right:auto !important; bottom:auto !important; top:-11.7% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/rakhi-anand-studio"] { width:105.2% !important; height:105.2% !important; max-width:none !important; left:-2.6% !important; right:auto !important; bottom:auto !important; top:-4.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/ramneet-gadi-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/rebecca-fang-studio"] { width:100.3% !important; height:100.3% !important; max-width:none !important; left:-0.1% !important; right:auto !important; bottom:auto !important; top:0.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/rebecca-kopel-studio"] { width:102.5% !important; height:102.5% !important; max-width:none !important; left:-1.2% !important; right:auto !important; bottom:auto !important; top:-1.4% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/robert-lin-studio"] { width:108.9% !important; height:108.9% !important; max-width:none !important; left:-4.5% !important; right:auto !important; bottom:auto !important; top:-8.8% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/roberto-carol-studio"] { width:100.5% !important; height:100.5% !important; max-width:none !important; left:-0.2% !important; right:auto !important; bottom:auto !important; top:0.7% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/samantha-fraser-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:3.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/sarah-underhill-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:1.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/sean-millar-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/sean-seifaei-studio"] { width:110.4% !important; height:110.4% !important; max-width:none !important; left:-5.2% !important; right:auto !important; bottom:auto !important; top:-10.0% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/shayan-safaei-studio"] { width:100.1% !important; height:100.1% !important; max-width:none !important; left:-0.0% !important; right:auto !important; bottom:auto !important; top:1.1% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/simon-smardenkas-studio"] { width:101.3% !important; height:101.3% !important; max-width:none !important; left:-0.6% !important; right:auto !important; bottom:auto !important; top:-0.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/siu-ta-studio"] { width:102.3% !important; height:102.3% !important; max-width:none !important; left:-1.1% !important; right:auto !important; bottom:auto !important; top:-1.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/stam-loizides-studio"] { width:105.5% !important; height:105.5% !important; max-width:none !important; left:-2.7% !important; right:auto !important; bottom:auto !important; top:-4.8% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/susan-gucci-studio"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:2.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/sushil-mishra"] { width:100.0% !important; height:100.0% !important; max-width:none !important; left:0.0% !important; right:auto !important; bottom:auto !important; top:4.5% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/sze-lau-studio"] { width:108.9% !important; height:108.9% !important; max-width:none !important; left:-4.4% !important; right:auto !important; bottom:auto !important; top:-8.8% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/tatiana-alferova-studio"] { width:104.7% !important; height:104.7% !important; max-width:none !important; left:-2.3% !important; right:auto !important; bottom:auto !important; top:-3.9% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/teuta-guci-studio"] { width:101.4% !important; height:101.4% !important; max-width:none !important; left:-0.7% !important; right:auto !important; bottom:auto !important; top:-0.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/tom-storey-studio"] { width:100.9% !important; height:100.9% !important; max-width:none !important; left:-0.4% !important; right:auto !important; bottom:auto !important; top:0.3% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/zach-toutounjian-studio"] { width:114.0% !important; height:114.0% !important; max-width:none !important; left:-7.0% !important; right:auto !important; bottom:auto !important; top:-13.6% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }
html body img[src*="agents/zaid-bargash-studio"] { width:104.1% !important; height:104.1% !important; max-width:none !important; left:-2.0% !important; right:auto !important; bottom:auto !important; top:-3.2% !important; object-fit:cover !important; object-position:center top !important; transform:none !important; }


/* pricing1: 40% louder traveling gold on agent-card thumbnails.
   Speed and motion unchanged (tcs47-edge 5.5s linear infinite).
   BEFORE (styles-441 tcs47, also used as the listing-card reference):
     padding 2px;
     gradient transparent 0 68%, rgba(255,231,160,.15) 78%, #FFF8D6 88%, #FFE7A0 93%, transparent 100%;
     box-shadow 0 0 0 1px rgba(242,201,76,.50), 0 0 18px rgba(242,201,76,.14);
     reduced-motion opacity .65.
   AFTER (alpha/glow/brightness × 1.4, alpha capped at 1):
     padding 2.8px;
     gradient transparent 0 68%, rgba(255,231,160,.21) 78%, #FFFBE6 88%, #FFF1C6 93%, transparent 100%;
     box-shadow 0 0 0 1px rgba(242,201,76,.70), 0 0 25px rgba(242,201,76,.20);
     reduced-motion opacity .91.
   Listing-card hover glow: 1.5px rgba(.75) / 26px rgba(.22) → 1.5px rgba(1) / 36px rgba(.31).
*/
html body .city-tile:not(.city-tile--empty):not(:has(.tile-empty)),
html body .tre-agents-grid .tre-agent-card:not(:has(.tile-empty)){
  box-shadow:
    0 0 0 1px rgba(242,201,76,.70),
    0 2px 8px rgba(74,54,6,.12),
    0 0 25px rgba(242,201,76,.20) !important;
}
html body .city-tile:not(.city-tile--empty):not(:has(.tile-empty))::before,
html body .tre-agents-grid .tre-agent-card:not(:has(.tile-empty))::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:inherit !important;
  padding:2.8px !important;
  box-sizing:border-box !important;
  pointer-events:none !important;
  z-index:6;
  background:conic-gradient(from var(--tcs47-edge), transparent 0 68%, rgba(255,231,160,.21) 78%, #FFFBE6 88%, #FFF1C6 93%, transparent 100%) !important;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite:exclude;
  animation:tcs47-edge 5.5s linear infinite;
}
@media (prefers-reduced-motion:reduce){
  html body .city-tile:not(.city-tile--empty):not(:has(.tile-empty))::before,
  html body .tre-agents-grid .tre-agent-card:not(:has(.tile-empty))::before,
  html body.home .grid > .card:not(.card--place):not(:has(.tile-empty))::before,
  html body.page-list .grid > .card:not(.card--place):not(:has(.tile-empty))::before{
    animation:none !important;
    background:linear-gradient(#FFF1C6, #F2C94C) !important;
    opacity:.91 !important;
  }
}

/* spot1: Caitlin Mason + Cory Martin — scale down and hang from the top so
   the face clears the KING WEST label / name overlay. Higher specificity than
   the generic .tre-agents-grid .tile-photo img rule (object-position 18%),
   which had been winning over the per-photo headroom rules. Do not crop hair;
   studio grey letterbox at the bottom sits under the navy overlay.
   Scoped to card/tile photos only — not the vedette/profile portrait. */
html body .city-tiles .city-tile .tile-photo img[src*="agents/caitlin-mason-studio"],
html body .city-tiles .city-tile .tile-photo picture img[src*="agents/caitlin-mason-studio"],
html body .home-minis .city-tile .tile-photo img[src*="agents/caitlin-mason-studio"],
html body .home-minis .city-tile .tile-photo picture img[src*="agents/caitlin-mason-studio"],
html body .tre-agents-grid .city-tile .tile-photo img[src*="agents/caitlin-mason-studio"],
html body .tre-agents-grid .tre-agent-card .tile-photo img[src*="agents/caitlin-mason-studio"],
html body .tre-agents-grid .city-tile .tile-photo picture img[src*="agents/caitlin-mason-studio"],
html body.home .grid .card-photo img[src*="agents/caitlin-mason-studio"],
html body.home .grid .card-photo picture img[src*="agents/caitlin-mason-studio"],
html body.page-list .grid .card-photo img[src*="agents/caitlin-mason-studio"],
html body.page-list .grid .card-photo picture img[src*="agents/caitlin-mason-studio"] {
  width: 86% !important;
  height: 86% !important;
  max-width: none !important;
  left: 7% !important;
  right: auto !important;
  bottom: auto !important;
  top: -2% !important;
  object-fit: contain !important;
  object-position: center top !important;
  transform: none !important;
  position: absolute !important;
}
html body .city-tiles .city-tile .tile-photo img[src*="agents/cory-martin-studio"],
html body .city-tiles .city-tile .tile-photo picture img[src*="agents/cory-martin-studio"],
html body .home-minis .city-tile .tile-photo img[src*="agents/cory-martin-studio"],
html body .home-minis .city-tile .tile-photo picture img[src*="agents/cory-martin-studio"],
html body .tre-agents-grid .city-tile .tile-photo img[src*="agents/cory-martin-studio"],
html body .tre-agents-grid .tre-agent-card .tile-photo img[src*="agents/cory-martin-studio"],
html body .tre-agents-grid .city-tile .tile-photo picture img[src*="agents/cory-martin-studio"],
html body.home .grid .card-photo img[src*="agents/cory-martin-studio"],
html body.home .grid .card-photo picture img[src*="agents/cory-martin-studio"],
html body.page-list .grid .card-photo img[src*="agents/cory-martin-studio"],
html body.page-list .grid .card-photo picture img[src*="agents/cory-martin-studio"] {
  width: 86% !important;
  height: 86% !important;
  max-width: none !important;
  left: 7% !important;
  right: auto !important;
  bottom: auto !important;
  top: -2% !important;
  object-fit: contain !important;
  object-position: center top !important;
  transform: none !important;
  position: absolute !important;
}
