/* Profilo pubblico — layout Behance (copertina + rail + canvas) */

body.profile-public-page {
  background: #f4f4f5;
}

body.profile-public-page main.profile-public-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  min-height: 0;
}

body.profile-public-page .container {
  min-height: 0;
  margin: 0;
  width: 100%;
  max-width: none;
}

.profile-public-shell {
  width: 100%;
  margin: 0;
  background: #fff;
}

/* —— Copertina —— */
.profile-public-cover-wrap {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

/* Durante riposizionamento: wrap sopra avatar; barra Annulla/Salva in alto sul wrap */
body.profile-cover-repositioning .profile-public-cover-wrap {
  z-index: 80;
  isolation: auto;
}
body.profile-cover-repositioning .profile-public-rail__avatar-row {
  z-index: 1;
  pointer-events: none;
}
body.profile-cover-repositioning .profile-public-studio {
  z-index: 0;
}

.profile-public-cover-flash {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  width: min(640px, calc(100% - 24px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.profile-public-cover-flash__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
}

.profile-public-cover-flash__item--success {
  background: rgba(212, 237, 218, 0.96);
  color: #155724;
  border: 1px solid rgba(195, 230, 203, 0.95);
}

.profile-public-cover-flash__item--error {
  background: rgba(248, 215, 218, 0.96);
  color: #721c24;
  border: 1px solid rgba(245, 198, 203, 0.95);
}

.profile-public-cover-flash__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  cursor: pointer;
}

.profile-public-onboarding {
  --section-pad-x: 24px;
  --onboarding-accent: rgb(0 29 255);
  position: relative;
  padding: 28px var(--section-pad-x) 24px;
  border-bottom: 1px solid #e4e4e7;
  background: linear-gradient(
    165deg,
    rgb(0 29 255 / 16%) 0%,
    rgb(0 29 255 / 6%) 42%,
    #fff 100%
  );
}

.profile-public-onboarding__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-public-onboarding__head-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.profile-public-onboarding__desc {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #52525b;
  text-align: left;
}

.profile-public-onboarding__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-public-onboarding__progress-track {
  flex: 1;
  min-width: 0;
  height: 6px;
  background: #e4e4e7;
  border-radius: 999px;
  overflow: hidden;
}

.profile-public-onboarding__progress-fill {
  height: 100%;
  background: var(--onboarding-accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.profile-public-onboarding--org .profile-public-onboarding__progress-fill {
  background: #0f766e;
}

.profile-public-onboarding__progress-label {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #52525b;
}

.profile-public-onboarding__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  margin: 0 calc(-1 * var(--section-pad-x));
  padding: 0 var(--section-pad-x) 2px;
  scrollbar-width: thin;
}

.profile-public-onboarding__scroller::-webkit-scrollbar {
  height: 6px;
}

.profile-public-onboarding__scroller::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 999px;
}

.profile-public-onboarding__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 100%;
}

.profile-public-onboarding__step-item {
  flex: 0 0 220px;
  list-style: none;
}

.profile-public-onboarding__step {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 132px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.profile-public-onboarding__step:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.profile-public-onboarding__step.is-home-cta {
  border-color: rgba(0, 102, 204, 0.35);
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}

.profile-public-onboarding__footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.profile-public-onboarding__home-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: #0066cc;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.profile-public-onboarding__home-btn:hover {
  background: #0055aa;
}

.profile-public-onboarding__home-btn:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.profile-public-onboarding__step:focus-visible {
  outline: 2px solid var(--onboarding-accent);
  outline-offset: 2px;
}

.profile-public-onboarding__step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.profile-public-onboarding__check {
  width: 22px;
  height: 22px;
  border: 2px solid #d4d4d8;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: #fff;
}

.profile-public-onboarding__step.is-done .profile-public-onboarding__check {
  border-color: var(--onboarding-accent);
  background: var(--onboarding-accent);
}

.profile-public-onboarding--org .profile-public-onboarding__step.is-done .profile-public-onboarding__check {
  border-color: #0f766e;
  background: #0f766e;
}

.profile-public-onboarding__step-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #09090b;
  line-height: 1.3;
}

.profile-public-onboarding__step-hint {
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #71717a;
}

.profile-public-onboarding__step-done-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--onboarding-accent);
}

.profile-public-onboarding--org .profile-public-onboarding__step-done-label {
  color: #0f766e;
}

