/**
 * Unity Gala People — elegant ID-card profile layout.
 * Applied only to public /gala-people/{person}/ detail pages.
 * The homepage cards and staff-facing registry are unaffected.
 */
.ugl-person-id-page {
  background: #070f1d;
  color: #f7f2e8;
}
.ugl-person-id-section {
  min-height: 630px;
  padding: clamp(30px, 4.2vw, 62px) 0 clamp(65px, 7vw, 110px);
  background:
    radial-gradient(ellipse at 88% 5%, rgba(104, 28, 43, .33), transparent 52%),
    radial-gradient(ellipse at 12% 85%, rgba(215, 180, 106, .075), transparent 48%),
    #07101f;
}
.ugl-person-id-shell {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}
.ugl-person-id-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  margin: 0 0 23px;
  color: #e7d3ab !important;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .025em;
  text-decoration: none !important;
  transition: color .18s ease;
}
.ugl-person-id-back span { font-size: 22px; line-height: 1; }
.ugl-person-id-back:hover,
.ugl-person-id-back:focus-visible { color: #fff !important; }
.ugl-person-id-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, .62);
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(126, 40, 54, .20), transparent 45%),
    linear-gradient(135deg, #101d31 0%, #0b182a 53%, #101d2d 100%);
  box-shadow: 0 32px 95px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .035);
  isolation: isolate;
}
.ugl-person-id-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .18;
  background:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 22px,
      rgba(241, 215, 154, .04) 23px,
      transparent 24px),
    radial-gradient(circle at 88% 40%, rgba(215, 180, 106, .13), transparent 38%);
}
.ugl-person-id-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e8cb88 24%, #e8cb88 74%, transparent);
}
.ugl-person-id-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 27px clamp(25px, 4.2vw, 52px) 23px;
  border-bottom: 1px solid rgba(215, 180, 106, .18);
}
.ugl-person-id-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.ugl-person-id-brand img {
  display: block;
  width: auto;
  height: 57px;
  max-width: 75px;
  object-fit: contain;
}
.ugl-person-id-brand-lines { display: grid; gap: 3px; }
.ugl-person-id-brand-lines strong {
  display: block;
  color: #f3deb1;
  font: 760 16px/1.25 var(--ugl-serif, Georgia, serif);
  letter-spacing: .115em;
}
.ugl-person-id-brand-lines span {
  display: block;
  color: #c3b69e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .20em;
}
.ugl-person-id-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 8px 13px;
  border: 1px solid rgba(215, 180, 106, .64);
  border-radius: 999px;
  background: rgba(215, 180, 106, .07);
  color: #f3d796;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.25;
}
.ugl-person-id-main {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5.5vw, 72px);
  padding: clamp(32px, 5.2vw, 67px) clamp(27px, 5.5vw, 67px);
}
.ugl-person-id-picture-side {
  min-width: 0;
  text-align: center;
}
.ugl-person-id-picture { margin: 0; }
.ugl-person-id-photo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 290px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border: 6px solid #d7b46a;
  border-radius: 50%;
  background: #182d40;
  box-shadow:
    0 0 0 8px rgba(215, 180, 106, .09),
    0 20px 52px rgba(0, 0, 0, .43);
}
.ugl-person-id-photo-frame img.ugl-person-id-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 56%;
  box-shadow: none;
}
.ugl-person-id-no-photo {
  color: #dfc589;
  font: 700 clamp(72px, 9vw, 112px)/1 var(--ugl-serif, Georgia, serif);
}
.ugl-person-id-picture figcaption {
  margin-top: 24px;
  color: #e2cb98;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
}
.ugl-person-id-information { min-width: 0; }
.ugl-person-id-eyebrow {
  display: inline-block;
  color: #e1bc70;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  line-height: 1.5;
}
.ugl-person-id-information h1 {
  color: #fff9ec;
  max-width: 100%;
  margin: 13px 0 18px;
  font: 700 clamp(2.5rem, 4.7vw, 4.8rem)/1.07 var(--ugl-serif, Georgia, serif);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.ugl-person-id-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid rgba(215, 180, 106, .38);
  border-radius: 999px;
  background: rgba(215, 180, 106, .105);
  color: #f2d69e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.ugl-person-id-role-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f2d69e;
  box-shadow: 0 0 0 3px rgba(242, 214, 158, .10);
}
/* A public artist/performer story replaces internal event fields. */
.ugl-person-id-about {
  position: relative;
  margin-top: 30px;
  padding: clamp(20px, 2.6vw, 29px) clamp(20px, 2.8vw, 32px);
  background: linear-gradient(125deg, rgba(215,180,106,.085), rgba(215,180,106,.022));
  border: 1px solid rgba(215,180,106,.26);
  border-left: 3px solid #d7b46a;
  border-radius: 13px;
}
.ugl-person-id-about-eyebrow {
  display: block;
  color: #e8c582;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 850;
  letter-spacing: .17em;
  margin-bottom: 9px;
}
.ugl-person-id-about h2 {
  color: #fff4d7;
  font: 700 clamp(1.4rem, 2.25vw, 1.85rem)/1.25 var(--ugl-serif, Georgia, serif);
  margin: 0 0 13px;
}
.ugl-person-id-about-copy {
  color: #e1e3e8;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.ugl-person-id-about-copy p { margin: 0 0 13px; }
.ugl-person-id-about-copy p:last-child { margin-bottom: 0; }
.ugl-person-id-about-copy a {
  color: #f3d797;
  text-underline-offset: 3px;
}
.ugl-person-id-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 19px clamp(25px, 4.2vw, 52px);
  border-top: 1px solid rgba(215, 180, 106, .22);
  background: rgba(215, 180, 106, .045);
}
.ugl-person-id-bottom > span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #bdb9af;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.55;
}
.ugl-person-id-spark { color: #e3bd70; font-size: 19px; }
.ugl-person-id-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 10px;
  color: #edd39b !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
}
.ugl-person-id-bottom a:hover,
.ugl-person-id-bottom a:focus-visible { color: #fff !important; }

/* Portrait and details remain side by side on tablets, with a smaller circle. */
@media (max-width: 900px) {
  .ugl-person-id-main { grid-template-columns: minmax(190px, 250px) minmax(0,1fr); gap: 25px; }
  .ugl-person-id-photo-frame { width: min(100%, 224px); }
  .ugl-person-id-information h1 { font-size: clamp(2.35rem, 5.3vw, 3.6rem); }
  .ugl-person-id-information-grid { gap: 17px 14px; }
}
@media (max-width: 650px) {
  .ugl-person-id-shell { width: calc(100% - 24px); }
  .ugl-person-id-card { border-radius: 17px; }
  .ugl-person-id-top { padding: 18px 17px; gap: 9px; }
  .ugl-person-id-brand { gap: 8px; }
  .ugl-person-id-brand img { height: 47px; width: auto; max-width: 54px; }
  .ugl-person-id-brand-lines strong { font-size: 13px; }
  .ugl-person-id-brand-lines span { font-size: 8px; letter-spacing: .13em; }
  .ugl-person-id-official { padding: 6px 9px; font-size: 9px; text-align: center; }
  .ugl-person-id-main {
    grid-template-columns: minmax(0,1fr);
    justify-items: center;
    gap: 26px;
    padding: 30px 23px 37px;
  }
  .ugl-person-id-picture-side { width: 100%; }
  .ugl-person-id-photo-frame { width: min(66vw, 244px); }
  .ugl-person-id-picture figcaption { margin-top: 18px; font-size: 9px; }
  .ugl-person-id-information { width: 100%; text-align: center; }
  .ugl-person-id-eyebrow { font-size: 10px; }
  .ugl-person-id-information h1 { font-size: clamp(2.55rem, 9.8vw, 3.9rem); margin: 10px 0 17px; }
  .ugl-person-id-information-grid { text-align: left; margin-top: 29px; }
  .ugl-person-id-bio { text-align: left; }
  .ugl-person-id-bottom { padding: 17px 20px; }
}
@media (max-width: 420px) {
  .ugl-person-id-information-grid { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .ugl-person-id-field-wide { grid-column: 1; }
  .ugl-person-id-main { padding-inline: 20px; }
  .ugl-person-id-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ugl-person-id-back { transition: none; }
}
