/* DEYNU R99 - scope the correction to social cards on property details. */
.property-detail-page #property-social-content.dn99-property-social{
  box-sizing:border-box; width:100%; max-width:100%; min-width:0;
  padding:19px; margin:22px 0; overflow:hidden;
  border:1px solid #e0e8e2; border-radius:20px;
  background:#fff; box-shadow:0 7px 24px rgba(18,55,40,.035);
}
.property-detail-page #property-social-content .dn99-social-heading{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  margin-bottom:16px; flex-wrap:wrap;
}
.property-detail-page #property-social-content .dn99-social-heading>div{min-width:0;flex:1}
.property-detail-page #property-social-content .dn99-social-heading h2{font-size:19px;line-height:1.65;margin:4px 0!important;color:#204b39}
.property-detail-page #property-social-content .dn99-social-heading p{margin:4px 0 0;color:#78847e;font-size:12px;line-height:1.7}
.property-detail-page #property-social-content .dn99-social-heading>a{
  flex:0 0 auto;color:#20694f;font-size:12px;font-weight:750;
  white-space:nowrap;text-decoration:none;
}
.property-detail-page #property-social-content .dn99-social-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px!important;width:100%;min-width:0;justify-content:stretch;
}
.property-detail-page #property-social-content .dn99-social-tile,
.property-detail-page #property-social-content .dn99-social-tile.is-reel{
  display:flex!important;flex-direction:column;width:100%!important;
  min-width:0;min-height:0;height:auto!important;aspect-ratio:auto!important;
  padding:0;margin:0;border-radius:15px!important;overflow:hidden!important;
  background:#fff;color:#203c31;border:1px solid #e1e8e2;
  text-decoration:none;box-shadow:0 4px 14px rgba(16,61,44,.06);
  transition:box-shadow .2s,border-color .2s,transform .2s;
}
.property-detail-page #property-social-content .dn99-social-tile:hover,
.property-detail-page #property-social-content .dn99-social-tile:focus-visible{
  transform:translateY(-2px);border-color:#b1d5c1;
  box-shadow:0 10px 25px rgba(16,61,44,.1);text-decoration:none;
}
.property-detail-page #property-social-content .dn99-social-media{
  display:block;position:relative;flex:0 0 auto;width:100%;
  aspect-ratio:16/10;overflow:hidden;background:#e8efea;
}
.property-detail-page #property-social-content .dn99-social-media.dn99-is-reel{
  background:linear-gradient(135deg,#173e33,#285b49);
}
.property-detail-page #property-social-content .dn99-social-media picture,
.property-detail-page #property-social-content .dn99-social-media img,
.property-detail-page #property-social-content .dn99-social-media video{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:cover!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
}
.property-detail-page #property-social-content .dn99-social-media video{object-fit:contain!important}
.property-detail-page #property-social-content .dn99-play-icon{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:48px;height:48px;padding-inline-start:3px;
  color:#fff;border-radius:50%;background:rgba(6,30,23,.64);
  border:1px solid rgba(255,255,255,.5);font-size:18px;
  pointer-events:none;box-shadow:0 4px 18px rgba(0,0,0,.2);
}
.property-detail-page #property-social-content .dn99-text-cover{
  height:100%;width:100%;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:8px;color:#287357;font-size:36px;
  background:linear-gradient(140deg,#e8f4ed,#f9f5eb);
}
.property-detail-page #property-social-content .dn99-text-cover small{
  color:#53725e;font-size:12px;font-weight:750;
}
.property-detail-page #property-social-content .dn99-missing-media{
  display:none;position:absolute;inset:0;z-index:1;flex-direction:column;
  align-items:center;justify-content:center;gap:8px;background:#edf5ef;
  color:#286d50;font-size:29px;
}
.property-detail-page #property-social-content .dn99-missing-media small{font-size:12px}
.property-detail-page #property-social-content .dn99-social-media.dn99-media-error .dn99-missing-media{display:flex}
.property-detail-page #property-social-content .dn99-social-media.dn99-media-error video,
.property-detail-page #property-social-content .dn99-social-media.dn99-media-error picture,
.property-detail-page #property-social-content .dn99-social-media.dn99-media-error .dn99-play-icon{display:none!important}
.property-detail-page #property-social-content .dn99-social-badge{
  position:absolute;top:10px;right:10px;z-index:3;min-width:36px;
  padding:4px 9px;border-radius:30px;color:white;background:#174c3c;
  font-size:11px;font-weight:700;line-height:1.5;direction:ltr;text-align:center;
}
.property-detail-page #property-social-content .dn99-social-info{
  display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;
  padding:12px 14px 13px;color:#254437;background:#fff;
}
.property-detail-page #property-social-content .dn99-social-info>strong{
  display:block;font-size:14px;font-weight:800;line-height:1.65;min-width:0;
}
.property-detail-page #property-social-content .dn99-social-description{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  line-clamp:2;overflow:hidden;overflow-wrap:anywhere;word-break:normal;
  font-size:12px;line-height:1.85;color:#6a776f;max-height:3.7em;
}
.property-detail-page #property-social-content .dn99-social-open{
  display:block;margin-top:auto;padding-top:5px;color:#267253;
  font-size:12px;font-weight:800;
}
@media(max-width:720px){
 .property-detail-page #property-social-content.dn99-property-social{padding:12px!important;border-radius:17px!important}
 .property-detail-page #property-social-content .dn99-social-grid{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;
 }
 .property-detail-page #property-social-content .dn99-social-tile,
 .property-detail-page #property-social-content .dn99-social-tile.is-reel{
   aspect-ratio:auto!important;height:auto!important;border-radius:12px!important;
 }
 .property-detail-page #property-social-content .dn99-social-media{aspect-ratio:1/1}
 .property-detail-page #property-social-content .dn99-social-info{padding:9px 10px}
 .property-detail-page #property-social-content .dn99-social-info>strong{font-size:12px}
 .property-detail-page #property-social-content .dn99-social-description{font-size:11px}
 .property-detail-page #property-social-content .dn99-social-heading h2{font-size:16px!important}
}
@media(max-width:350px){
 .property-detail-page #property-social-content .dn99-social-grid{grid-template-columns:1fr!important}
 .property-detail-page #property-social-content .dn99-social-media{aspect-ratio:16/10}
}
@media(prefers-reduced-motion:reduce){
 .property-detail-page #property-social-content .dn99-social-tile{transition:none}
}