.profile-public-onboarding__dismiss {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: #fff;
  color: #71717a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.profile-public-onboarding__dismiss:hover {
  background: #f4f4f5;
  color: #09090b;
}

.profile-canvas-section.is-onboarding-highlight {
  outline: 2px solid rgba(24, 24, 27, 0.22);
  outline-offset: 0;
}

.profile-activity-community-btn {
  white-space: nowrap;
}

.profile-public-cover {
  height: 180px;
  background: #f8fafc center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.profile-public-cover--placeholder {
  background: #f8fafc;
}

.profile-public-cover__placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.profile-public-cover--placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(100% 140% at 20% 120%, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 62%),
    radial-gradient(120% 120% at 110% 110%, rgba(235, 125, 255, 0.16) 0%, rgba(235, 125, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.profile-public-cover--org.profile-public-cover--placeholder::before {
  background:
    radial-gradient(120% 140% at 20% 120%, rgba(15, 118, 110, 0.24) 0%, rgba(15, 118, 110, 0) 62%),
    radial-gradient(120% 120% at 110% 110%, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.profile-public-cover:not(.profile-public-cover--has-image):not(.profile-public-cover--placeholder) {
  background:
    radial-gradient(100% 140% at 20% 120%, rgba(37, 99, 235, 0.26) 0%, rgba(37, 99, 235, 0) 62%),
    radial-gradient(120% 120% at 110% 110%, rgba(235, 125, 255, 0.2) 0%, rgba(235, 125, 255, 0) 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.02) 0%, rgba(2, 6, 23, 0) 100%),
    #f8fafc;
}

.profile-public-cover--org:not(.profile-public-cover--has-image):not(.profile-public-cover--placeholder) {
  background:
    radial-gradient(120% 140% at 20% 120%, rgba(15, 118, 110, 0.3) 0%, rgba(15, 118, 110, 0) 62%),
    radial-gradient(120% 120% at 110% 110%, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.02) 0%, rgba(2, 6, 23, 0) 100%),
    #f8fafc;
}

.profile-public-cover__blobs.animated-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  animation: none;
  background: transparent;
}

.profile-public-cover__blobs.animated-background::before {
  width: 280px;
  height: 280px;
  top: 70%;
  left: 8%;
  filter: blur(90px);
}

.profile-public-cover__blobs.animated-background::after {
  width: 220px;
  height: 220px;
  top: 65%;
  right: 8%;
  filter: blur(90px);
}

.profile-public-cover__blobs.animated-background .blob-yellow {
  display: none !important;
}

.profile-public-cover--viewable {
  cursor: zoom-in;
}

.profile-public-cover--repositioning {
  cursor: grab;
  touch-action: none;
}

.profile-public-cover--repositioning:active {
  cursor: grabbing;
}

.profile-public-cover--repositioning.profile-public-cover--viewable {
  cursor: grab;
}

.profile-public-cover--viewable .profile-public-cover__actions,
.profile-public-cover--repositioning .profile-public-cover__actions {
  cursor: default;
}

.profile-public-cover__reposition-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.profile-public-cover__reposition-bar[hidden],
.profile-public-cover__reposition-hint[hidden],
.profile-public-cover__actions[hidden],
.profile-public-cover__edit-toggle[hidden] {
  display: none !important;
}

.profile-public-cover__reposition-bar {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: auto !important;
  inset: 0 0 auto 0 !important;
  z-index: 90 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 0 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
  margin: 0 !important;
  transform: none !important;
}

/* default nascosta; quando visibile è sempre in alto sul wrap (non dentro cover overflow:hidden) */
.profile-public-cover__reposition-bar[hidden] {
  display: none !important;
}

.profile-public-cover--repositioning ~ .profile-public-cover__reposition-bar,
.profile-public-cover-wrap:has(.profile-public-cover--repositioning) > .profile-public-cover__reposition-bar,
body.profile-cover-repositioning .profile-public-cover__reposition-bar:not([hidden]) {
  display: flex !important;
  top: 0 !important;
  bottom: auto !important;
}

.profile-public-cover__reposition-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.profile-public-cover__reposition-actions {
  display: flex;
  gap: 8px;
}

.profile-public-cover__edit-toggle,
.profile-public-cover__reposition-cancel,
.profile-public-cover__reposition-save,
.profile-public-cover__reposition-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.profile-public-cover__reposition-save {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
}

.profile-public-cover__edit-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.profile-public-cover--editing .profile-public-cover__edit-toggle {
  display: none;
}

.profile-public-cover__reposition-btn {
  padding: 8px 12px;
}

.profile-cover-lightbox[hidden] {
  display: none !important;
}

body.profile-cover-lightbox-open {
  overflow: hidden;
}

.profile-cover-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10060;
}

