/* ==========================================================================
   Models (CPT: model) — Premium Profile Layout
   File: /assets/css/models.css
   ========================================================================== */

/* Premium card system */
.model-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:22px;                  /* more breathing room */
  box-shadow:0 10px 30px rgba(15,23,42,.06);
  overflow:hidden;               /* clips inner tables to rounded corners */
}

/* Card headings */
.model-card h2,
.model-card h3{
  margin:0 0 10px 0;
  font-weight:700;
  letter-spacing:.02em;
}

/* Better spacing inside cards */
.model-card > *:last-child{ margin-bottom:0; }

/* Remove any table “blue”/tinted backgrounds inside cards */
.model-card .wp-block-table,
.model-card table,
.model-card tr,
.model-card th,
.model-card td{
  background:transparent !important;
}

/* Tables inside cards: clean “spec list” look */
.model-card table{
  width:100%;
  margin:6px 0 0 0;
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:0 !important;
  outline:0 !important;
}

/* Cell spacing + alignment */
.model-card th,
.model-card td{
  border:0 !important;
  padding:10px 12px !important;   /* THIS fixes the “text too close” issue */
  vertical-align:top;
}

/* Row separators (minimal, premium) */
.model-card tr + tr td,
.model-card tr + tr th{
  border-top:1px solid rgba(15,23,42,.08) !important;
}

/* Label/value styling */
.model-card td:first-child{
  color:rgba(15,23,42,.70);
  font-weight:600;
  width:46%;
  padding-right:18px !important;
  white-space:nowrap;
}
.model-card td:last-child{
  color:rgba(15,23,42,.95);
  font-weight:500;
  text-align:right;
  padding-left:18px !important;
  white-space:nowrap;
}

/* If Gutenberg "stripes" style is used, neutralize it */
.model-card .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.model-card .wp-block-table.is-style-stripes tbody tr:nth-child(even){
  background:transparent !important;
}

/* Premium image treatment (add class `model-profile-photo` to the Image block wrapper) */
.model-profile-photo img{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
}

/* Social icons (add class `model-social-icons` to the wrapper that contains the icons) */
.model-social-icons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 6px 16px rgba(15,23,42,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.model-social-icons a:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(15,23,42,.10);
}