/* ADPL /projects project-card matching theme — isolated to the listing only.
   Matches the approved Featured Properties cards; no shared stylesheet overwrite. */
#adpl-projects-v2 {
  background: #f5f8fa;
  padding-top: 72px;
  padding-bottom: 98px;
  color: #112b42;
}
#adpl-projects-v2 .adpl-listing-filter {
  border: 1px solid #e4eaef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15, 42, 61, .055);
  padding: 22px;
  margin: -103px 0 30px;
  gap: 16px;
}
#adpl-projects-v2 .adpl-listing-filter .filter-field { min-width: 0; }
#adpl-projects-v2 .adpl-listing-filter .filter-field > span {
  color: #ab824b; font-weight: 800; font-size: 10px; letter-spacing: .095em;
}
#adpl-projects-v2 .adpl-listing-filter input,
#adpl-projects-v2 .adpl-listing-filter select {
  border: 1px solid #e0e8ed;
  border-radius: 10px;
  min-height: 52px;
  padding: 0 15px;
  color: #18334b;
  background: #fff;
  outline-offset: 2px;
}
#adpl-projects-v2 .adpl-listing-filter input:focus,
#adpl-projects-v2 .adpl-listing-filter select:focus {
  border-color: #bc975e; outline: 2px solid rgba(188,151,94,.18);
}
#adpl-projects-v2 .adpl-listing-filter .btn-search {
  border: 0; border-radius: 10px; padding: 0 25px;
  background: #112b42; color: #fff;
  min-height: 52px; font-weight: 800; display: inline-flex;
  align-items: center; justify-content: center; gap: 12px;
}
#adpl-projects-v2 .adpl-listing-filter .btn-search:hover { background: #1e415b; }
#adpl-projects-v2 .adpl-listing-results {margin: 0 0 27px; align-items: center;}
#adpl-projects-v2 .adpl-listing-results p {color: #71818f; font-size: 13px;}
#adpl-projects-v2 .adpl-listing-results strong {color: #18384f;}
#adpl-projects-v2 .adpl-listing-results a {color: #a77c44; font-weight: 800;}
#adpl-projects-v2 .adpl-listing-grid {
  margin-inline: auto;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
#adpl-projects-v2 .adpl-listing-grid--count-1 {grid-template-columns: minmax(0,390px);}
#adpl-projects-v2 .adpl-listing-grid--count-2 {grid-template-columns: repeat(2,minmax(0,390px));}
#adpl-projects-v2 .adpl-listing-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5ecf0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(13,38,58,.03), 0 12px 26px rgba(13,38,58,.09);
  transition: transform .22s ease, box-shadow .22s ease;
}
#adpl-projects-v2 .adpl-listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 38px rgba(13,38,58,.16);
}
#adpl-projects-v2 .adpl-listing-image {
  display: block;
  aspect-ratio: 1.58;
  position: relative;
  overflow: hidden;
  background: #e7edf2;
  flex: 0 0 auto;
}
#adpl-projects-v2 .adpl-listing-image img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .4s ease;
}
#adpl-projects-v2 .adpl-listing-card:hover .adpl-listing-image img {transform:scale(1.04);}
#adpl-projects-v2 .adpl-listing-badge {
  position: absolute; top: 14px; left: 14px;
  max-width: calc(100% - 28px);
  display: inline-flex; border-radius: 999px; padding: 7px 12px;
  background: rgba(255,255,255,.97); color: #17364e;
  box-shadow: 0 4px 15px rgba(17,39,58,.16);
  font-size: 11px; font-weight: 800; line-height: 1.25;
}
#adpl-projects-v2 .adpl-listing-body {
  display: flex; flex: 1 1 auto; flex-direction: column;
  min-width: 0; padding: 20px 21px 17px;
}
#adpl-projects-v2 .adpl-listing-category {
  color: #ba8c4f; font-size: 10px; font-weight: 900;
  letter-spacing: 1.25px; line-height: 1.5;
  text-transform: uppercase;
}
#adpl-projects-v2 .adpl-listing-body h2 {
  margin: 8px 0 8px;
  color: #112b42;
  font-size: clamp(19px,1.7vw,23px);
  font-family: inherit;
  font-weight: 850;
  letter-spacing: -.4px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
