.lgpb-wrap {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 12px 0 42px;
  color: #111;
}

.lgpb-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 24px;
}

.lgpb-language-toggle {
  flex: 0 0 auto;
  --stroke: 1.45;
}

.lgpb-language-toggle.tb-btn {
  --btn-size: 46px;
  --icon-size: 22px;
  --icon-inset: 24.5%;
  --btn-border-width: 1px;
  --btn-radius: 14px;
  color: #111;
  background: #fff;
  border-color: #1a1a1a;
  box-shadow: none;
}

.lgpb-language-toggle.tb-btn:hover,
.lgpb-language-toggle.tb-btn:focus-visible {
  transform: none;
  background: #f5f5f5;
  box-shadow: none;
}

.lgpb-language-toggle.tb-btn:active {
  transform: none;
  background: #efefef;
  box-shadow: none;
}

.lgpb-language-fallback {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

[data-lgpb-lang][hidden] {
  display: none !important;
}

.lgpb-section-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 1.55rem;
  padding: 0 0 .7rem;
  border-bottom: 1px solid #171717;
  color: #171717;
  font-size: .80rem;
  line-height: 1.22;
  font-weight: 780;
  letter-spacing: .145em;
  text-transform: uppercase;
}

.lgpb-section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: #F6A400;
}

.lgpb-section-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
}

.lgpb-section-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lgpb-biography {
  margin: 0;
}

.lgpb-copy {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.58;
}

.lgpb-copy p {
  margin: 0 0 24px;
}

.lgpb-copy p:last-child {
  margin-bottom: 0;
}

.lgpb-profile-card {
  max-width: 800px;
  margin-top: 34px;
  padding: 20px 22px;
  box-sizing: border-box;
  border: 1px solid #d5d8dc;
  border-radius: 12px;
  background: #fff;
}

.lgpb-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lgpb-portrait {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
}

.lgpb-profile-identity {
  display: grid;
  gap: 2px;
}

.lgpb-name {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 750;
}

.lgpb-role,
.lgpb-location {
  font-size: 13.5px;
  line-height: 1.35;
  color: #5b6065;
}

.lgpb-statement {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.lgpb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 800px;
  margin-top: 18px;
  margin-left: 0;
  margin-right: auto;
  justify-content: flex-start;
  text-align: left;
}

.lgpb-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #000;
  border-radius: 14px;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .025em;
}

.lgpb-link-button:hover,
.lgpb-link-button:focus-visible {
  background: #222;
  border-color: #222;
  color: #fff !important;
}

.lgpb-link-button:focus-visible,
.lgpb-language-fallback:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .lgpb-wrap {
    width: min(100% - 24px, 860px);
    padding-top: 10px;
  }

  .lgpb-toolbar {
    margin-bottom: 20px;
  }

  .lgpb-language-toggle.tb-btn {
    --btn-size: 42px;
    --icon-size: 20px;
  }

  .lgpb-language-fallback {
    width: 42px;
    height: 42px;
  }

  .lgpb-copy {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .lgpb-copy p {
    margin-bottom: 20px;
  }

  .lgpb-profile-card {
    margin-top: 28px;
    padding: 18px;
  }

  .lgpb-link-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }
}

.lgpb-discography-music-section {
  width: 100%;
  margin: 28px 0 18px;
}

.lgpb-discography-music-section .lgpb-section-heading {
  margin-bottom: 1.55rem;
}

.lgpb-music-platform-links {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  text-align: left;
}

/* Discography uses the shared MDB/Core public language state. Portuguese is
   the safe no-JS default; the active shared language switches the heading. */
.lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="en"] {
  display: none;
}

html[data-lg-public-language="en"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="pt"],
html[data-mdt-language="en"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="pt"] {
  display: none !important;
}

html[data-lg-public-language="en"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="en"],
html[data-mdt-language="en"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="en"] {
  display: inline !important;
}

html[data-lg-public-language="pt"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="pt"],
html[data-mdt-language="pt"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="pt"] {
  display: inline !important;
}

html[data-lg-public-language="pt"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="en"],
html[data-mdt-language="pt"] .lgpb-discography-music-section .lgpb-shared-label[data-lgpb-lang="en"] {
  display: none !important;
}



.lgpb-context-profile-section {
  width: 100%;
  margin: 18px 0 30px;
}

.lgpb-context-profile-links {
  margin-top: 0;
}

/* 1.3.4 — Profile-owned public button groups keep the established
 * desktop flex/wrap layout, but mobile (≤782px) uses one full-width button per row. */
@media (max-width: 782px) {
  .lgpb-links {
    width: 100%;
    max-width: none;
    gap: .45rem;
  }

  .lgpb-link-button {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}


/* 1.3.4 — Works receives Publishers only, appended at the end of the page.
 * Desktop keeps the established wrapping button layout; the shared <=782px
 * rule above guarantees one full-width publisher button per row on mobile. */
.lgpb-context-profile-section-works {
  width: 100%;
  margin: 34px 0 0;
}

.lgpb-publisher-links {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  text-align: left;
}
