/* ============================================
   PERSONE LIST
============================================ */
.persone__hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
  animation: persone-fade-up 0.75s ease-out 0.08s both;
}

.persone__title {
  margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  color: var(--color-primary, #001b44);
}

.persone__body {
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  animation: persone-fade-up 0.75s ease-out 0.22s both;
}

.persone__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }

.persone__card {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem;
  text-decoration: none; border-radius: 1rem;
  border: 1px solid rgba(0, 27, 68, 0.08); background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.persone__card:hover {
  border-color: rgba(0, 27, 68, 0.18); box-shadow: 0 6px 24px rgba(0, 27, 68, 0.09);
  transform: translateY(-2px);
}

.persone__avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 2px solid rgba(0, 27, 68, 0.08);
}

.persone__card-name { margin: 0 0 0.4rem; font-size: 1.15rem; font-weight: 700; color: var(--color-primary, #001b44); }
.persone__card-bio { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--color-text-muted, #4b5563); }
.persone__empty { color: #666; }

/* ============================================
   PERSONA DETAIL
============================================ */
.persona__hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.persona__hero-inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.persona__avatar-wrap { flex-shrink: 0; animation: persona-fade-up 0.7s ease-out 0.06s both; }

.persona__avatar {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; border: 3px solid rgba(0, 27, 68, 0.1);
}

.persona__name {
  margin: 0 0 0.75rem; font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.15; color: var(--color-primary, #001b44);
  animation: persona-fade-up 0.75s ease-out 0.14s both;
}

.persona__job-title { margin: 0 0 0.5rem; font-size: 1rem; color: var(--color-secondary-on-light); font-weight: 600; }

.persona__links {
  display: inline-flex; align-items: center; gap: 1rem; margin: 0.5rem 0 0.75rem;
  animation: persona-fade-up 0.75s ease-out 0.20s both;
}

.persona__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.875rem; font-weight: 600; color: var(--color-primary, #001b44);
  text-decoration: none; opacity: 0.7; transition: opacity 0.2s ease;
}
.persona__link:hover { opacity: 1; }
.persona__link-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

.persona__bio {
  margin: 0; font-size: clamp(1rem, 1.8vw, 1.15rem); line-height: 1.65;
  color: var(--color-text-muted, #4b5563); max-width: 640px;
  animation: persona-fade-up 0.75s ease-out 0.28s both;
}

.persona__cv {
  padding: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  animation: persona-fade-up 0.7s ease-out 0.32s both;
}
.persona__cv-content { max-width: 760px; }
.persona__cv-content h2 { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: 0.6rem; }
.persona__cv-content p { margin: 0 0 0.9rem; }

.persona__cv-content ul,
.persona__cv-content ol {
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
}
.persona__cv-content ul li,
.persona__cv-content ol li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.65;
}
.persona__cv-content ul li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--color-primary, #012043);
}
.persona__cv-content ol {
  counter-reset: persona-ol;
}
.persona__cv-content ol li::before {
  content: counter(persona-ol) ".";
  counter-increment: persona-ol;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--color-primary, #012043);
  line-height: 1.65;
}

.persona__posts {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  animation: persona-fade-up 0.65s ease-out 0.42s both;
}
.persona__posts-title { margin: 0 0 2rem; font-size: clamp(1.25rem, 2.5vw, 1.6rem); color: var(--color-primary, #001b44); }
.persona__posts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }

.persona__post-link {
  display: flex; align-items: center; gap: 1.25rem; text-decoration: none;
  padding: 1.1rem 1.25rem; border-radius: 0.85rem;
  border: 1px solid rgba(0, 27, 68, 0.08); background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.persona__post-link:hover {
  border-color: rgba(0, 27, 68, 0.18); box-shadow: 0 6px 20px rgba(0, 27, 68, 0.08); transform: translateY(-2px);
}

.persona__post-thumb { width: 100px; height: 64px; object-fit: cover; border-radius: 0.5rem; flex-shrink: 0; }
.persona__post-body { display: flex; flex-direction: column; gap: 0.3rem; }
.persona__post-date { font-size: 0.8rem; color: var(--color-text-muted, #6b7280); }
.persona__post-title { font-size: 1rem; font-weight: 600; color: var(--color-primary, #001b44); line-height: 1.35; }

.persona__back {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  animation: persona-fade-up 0.6s ease-out 0.5s both;
}
.persona__back-link {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-size: 0.85rem; font-weight: 600; color: var(--color-primary, #001b44);
  text-decoration: none; opacity: 0.65; transition: opacity 0.2s ease;
}
.persona__back-link:hover { opacity: 1; }

.persona__not-found { padding: 4rem 0; color: #666; }

/* ============================================
   ANIMAZIONI
============================================ */
@keyframes persone-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes persona-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .persone__hero, .persone__body,
  .persona__avatar-wrap, .persona__name, .persona__links,
  .persona__bio, .persona__cv, .persona__posts, .persona__back {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 575px) {
  .persone__card { flex-direction: column; align-items: flex-start; }
  .persone__avatar { width: 80px; height: 80px; }
  .persona__hero-inner { flex-direction: column; align-items: flex-start; }
  .persona__avatar { width: 120px; height: 120px; }
  .persona__post-thumb { display: none; }
}