#adpl-projects-v2 .adpl-listing-body h2 a {color:inherit;text-decoration:none;}
#adpl-projects-v2 .adpl-listing-body h2 a:hover {color: #b98c54;}
#adpl-projects-v2 .adpl-listing-location {
  color: #697b89; font-size: 13px; line-height: 1.65;
  margin: 0 0 19px; overflow-wrap: anywhere;
}
#adpl-projects-v2 .adpl-listing-location > span {color:#c2965e;font-size:16px;}
#adpl-projects-v2 .adpl-listing-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; border-top: 1px solid #e9eef2;
  padding-top: 13px; margin-top: auto; min-height: 57px;
}
#adpl-projects-v2 .adpl-listing-area {
  min-width: 0; display: flex; flex-direction: column; gap: 3px;
}
#adpl-projects-v2 .adpl-listing-area small {
  font-size: 9px; font-weight: 800; letter-spacing: .7px;
  color: #81929d;
}
#adpl-projects-v2 .adpl-listing-area strong {
  color: #122b43; font-size: 13px; font-weight: 800;
  line-height: 1.35; overflow-wrap: anywhere;
}
#adpl-projects-v2 .adpl-listing-view {
  display: inline-flex; flex: 0 0 auto; align-items: center;
  gap: 8px; min-height: 42px; color: #16334a;
  font-size: 11px; font-weight: 800; text-decoration: none;
}
#adpl-projects-v2 .adpl-listing-view:hover {color:#b98c54;}
#adpl-projects-v2 .adpl-listing-arrow {
  display: inline-grid; place-items: center;
  width: 39px; height: 39px; border: 1px solid #e0e9ef;
  border-radius: 50%; background: #f5f8fa;
  font-size: 19px; font-weight: 400;
  transition: background .22s, color .22s;
}
#adpl-projects-v2 .adpl-listing-view:hover .adpl-listing-arrow {background: #122b43; color:#fff;}
#adpl-projects-v2 .adpl-listing-pagination a {border-radius: 12px; background: #fff;}
#adpl-projects-v2 .adpl-listing-pagination a.current {background: #112b42; color: #fff;}
#adpl-projects-v2 .adpl-listing-empty {border-radius: 18px;}
@media (max-width: 900px) {
  #adpl-projects-v2 .adpl-listing-grid,
  #adpl-projects-v2 .adpl-listing-grid--count-2 {grid-template-columns:repeat(2,minmax(0,1fr));}
  #adpl-projects-v2 .adpl-listing-grid--count-1 {grid-template-columns:minmax(0,390px);}
  #adpl-projects-v2 .adpl-listing-filter {margin-top:-100px;}
}
@media (max-width: 650px) {
  #adpl-projects-v2 {padding-top: 56px; padding-bottom: 70px;}
  #adpl-projects-v2 .adpl-listing-grid,
  #adpl-projects-v2 .adpl-listing-grid--count-1,
  #adpl-projects-v2 .adpl-listing-grid--count-2 {grid-template-columns:minmax(0,1fr);gap:18px;}
  #adpl-projects-v2 .adpl-listing-filter {padding:18px; margin-top:-89px; border-radius: 16px;}
  #adpl-projects-v2 .adpl-listing-image {aspect-ratio: 1.55;}
  #adpl-projects-v2 .adpl-listing-body {padding:18px 18px 15px;}
  #adpl-projects-v2 .adpl-listing-view > span:first-child {font-size:10px;}
}
@media (max-width:360px) {
  #adpl-projects-v2 .adpl-listing-view > span:first-child {display:none;}
}
@media (prefers-reduced-motion:reduce) {
  #adpl-projects-v2 .adpl-listing-card,
  #adpl-projects-v2 .adpl-listing-image img,
  #adpl-projects-v2 .adpl-listing-arrow {transition:none;}
}
