/* ==========================================================================
   PUJARI PARAMPARA (PRIEST TRADITION) CARD COMPONENT
   ========================================================================== */
.priests-section {
  padding: 60px 0;
  position: relative;
}

.priest-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.priest-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 520px;
  background: #140906;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(217, 56, 30, 0.15);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.priest-card:hover {
  transform: translateY(-10px);
  border-color: #F59E0B;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.75), 0 0 40px rgba(212, 175, 55, 0.35);
}

.priest-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.priest-card:hover .priest-card-image {
  transform: scale(1.06);
}

.priest-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.12) 35%,
    rgba(14, 6, 4, 0.78) 65%,
    rgba(8, 3, 2, 0.98) 100%
  );
  pointer-events: none;
}

.priest-card-info {
  position: relative;
  z-index: 3;
  padding: 32px 30px;
}

.priest-card-name {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  line-height: 1.25;
}

.priest-card-designation {
  font-size: 1.05rem;
  color: #FDE047;
  font-weight: 600;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.priest-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sacred Priest Blessing & Guidance Box (100% High Contrast & Readable) */
.priest-blessing-container {
  max-width: 960px;
  margin: 36px auto 0 auto;
  padding: 28px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1C0A04 0%, #2A1007 50%, #180803 100%);
  border: 2px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.priest-blessing-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #EA580C 0%, #F59E0B 50%, #DC2626 100%);
}

.priest-blessing-title {
  color: #FDE047 !important;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: var(--font-hindi-heading);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.priest-blessing-quote {
  color: #FFFFFF !important;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  border-left: 3px solid #D97706;
  padding-left: 14px;
}

.priest-blessing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blessing-phone-btn {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  padding: 12px 24px !important;
  white-space: nowrap;
}

.btn-whatsapp-direct {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn-whatsapp-direct:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

@media (max-width: 768px) {
  .priest-grid-container {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 24px;
  }
  .priest-card {
    height: 440px;
  }
  .priest-card-info {
    padding: 24px 22px;
  }
  .priest-card-name {
    font-size: 1.55rem;
  }
  .priest-blessing-container {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .priest-blessing-quote {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #D97706;
    padding-top: 10px;
  }
  .priest-blessing-actions {
    justify-content: center;
    width: 100%;
  }
}
