/* Rifiniture della sezione Staff rispetto alla sezione Chi siamo. */
#chi-siamo,
#chisiamo,
.about-section,
[data-section="chi-siamo"] {
  padding-bottom: clamp(2.25rem, 4vw, 4rem) !important;
  margin-bottom: 0 !important;
}

.staff-section {
  padding-top: clamp(2.25rem, 4vw, 4rem) !important;
}

.staff-portrait {
  width: clamp(150px, 72%, 210px);
  aspect-ratio: 1;
  height: auto !important;
  min-height: 150px;
  margin: 1.5rem auto 0;
  border-radius: 50% !important;
  overflow: hidden;
  background-size: 540% auto !important;
  background-position-y: 46% !important;
  background-repeat: no-repeat;
  background-color: #eee7e5;
  box-shadow: 0 12px 30px rgba(44, 20, 22, 0.12);
  filter: brightness(1.14) saturate(0.78) contrast(0.94);
  border: 1px solid rgba(126, 74, 77, 0.14);
}

.staff-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(139, 20, 31, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--color-primary, #8b141f);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.staff-profile-button:hover,
.staff-profile-button:focus-visible {
  border-color: var(--color-primary, #8b141f);
  background: var(--color-primary, #8b141f);
  color: #fff;
}

.staff-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 1.5rem;
  background: #fbf8f7;
  box-shadow: 0 28px 80px rgba(35, 19, 20, 0.24);
}

.staff-modal .modal-header {
  align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(67, 42, 43, 0.1);
}

.staff-modal .modal-title {
  color: #6f0f19;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.staff-modal-role {
  color: #766466;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.staff-modal-body {
  max-height: min(62vh, 620px);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  color: #493b3c;
  font-size: 1rem;
  line-height: 1.75;
}

.staff-modal-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  #chi-siamo,
  #chisiamo,
  .about-section,
  [data-section="chi-siamo"] {
    padding-bottom: 2rem !important;
  }

  .staff-section {
    padding-top: 2rem !important;
  }

  .staff-portrait {
    width: min(190px, 68vw);
  }
}