.profile-cover-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.profile-cover-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.profile-cover-lightbox__img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.profile-cover-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #09090b;
  cursor: pointer;
}

.profile-public-cover__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.profile-public-cover__upload-btn,
.profile-public-cover__remove-btn,
.profile-public-cover__reposition-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;  
  border-radius: 999px;
}

.profile-public-cover__remove-btn {
  padding: 8px 10px;
}

.profile-public-cover__tip {
  position: absolute;
  left: auto;
  right: 12px;
  bottom: 52px;
  z-index: 3;
  margin: 0;
  margin-left: 132px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 500;
  text-align: right;
  pointer-events: none;
  width: fit-content;
  max-width: min(28rem, calc(100% - 144px));
  box-sizing: border-box;
}

.profile-public-cover--has-image .profile-public-cover__tip,
.profile-public-cover--repositioning .profile-public-cover__tip {
  display: none;
}

@media (max-width: 959px) {
  .profile-public-cover__tip {
    right: 10px;
    bottom: 56px;
    margin-left: 120px;
    font-size: 0.74rem;
    padding: 8px 10px;
    max-width: min(22rem, calc(100% - 130px));
  }
}

/* —— Grid studio —— */
.profile-public-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border-top: 1px solid #e4e4e7;
  position: relative;
  z-index: 1;
  overflow: visible;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 960px) {
  .profile-public-studio {
    grid-template-columns: 380px minmax(0, 1fr);
  }

  .profile-public-studio::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 380px;
    width: 1px;
    background: #e4e4e7;
    pointer-events: none;
    z-index: 2;
  }
}

/* —— Rail —— */
.profile-public-rail {
  position: relative;
  background: #fff;
  border-right: none;
  overflow: visible;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 960px) {
  .profile-public-rail {
    position: sticky;
    top: 60px;
    align-self: start;
    display: block;
    height: auto;
    max-height: none;
    min-height: 0;
    /* overflow visible: avatar -48px resta a cavallo della cover */
    overflow: visible;
  }
}

.profile-public-rail__avatar-row {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  margin-top: -48px; /* a cavallo della cover */
  margin-bottom: 14px;
  padding: 0 24px;
  overflow: visible;
}

.profile-public-rail__avatar,
.profile-public-rail__avatar .profile-avatar-block,
.profile-public-rail__avatar .profile-avatar-block__ring {
  position: relative;
  z-index: 1;
}

.profile-public-rail__avatar .profile-avatar-block__camera {
  z-index: 20;
}

.profile-public-rail__body {
  padding: 0 24px 24px;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .profile-public-rail__body {
    display: block;
    /* Scroll solo qui: avatar fuori dallo scrollport → overhang cover intatto */
    max-height: var(--rail-body-max-h, calc(100vh - 60px - 7.5rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 48px;
  }
}

.profile-public-rail__avatar .profile-avatar-block__img,
.profile-public-rail__avatar .profile-avatar-block__initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #e4e4e7;
}

.profile-public-rail__avatar .profile-avatar-block__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0066cc, #4f46e5);
}

.profile-public-rail--org .profile-public-rail__avatar .profile-avatar-block__initials {
  background: linear-gradient(145deg, #0f766e, #0066cc);
}

.profile-public-rail__name {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #09090b;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.profile-pec-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 4px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.2;
  vertical-align: middle;
}

.profile-pec-verified__icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #fff;
  font-size: 0.7rem;
}

.profile-pec-verified__label {
  padding-right: 2px;
}

.profile-public-rail__role {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: #52525b;
  text-align: left;
}

.profile-public-rail__stats {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: #71717a;
  text-align: left;
}

.profile-public-rail__stats[hidden] {
  display: none !important;
}

.profile-public-rail__badges {
  margin: 0 0 8px;
}

.profile-public-rail .profile-public-rankchip {
  margin: 0 0 12px;
}

.profile-public-rail__geo {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: #52525b;
  line-height: 1.5;
  text-align: left;
}

.profile-public-rail__geo p {
  margin: 0 0 4px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.profile-public-rail__bio {
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid #e4e4e7;
  position: relative;
  text-align: left;
}

.profile-public-rail__bio-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #3f3f46;
}

.profile-public-rail__bio-empty {
  margin: 0;
  font-size: 0.86rem;
  color: #a1a1aa;
}

