/* ==========================================================================
   StayAura Temple Proximity & Why Choose Us Block (#templeProximityBlock)
   ========================================================================== */

#templeProximityBlock.temple-proximity-wrapper,
#templeProximityBlock {
  width: 100% !important;
  max-width: 100% !important;
  margin: 35px 0 45px 0 !important;
  padding: 20px 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #faf7f2;
}

.temple-proximity-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .temple-proximity-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ==========================================================================
   Left Column: Temple Proximity Details
   ========================================================================== */
.temple-prox-left {
  flex: 1 1 30% !important;
  max-width: 32% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.temple-prox-subtitle {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #2c1a0e !important;
  margin-bottom: 4px !important;
  display: block !important;
  line-height: 1.3 !important;
}

.temple-prox-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 29px !important;
  font-weight: 700 !important;
  color: #2c1a0e !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.3px !important;
}

.temple-prox-desc {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #6a5749 !important;
  margin: 0 0 20px 0 !important;
}

.temple-prox-points {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.temple-point-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #3b281d !important;
  line-height: 1.3 !important;
}

.prox-point-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 2px 4px rgba(181, 116, 27, 0.25)) !important;
}

.temple-prox-btn-wrap {
  margin-top: 4px !important;
}

.temple-prox-btn {
  display: inline-block !important;
  background: linear-gradient(135deg, #c5862b 0%, #b5741b 60%, #9e6113 100%) !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 11px 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 18px rgba(181, 116, 27, 0.28) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: fit-content !important;
}

.temple-prox-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(181, 116, 27, 0.38) !important;
  background: linear-gradient(135deg, #d49337 0%, #c5862b 60%, #a96c1b 100%) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Center Column: Temple Portrait Photograph
   ========================================================================== */
.temple-prox-center {
  flex: 0 0 270px !important;
  max-width: 300px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.temple-image-card {
  width: 100% !important;
  height: 360px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 35px rgba(35, 18, 8, 0.12) !important;
  border: 1.5px solid #ebdccf !important;
  background: #ffffff !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.temple-image-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 42px rgba(35, 18, 8, 0.16) !important;
}

.temple-main-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ==========================================================================
   Right Column: Why Choose Us Features Grid
   ========================================================================== */
.temple-prox-right {
  flex: 1 1 38% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.temple-why-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #2c1a0e !important;
  margin: 0 0 16px 0 !important;
  text-align: left !important;
  letter-spacing: -0.2px !important;
}

.temple-features-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.temple-feature-card {
  background: #ffffff !important;
  border: 1.5px solid #ebdccf !important;
  border-radius: 14px !important;
  padding: 16px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 6px 18px rgba(35, 18, 8, 0.04) !important;
  transition: all 0.28s ease !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.temple-feature-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(35, 18, 8, 0.08) !important;
  border-color: #dfcebf !important;
}

.feature-icon-badge {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #fdf7f0 !important;
  border: 1px solid rgba(212, 154, 61, 0.22) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px !important;
  transition: transform 0.25s ease, background 0.25s ease !important;
}

.temple-feature-card:hover .feature-icon-badge {
  transform: scale(1.1) !important;
  background: #faeedf !important;
}

.feature-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

.feature-content-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.feature-card-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #2c1a0e !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.feature-card-subtitle {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #7c6858 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Medium Desktop (Bootstrap MD / 992px - 1199px) */
@media (max-width: 1199px) {
  .temple-proximity-inner {
    gap: 20px !important;
  }

  .temple-prox-left {
    flex: 1 1 32% !important;
    max-width: 34% !important;
  }

  .temple-prox-center {
    flex: 0 0 240px !important;
    max-width: 260px !important;
  }

  .temple-image-card {
    height: 330px !important;
  }

  .temple-prox-title {
    font-size: 26px !important;
  }

  .temple-why-title {
    font-size: 24px !important;
  }

  .feature-card-title {
    font-size: 12.5px !important;
  }

  .feature-card-subtitle {
    font-size: 10.5px !important;
  }
}

/* Tablets (<= 991px): 2 Column layout (Text + Photo side by side, Cards below) */
@media (max-width: 991px) {
  .temple-proximity-inner {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .temple-prox-left,
  .temple-prox-center,
  .temple-prox-right {
    max-width: 100% !important;
    width: 100% !important;
  }

  .temple-prox-center {
    order: 2 !important;
  }

  .temple-image-card {
    max-width: 420px !important;
    height: 320px !important;
    margin: 0 auto !important;
  }

  .temple-prox-right {
    order: 3 !important;
  }

  .temple-why-title {
    text-align: center !important;
  }

  .temple-features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px 12px !important;
  }
}

/* Mobile (<= 650px): Compact stacked layout */
@media (max-width: 650px) {

  #templeProximityBlock.temple-proximity-wrapper,
  #templeProximityBlock {
    margin: 25px 0 35px 0 !important;
  }

  .temple-prox-subtitle {
    font-size: 16px !important;
  }

  .temple-prox-title {
    font-size: 23px !important;
  }

  .temple-prox-desc {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  .temple-image-card {
    height: 270px !important;
  }

  .temple-why-title {
    font-size: 22px !important;
  }

  .temple-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 8px !important;
  }

  .temple-feature-card {
    padding: 12px 6px !important;
  }
}