/* =====================================================
   Profile Details – CARD GRID (Screenshot Style • FINAL)
   - Outer wrap background: #F1EBE4
   - Centered with max-width (like screenshot)
   - Desktop: 3 equal-height white cards
   - Mobile: stacked cards, natural height
   - Tables inside cards (white, no zebra, no hover)
   - Hard overrides for Hello Elementor / Elementor Pro
   ===================================================== */

/* ====== OUTER WRAP (beige background like screenshot) ====== */
.profile-details{
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;

  background: #F1EBE4 !important;
  border: 1px solid rgba(0,0,0,0.10) !important;

  /* Center + max width like screenshot */
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  /* Luxury spacing */
  padding: 15px !important;

  /* Card grid */
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: stretch !important;

  box-sizing: border-box !important;
}

/* ====== CARD (each section) ====== */
.profile-details .pd-section{
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  /* Luxury padding */
  padding: 26px 26px 20px !important;

  min-width: 0 !important;

  /* Ensure equal-height cards */
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;

  box-sizing: border-box !important;
}

/* ====== HEADING (center + thin divider) ====== */
.profile-details .pd-heading{
  margin: 0 0 16px !important;
  padding: 0 0 12px !important;

  text-align: center !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-size: 18px !important;
  color: #1b1b1b !important;

  border-bottom: 1px solid rgba(0,0,0,0.14) !important;
}

/* ====== TABLE RESET (no zebra, no hover, pure white) ====== */
.profile-details table.pd-table{
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;

  table-layout: fixed !important;
}

.profile-details table.pd-table tbody,
.profile-details table.pd-table tr,
.profile-details table.pd-table td,
.profile-details table.pd-table th{
  background: transparent !important;
  box-shadow: none !important;
}

/* Cells – clean + slightly airy like screenshot */
.profile-details table.pd-table td{
  padding: 11px 0 !important;
  border: 0 !important;

  vertical-align: top !important;
  font-size: 16px !important;
  line-height: 1.38 !important;
  color: #1b1b1b !important;

  word-break: break-word !important;
}

/* Optional subtle row separator (very light, screenshot-like) */
.profile-details table.pd-table tr + tr td{
  border-top: 1px solid rgba(0,0,0,0.07) !important;
}

/* Label/value */
.profile-details .pd-label{
  width: 42% !important;
  font-weight: 600 !important;
  padding-right: 14px !important;
}

.profile-details .pd-value{
  width: 58% !important;
  font-weight: 400 !important;
}

/* ====== ABSOLUTELY NO HOVER HIGHLIGHT ====== */
.profile-details table.pd-table tr:hover,
.profile-details table.pd-table tr:hover td,
.profile-details table.pd-table tr:focus,
.profile-details table.pd-table tr:focus td,
.profile-details table.pd-table tr:active,
.profile-details table.pd-table tr:active td{
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Kill zebra explicitly */
.profile-details table.pd-table tbody tr:nth-child(even),
.profile-details table.pd-table tbody tr:nth-child(odd){
  background: transparent !important;
}

/* ====== LARGE DESKTOP TUNING (more “luxury air”) ====== */
@media (min-width: 1400px){
  .profile-details{
    padding: 30px !important;
    gap: 34px !important;
  }
  .profile-details .pd-section{
    padding: 28px 28px 22px !important;
  }
}

/* ====== TABLET: still 3 columns but tighter ====== */
@media (max-width: 1024px){
  .profile-details{
    padding: 18px !important;
    gap: 18px !important;
    max-width: 100% !important; /* prevent overflow inside Elementor sections */
  }
}

/* ====== MOBILE: STACKED CARDS ====== */
@media (max-width: 767px){

  .profile-details{
    grid-template-columns: 1fr !important;
    padding: 18px !important;
    gap: 16px !important;

    max-width: 100% !important;
    margin-left: 0px !important;
    margin-right: 18px !important;
  }

  .profile-details .pd-section{
    padding: 18px 16px 14px !important;
  }

  .profile-details .pd-heading{
    font-size: 16px !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
  }

  .profile-details table.pd-table td{
    padding: 10px 0 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .profile-details .pd-label{
    width: 46% !important;
    padding-right: 12px !important;
  }

  .profile-details .pd-value{
    width: 54% !important;
  }
}


/* ====== SMALL MOBILE (≤420px) – Ultra small phones ====== */
@media (max-width: 420px){

  .profile-details{
    padding: 14px !important;
    gap: 14px !important;
    margin-left: 0px !important;
    margin-right: 18px !important;
  }

  .profile-details .pd-section{
    padding: 16px 14px 12px !important;
  }

  .profile-details table.pd-table td{
    font-size: 14.5px !important;
    line-height: 1.32 !important;
  }

}