/* NEXACORE V6.4.14 PROFESSIONAL LINKS */

.nexa-profiles{
  margin-top:16px;
  padding:16px;
  border:1px solid rgba(44,102,126,.34);
  border-radius:15px;
  background:
    linear-gradient(145deg,rgba(7,25,36,.90),rgba(7,18,28,.94));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018);
}

.nexa-profiles__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:11px;
}

.nexa-profiles__eyebrow{
  display:block;
  color:#6edff4;
  font:700 9px/1 "Oxanium","Space Grotesk","Segoe UI",sans-serif;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.nexa-profiles__title{
  margin:0;
  color:#eefbff;
  font:750 15px/1.25 "Oxanium","Space Grotesk","Segoe UI",sans-serif;
}

.nexa-profiles__hint{
  max-width:430px;
  color:#718c9b;
  font:500 10.5px/1.45 "Space Grotesk","Segoe UI",sans-serif;
  text-align:right;
}

.nexa-profiles__grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}

.nexa-profile-link{
  position:relative;
  min-width:0;
  min-height:52px;
  padding:8px 10px;
  border:1px solid rgba(37,86,107,.48);
  border-radius:11px;
  background:#071822;
  color:#dff8ff;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:9px;
  overflow:hidden;
  transition:border-color .18s ease,transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.nexa-profile-link::after{
  content:"↗";
  position:absolute;
  top:7px;
  right:8px;
  color:#456979;
  font-size:10px;
}

.nexa-profile-link:hover{
  transform:translateY(-1px);
  border-color:#2d7893;
  background:#09202c;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.nexa-profile-link__icon{
  width:31px;
  height:31px;
  flex:0 0 31px;
  display:grid;
  place-items:center;
  border-radius:9px;
  border:1px solid rgba(81,220,248,.18);
  background:rgba(43,204,234,.055);
  color:#7cecff;
  font:800 10px/1 "Oxanium","Segoe UI",sans-serif;
}

.nexa-profile-link[data-brand="malt"] .nexa-profile-link__icon{
  color:#ff7e78;
  border-color:rgba(255,126,120,.20);
  background:rgba(255,126,120,.055);
}

.nexa-profile-link[data-brand="contra"] .nexa-profile-link__icon{
  color:#eefaff;
  border-color:rgba(210,230,240,.18);
  background:rgba(210,230,240,.045);
}

.nexa-profile-link[data-brand="github"] .nexa-profile-link__icon{
  color:#e9edf2;
  border-color:rgba(220,226,232,.18);
  background:rgba(220,226,232,.045);
}

.nexa-profile-link[data-brand="linkedin"] .nexa-profile-link__icon{
  color:#6fc5ff;
  border-color:rgba(77,169,232,.20);
  background:rgba(77,169,232,.055);
}

.nexa-profile-link[data-brand="portfolio"] .nexa-profile-link__icon{
  color:#a98cff;
  border-color:rgba(169,140,255,.20);
  background:rgba(169,140,255,.055);
}

.nexa-profile-link__copy{
  min-width:0;
  display:block;
}

.nexa-profile-link__copy b{
  display:block;
  color:#eefaff;
  font:750 10.5px/1.2 "Oxanium","Space Grotesk","Segoe UI",sans-serif;
}

.nexa-profile-link__copy small{
  display:block;
  margin-top:3px;
  color:#688797;
  font:500 8.5px/1.25 "Space Grotesk","Segoe UI",sans-serif;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media(max-width:980px){
  .nexa-profiles__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:650px){
  .nexa-profiles__head{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  .nexa-profiles__hint{text-align:left;max-width:none}
  .nexa-profiles__grid{grid-template-columns:1fr 1fr}
}

@media(max-width:430px){
  .nexa-profiles__grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .nexa-profile-link{transition:none!important}
}

/* ===== V6.4.14.3 CLEAN PROFILE CARDS ===== */

/* Exactly 3 public freelance/dev platforms remain. */
.nexa-profiles__grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Real platform icon containers */
.nexa-profile-link__icon{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  padding:6px!important;
  background:#0a1c27!important;
  border:1px solid rgba(96,150,170,.22)!important;
  border-radius:10px!important;
}

.nexa-profile-link__icon img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
  border-radius:4px!important;
}

/* Malt */
.nexa-profile-link[data-brand="malt"] .nexa-profile-link__icon{
  background:rgba(252,86,86,.08)!important;
  border-color:rgba(252,86,86,.24)!important;
}

/* Contra */
.nexa-profile-link[data-brand="contra"] .nexa-profile-link__icon{
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.18)!important;
}

/* GitHub */
.nexa-profile-link[data-brand="github"] .nexa-profile-link__icon{
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.18)!important;
}

@media(max-width:720px){
  .nexa-profiles__grid{
    grid-template-columns:1fr!important;
  }
}

/* ===== END V6.4.14.3 ===== */

/* ===== V6.4.14.4 LOCAL PLATFORM LOGOS ===== */

.nexa-profile-link{
  min-height:58px!important;
  padding:10px 13px!important;
  gap:11px!important;
}

.nexa-profile-link__icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  padding:6px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}

.nexa-profile-link__icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}

.nexa-profile-link__copy{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
}

.nexa-profile-link__copy b{
  font-size:12px!important;
  line-height:1.2!important;
}

/* There is deliberately no generic "Profile" subtitle anymore. */
.nexa-profile-link__copy small{
  display:none!important;
}

/* Three platforms fit cleanly in the left ecosystem area. */
.nexa-eco-left-enhanced #nexaProfessionalProfiles .nexa-profiles__grid,
#nexaProfessionalProfiles .nexa-profiles__grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

@media(max-width:720px){
  .nexa-eco-left-enhanced #nexaProfessionalProfiles .nexa-profiles__grid,
  #nexaProfessionalProfiles .nexa-profiles__grid{
    grid-template-columns:1fr!important;
  }
}

/* ===== END V6.4.14.4 ===== */
