/* Hermes 2026-11-02 · Artist and label social profiles in reading order. */
body.firma .networks.social-directory {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(6px,2vw,26px);
  width:100%; margin-inline:auto; box-sizing:border-box;
}
body.firma .social-directory .network-group {margin:0;padding:0;border:0;min-width:0;display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:10px;}
body.firma .social-directory .network-group::before {content:none;}
body.firma .social-directory h3.profile-heading {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;margin:0;
  font-family:inherit;font-size:21px;font-weight:650;line-height:1.18;
  letter-spacing:normal;word-spacing:normal;
}
/* Apollo 2026-11-04: profile names keep natural spaces, independently of display headings. */
body.firma .social-directory .profile-heading .profile-name {
  display:block;max-width:100%;font-size:inherit;font-weight:inherit;line-height:1.3;
  letter-spacing:normal;word-spacing:normal;white-space:normal;word-break:normal;
  text-transform:none;
}
.profile-heading small {
  display:block;color:inherit;opacity:.72;font-size:10px;line-height:1.5;
  text-transform:uppercase;letter-spacing:.14em;margin-bottom:2px;
}
body.firma .social-directory .profile-avatar {display:block;flex:none;width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 35%;}
body.firma .social-directory [data-owner=sello] .profile-avatar {width:52px;height:52px;object-fit:contain;border-radius:0;}
/* Apollo 2026-11-05: display the official circular avatar without square canvas corners. */
body.firma .social-directory [data-owner=sello] .profile-avatar[src$="/MLF-avatar-oficial-800.png"] {border-radius:50%;}
/* Apollo 2026-11-07: original circular seal comparison belongs only to social credits. */
body.firma .social-directory [data-owner=sello] .profile-avatar[src$="MLF-sello-referencia-d61566711269.jpg"] {border-radius:50%;}
/* Apollo 2026-11-08: retain official avatar geometry and conceal only perimeter lettering. */
body.firma .social-directory [data-owner=sello] .profile-avatar[src$="MLF-avatar-oficial-sin-texto-800.svg"] {border-radius:50%;}
body.firma .social-directory [data-owner=sello] h3 {font-size:inherit;}
body.firma .social-directory .network-group .network-links {
  display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-content:start;
}
body.firma .social-directory a.network-link {
  display:flex;align-items:center;gap:11px;min-height:44px;box-sizing:border-box;
  width:100%;margin:0;padding:9px 4px;border:0;border-radius:0;
  border-bottom:1px solid currentColor;border-color:color-mix(in srgb,currentColor 16%,transparent);
  text-decoration:none;background:transparent;
}
body.firma .social-directory a.network-link .network-platform {
  display:block;font-size:13px;line-height:1.3;color:inherit;margin:0;
  letter-spacing:normal;word-spacing:normal;
}
body.firma .social-directory a.network-link .network-arrow {margin-left:auto;flex:none;}
body.firma .social-directory a.network-link:hover {background:color-mix(in srgb,currentColor 7%,transparent);}
body.firma .social-directory a.network-link:focus-visible {outline:2px solid currentColor;outline-offset:1px;}

/* Hermes 2026-11-02 · Three profiles share the heading row at phone widths. */
body.firma .social-directory .network-group h3.profile-heading {font-size:clamp(14px,2.3vw,21px);}
@media (max-width:600px) {
  body.firma .release-end {padding-inline:10px;}
  body.firma .social-directory .profile-avatar,
  body.firma .social-directory [data-owner=sello] .profile-avatar {width:38px;height:38px;}
  body.firma .social-directory a.network-link {font-size:12px;gap:4px;padding-inline:0;}
  body.firma .social-directory a.network-link .social-icon {width:14px;height:14px;}
  body.firma .social-directory a.network-link .network-platform {font-size:12px;}
  body.firma .social-directory a.network-link .network-arrow {display:none;}
}

/* Hermes 2026-11-02 · Visible heading shared by the three social profiles. */
.social-directory > #social-title {
  grid-column:1/-1; position:static; width:auto; height:auto; clip-path:none;
  overflow:visible; margin:0 0 6px; font-size:clamp(20px,2.2vw,26px);
  line-height:1.2; letter-spacing:-.035em;
}

/* Apollo 2026-11-02: full-bleed social band; profiles keep comfortable inner gutters. */
body.firma[data-edition=firma] .release-end {
  width:100%;margin:38px 0 0;padding:34px clamp(24px,6vw,96px) 16px;
  border-inline:0;border-radius:0;
}
body.firma .networks.social-directory {gap:24px clamp(24px,4vw,64px);}
body.firma .social-directory > #social-title {margin-bottom:4px;}
body.firma .social-directory a.network-link {min-height:48px;}
@media(max-width:600px) {
  body.firma[data-edition=firma] .release-end {padding:28px 20px 14px;}
  body.firma .networks.social-directory {column-gap:16px;}
}

/* Apollo 2026-11-05: two mobile profiles per row retain natural reading order as the roster grows. */
@media(max-width:819px) {
  body.firma .networks.social-directory {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:30px;}
  body.firma .social-directory .network-group h3.profile-heading {font-size:clamp(16px,4.2vw,18px);}
  body.firma .social-directory .profile-avatar,
  body.firma .social-directory [data-owner=sello] .profile-avatar {width:48px;height:48px;}
}

/* Apollo 2026-11-06: desktop directories with one or two profiles use the available width. */
@media(min-width:820px){
  body.firma .networks.social-directory[data-profile-count="1"]{grid-template-columns:minmax(0,1fr)}
  body.firma .networks.social-directory[data-profile-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
