/* ========== Property Purchasing (Light) ========== */
.property-purchasing-page {
  max-width: 1440px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #333;
}

.pp-title {
  color: #a51c36;
  font-weight: 800;
  letter-spacing: -.2px;
}

.pp-h2 {
  color: #a51c36;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 .6rem;
}

.pp-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px;
  padding: 16px 16px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  margin-bottom: 1rem;
}

.buying-header .pp-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: .6rem;
}

.header-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Actions */
.pp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pp-note {
  color: #666;
  font-size: .9rem;
}

/* Buttons – brand */
.btn-primary,
.btn-primary-mortgage {
  background: #a51c36 !important;
  border-color: #a51c36 !important;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  padding: .65rem 1rem;
  box-shadow: 0 3px 12px rgba(200, 30, 89, .25);
}

.btn-primary-mortgage {

  padding: .65rem 1.34rem;
}

.btn-primary:hover {
  background: #a51a49 !important;
  border-color: #a51a49 !important;
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: #fff !important;
  color: #a51c36 !important;
  border: 2px solid #a51c36 !important;
  border-radius: 10px;
  font-weight: 700;
  padding: .6rem .95rem;
}

.btn-outline-primary:hover {
  background: #ffe8ef !important;
}

/* Links */
.help-to-buy-link {
  color: #a51c36;
  font-weight: 700;
  text-decoration: underline;
}

.help-to-buy-link:hover {
  color: #a51a49;
}

/* Social block */
.social-media-section {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.social-media-container {
  position: relative;
}

.social-bg-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.social-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  flex-direction: column;
  color: white;
}

.social-icons-container {
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #a51c36;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .15s;
}


.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

/* Social media brand colors on hover */
.social-icon.facebook {
  background-color: #3b5998 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(59, 89, 152, 0.4) !important;
}

.social-icon.twitter {
  background-color: rgb(34, 34, 34) !important;
  color: #fff !important;
  box-shadow: 0 1px 1px rgba(241, 239, 239, 0.7) !important;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80) !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(225, 48, 108, 0.4) !important;
}

.social-icon.linkedin {
  background-color: #0077B5 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(0, 119, 181, 0.4) !important;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.social-icon.facebook:hover {
  background-color: #3b5998 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(59, 89, 152, 0.4) !important;
}

.social-icon.twitter:hover {
  background-color: rgb(34, 34, 34) !important;
  color: #fff !important;
  box-shadow: 0 3px 3px rgba(241, 239, 239, 0.7) !important;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80) !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(225, 48, 108, 0.4) !important;
}

.social-icon.linkedin:hover {
  background-color: #0077B5 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(0, 119, 181, 0.4) !important;
}



/* Ads */
.sidebar-ads {
  position: sticky;
  top: 18px;
}

.ad-spot {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: transform .15s, box-shadow .15s;
}

.ad-spot+.ad-spot {
  margin-top: 16px;
}

.ad-spot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.ad-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Spacing between cards */
.property-purchasing-page .pp-card+.pp-card {
  margin-top: 14px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .sidebar-ads {
    position: static;
    margin-top: 8px;
  }

  .social-icon i {
    font-size: 1.1rem;
    line-height: 1;
  }

  .advertisers-sidebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }


}


.advertisers-sidebar {
  position: sticky;
  top: 20px;
}

.advertisers-sidebar h3 {
  color: #a51c36;
  margin-bottom: 1.5rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #a51c36;
  position: relative;
  text-align: center;
}

.sidebar-widget {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.sidebar-widget:hover {
  transform: translateY(-5px);
}

.ad-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.ad-card:hover {
  transform: translateY(-5px);
}


.responsive-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.responsive-image-container img {
  transition: transform 0.3s ease;
}

.responsive-image-container:hover img {
  transform: scale(1.02);
}