.profile-public-rail__bio-actions {
  position: absolute;
  top: 12px;
  right: 0;
}

.profile-public-rail__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-public-rail__actions-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-public-rail__actions-pair > .profile-public-btn,
.profile-public-rail__actions-pair > .profile-follow-menu {
  min-width: 0;
  width: 100%;
}

.profile-public-rail__actions-pair .profile-follow-menu {
  display: flex;
}

.profile-public-rail__actions-pair .profile-follow-menu .profile-public-btn {
  flex: 1;
}

.profile-public-rail__actions .profile-public-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.86rem;
  padding: 9px 12px;
}

.profile-public-rail__actions-pair .profile-public-btn {
  padding-left: 8px;
  padding-right: 8px;
  line-height: 1.2;
  text-align: center;
}

/* Recensioni collaborazioni (sotto azioni) */
.hf-public {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4e4e7;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
  flex-shrink: 0;
}
.hf-public__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
.hf-public-stars {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.95rem;
  line-height: 1;
}
.hf-public__count {
  font-size: 0.86rem;
  font-weight: 700;
  color: #52525b;
}
.hf-public__carousel {
  position: relative;
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: hf-carousel;
  overflow: visible;
}
.hf-public__track {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  /* Solo scroll orizzontale; altezza = contenuto slide (niente clip verticale) */
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  max-height: none;
  overscroll-behavior-x: contain;
  box-sizing: border-box;
}
.hf-public__track::-webkit-scrollbar { display: none; }
.hf-public__slide {
  /* Mobile: card più stretta del rail + peek della successiva (cqi = larghezza carousel) */
  flex: 0 0 auto;
  width: 82%;
  max-width: 82%;
  height: auto;
  max-height: none;
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  min-width: 0;
  overflow: visible;
}
@supports (width: 1cqi) {
  .hf-public__slide {
    width: calc(100cqi - 36px);
    max-width: calc(100cqi - 36px);
  }
}
.hf-public__slide:only-child {
  width: 100%;
  max-width: 100%;
}
.hf-public__slide.is-hidden-body {
  border-style: dashed;
  opacity: 0.85;
}
.hf-public__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  min-width: 0;
}
.hf-public__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hf-public__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hf-public__avatar--initials {
  font-weight: 800;
  font-size: 0.78rem;
  color: #0a1628;
}
.hf-public__who-meta {
  min-width: 0;
  overflow: hidden;
}
.hf-public__author {
  margin: 0 0 3px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.hf-public__profile-link {
  text-decoration: none;
  color: inherit;
}
a.hf-public__profile-link:hover,
a.hf-public__profile-link:focus,
a.hf-public__profile-link:visited {
  text-decoration: none;
  color: inherit;
}
a.hf-public__author.hf-public__profile-link:hover {
  color: #0066cc;
}
.hf-public__slide-stars {
  margin-bottom: 0;
}
.hf-public__slide-stars .hf-public-stars {
  font-size: 0.78rem;
}
.hf-public__offer-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  box-sizing: border-box;
  cursor: help;
  -webkit-tap-highlight-color: transparent;
}
.hf-public__offer-pill-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hf-public__offer-pill-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: max-content;
  max-width: min(220px, 72vw);
  padding: 8px 10px;
  border-radius: 10px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
  pointer-events: none;
  text-align: left;
  box-sizing: border-box;
}
.hf-public__offer-pill-tip::after {
  content: '';
  position: absolute;
  left: 14px;
  bottom: 100%;
  border: 6px solid transparent;
  border-bottom-color: #0f172a;
}
.hf-public__offer-pill:hover .hf-public__offer-pill-tip,
.hf-public__offer-pill:focus-visible .hf-public__offer-pill-tip,
.hf-public__offer-pill.is-tip-open .hf-public__offer-pill-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hf-public__quote {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #3f3f46;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hf-public__again {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #71717a;
}
.hf-public__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #71717a;
}
.hf-public__hidden-tag {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #b45309;
  font-size: 0.72rem;
}
.hf-public__toggle {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #0066cc;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.hf-public__nav-col {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  align-self: center;
  flex: 0 0 auto;
}
.hf-public__nav {
  width: 28px;
  height: 28px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: #fff;
  color: #52525b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  padding: 0;
}
.hf-public__nav:hover {
  background: #f4f4f5;
}

