/* =======================================
   HERO LINK (page-specific)
======================================= */

.hero-link{
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 5;
}

/* =======================================
   BIOGRAFIA (page-specific)
======================================= */

/* SOLO pagina bio: box esterna più stretta */
.bio-page .page-content{
  max-width: 800px;
  border: 1px solid #2f2f30; /* override voluta rispetto a var(--br) */
}

/* Contenuto biografia: leggibile ma dentro la box */
.bio-body{
  max-width: 760px;      /* se la vuoi più larga: 860/920 */
  margin: 0 auto;
  padding-top: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg);
}

.bio-body p{
  text-align: justify;
  margin: 0 0 0.9em;
}

.bio-main-title{
  text-align: center;
  margin: 0 0 1.4em;
  font-size: 1.5rem;
}

.bio-body h2{
  margin: 1.4em 0 0.5em;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--br);
  text-align: center;
  padding-bottom: 6px;
}

.bio-body h3{
  margin: 1.4em 0 0.4em;
  font-size: 1.0rem;
}

.bio-body h4{
  margin: 1.1em 0 0.3em;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bio-body ul{
  padding-left: 1.2rem;
  margin: .5em 0 1em;
}

.bio-body li{ margin-bottom: .3em; }

/* Tabelle */
.bio-body table{
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0 1.8em;
  font-size: .86rem;
}

.bio-body th,
.bio-body td{
  border: 1px solid var(--br);
  padding: 8px 10px;
  text-align: left;
}

.bio-body th{ background: rgba(255,255,255,.06); }

/* Tabelle responsive */
@media (max-width: 768px){
  .bio-body table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bio-body th,
  .bio-body td{ white-space: nowrap; }
}

/* Pulsante back */
.bio-back{
  text-align: center;
  margin: 40px 0 10px;
}

.btn-back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid #666;
  background: #666;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}

.btn-back:hover{
  background: #000;
  border-color: #000;
}

.btn-back:active{ transform: scale(.98); }