@media (min-width: 960px) {
  .hf-public__nav-col {
    display: flex;
  }
  .hf-public__slide,
  .hf-public__slide:only-child {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 959px) {
  .profile-public-shell {
    max-width: 100%;
    overflow-x: hidden;
  }
  .hf-public__offer-pill,
  .hf-public__toggle,
  .hf-public__again {
    max-width: 100%;
  }
}

/* Nav mobile canvas */
.profile-public-canvas-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e4e4e7;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.profile-public-canvas-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 960px) {
  .profile-public-canvas-nav {
    display: none;
  }
}

.profile-public-canvas-nav a {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #52525b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.profile-public-canvas-nav a.is-active {
  color: #09090b;
  border-bottom-color: #09090b;
}

/* —— Canvas —— */
.profile-public-canvas {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.profile-canvas-section {
  position: relative;
  z-index: 1;
  --section-pad-x: 24px;
  padding: 28px var(--section-pad-x) 32px;
  border-bottom: 1px solid #e4e4e7;
  background: #fff;
  overflow: hidden;
}

.profile-canvas-section--empty {
  background: transparent;
}

.profile-canvas-section--empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.profile-canvas-section--empty::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 42%,
    rgba(255, 255, 255, 0) 78%
  );
}

.profile-canvas-section--empty .profile-canvas-section__head {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.profile-canvas-section--empty .profile-canvas-empty {
  position: relative;
  z-index: 2;
  margin: 0;
}

.profile-canvas-section:not(:last-child):not(.profile-canvas-section--empty)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 14px;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 10px 14px -8px rgba(15, 23, 42, 0.16);
}

.profile-canvas-section--empty:not(:last-child) {
  box-shadow: 0 10px 14px -8px rgba(15, 23, 42, 0.16);
}

.profile-canvas-section:last-child {
  border-bottom: none;
}

.profile-canvas-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.profile-canvas-section__head-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.profile-canvas-section__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #09090b;
  text-align: left;
}

.profile-canvas-section__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.profile-canvas-empty {
  margin: 0;
  padding: 16px 0;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #71717a;
}

/* —— Timeline orizzontale —— */
.profile-h-timeline {
  position: relative;
}

.profile-h-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 8px;
  width: 40px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 15%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.profile-h-timeline.is-scrolled-left::before {
  opacity: 1;
}

.profile-h-timeline__track {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d8 transparent;
  padding-bottom: 4px;
  user-select: none;
}

.profile-h-timeline__track.is-drag-pending,
.profile-h-timeline__track.is-dragging {
  scroll-snap-type: none;
}

.profile-h-timeline__track.is-drag-pending .profile-h-card,
.profile-h-timeline__track.is-dragging .profile-h-card {
  scroll-snap-align: none;
}

.profile-h-card--clickable {
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.profile-h-card--clickable:focus,
.profile-h-card--clickable:focus-visible,
.profile-h-card--clickable:active {
  outline: none;
  box-shadow: var(--shadow);
  background: var(--profile-h-card-body-bg, #fff);
}

.profile-h-timeline__track.is-dragging .profile-h-card--clickable {
  cursor: grabbing;
}

body.profile-timeline-dragging,
body.profile-timeline-dragging * {
  cursor: grabbing !important;
}

.profile-h-timeline__track::-webkit-scrollbar {
  height: 6px;
}

.profile-h-timeline__track::-webkit-scrollbar-thumb {
  background: #d4d4d8;
}

.profile-h-timeline__items {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  min-width: min-content;
  padding: 4px 4px 4px 0;
}

.profile-h-card {
  flex: 0 0 min(280px, 76vw);
  display: flex;
  flex-direction: column;
  --profile-h-card-body-bg: #fff;
  background: var(--profile-h-card-body-bg);
  text-decoration: none;
  color: inherit;
  min-height: 240px;
  /* border: 1px solid #e4e4e7; */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  -webkit-user-drag: none;
  user-select: none;
}

.profile-h-timeline__track .profile-h-card--clickable:hover .profile-h-card__title {
  text-decoration: none;
}

.profile-h-timeline__track:not(.is-dragging) .profile-h-card--clickable:hover .profile-h-card__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-h-card__media {
  height: 140px;
  flex-shrink: 0;
  width: calc(100% + 2px);
  margin: -1px 0 0 -1px;
  background: var(--profile-h-card-body-bg);
  overflow: hidden;
  position: relative;
  border-bottom: none;
  isolation: isolate;
}

.profile-h-card__media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 48%,
    #fff 88%,
    #fff 100%
  );
}

.profile-h-card__media--placeholder {
  background: var(--profile-h-card-body-bg);
}

.profile-h-card__media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.profile-h-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.profile-h-card__pdf-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.72rem;
  border-radius: 4px;
  z-index: 2;
}

.profile-h-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
  margin-top: -1px;
  text-align: left;
  background: var(--profile-h-card-body-bg);
}

.profile-h-card__actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 1;
}

.profile-h-card__when {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717a;
  min-height: 1.1em;
}

.profile-h-card__kind {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
  min-height: 1.1em;
}

.profile-h-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #09090b;
}

.profile-h-card__org {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3f3f46;
}

.profile-h-card__meta,
.profile-h-card__place,
.profile-h-card__status {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #71717a;
  line-height: 1.4;
}

.profile-h-card__excerpt {
  margin: 8px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #52525b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-h-card__comments {
  list-style: none;
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #f4f4f5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-h-card__comment {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #52525b;
}

.profile-h-card__comment strong {
  font-weight: 700;
  color: #3f3f46;
}

.profile-h-card--community .profile-h-card__kind { color: var(--meedico-community, #7c3aed); }
.profile-h-card--offer .profile-h-card__kind { color: var(--meedico-offer-ink, #0369a1); }
.profile-h-card--collaboration .profile-h-card__kind { color: var(--meedico-bando-ink, #065f46); }

/* —— Viewer modale —— */
.profile-viewer[hidden] {
  display: none !important;
}

.profile-viewer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: block;
  padding: 0;
}

.profile-viewer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.65);
}

.profile-viewer__scroller {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.profile-viewer__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 24px;
}

.profile-viewer__spacer {
  flex-shrink: 0;
  width: 100%;
  height: 40vh;
  pointer-events: none;
}

.profile-viewer__card {
  width: 100%;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
}

.profile-viewer__card:focus,
.profile-viewer__card:focus-visible,
.profile-viewer__card:active {
  outline: none;
  background: transparent;
  box-shadow: none;
}

.profile-viewer__card.is-centered {
  cursor: default;
}

.profile-viewer__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: none;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.12s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.profile-viewer__dialog:focus,
.profile-viewer__dialog:focus-visible,
.profile-viewer__dialog:active {
  outline: none;
}

.profile-viewer__toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-viewer__share {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #09090b;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.profile-viewer__card.is-centered .profile-viewer__share {
  opacity: 1;
  pointer-events: auto;
}

.profile-viewer__share:hover {
  background: #fff;
}

.profile-viewer__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.profile-viewer__close:focus,
.profile-viewer__close:focus-visible,
.profile-viewer__share:focus,
.profile-viewer__share:focus-visible {
  outline: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.profile-viewer__media-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
  flex-shrink: 0;
}

.profile-viewer__media-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 48%,
    #fff 88%,
    #fff 100%
  );
}

.profile-viewer__media-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.profile-viewer__media-wrap--placeholder img {
  transform: scale(1.35);
  transform-origin: center;
}

.profile-viewer__content {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 24px;
  text-align: left;
  background: #ffffff;
}

.profile-viewer__kind,
.profile-viewer__title,
.profile-viewer__subtitle,
.profile-viewer__meta,
.profile-viewer__dates,
.profile-viewer__place,
.profile-viewer__desc,
.profile-viewer__gallery-caption {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.profile-viewer__kind {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.profile-viewer__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #09090b;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-viewer__subtitle,
.profile-viewer__meta,
.profile-viewer__dates,
.profile-viewer__place {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #52525b;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-viewer__desc {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #3f3f46;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-viewer__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.profile-viewer__gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-viewer__gallery-link,
.profile-viewer__gallery a {
  display: block;
  border: 1px solid #e4e4e7;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.profile-viewer__gallery-caption {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #52525b;
}

.profile-viewer__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-viewer__gallery .profile-viewer__pdf-link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  min-height: 48px;
  padding: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #09090b;
  text-decoration: none;
}

.profile-viewer__actions {
  margin-top: 16px;
}

.profile-viewer__actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #09090b;
}

body.profile-viewer-open {
  overflow: hidden;
}

@media (max-width: 959px) {
  .profile-public-rail__avatar-row,
  .profile-public-rail__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-canvas-section {
    --section-pad-x: 16px;
    padding: 24px var(--section-pad-x);
  }

  .profile-public-onboarding {
    --section-pad-x: 16px;
    padding: 24px var(--section-pad-x) 20px;
  }
}
