* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #1b1c1e;
  color: #fff;
  line-height: 1.6;
  font-family: 'Merriweather Sans', sans-serif;
}

/* LINK */

a {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #e63946;
  transition: width 0.3s ease;
}

a:hover {
  color: #e63946;
}

a:hover::after {
  width: 100%;
}

::selection {
  background: #e63946;
  color: #fff;
}

h1,
h2,
h3 {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 600;
}

/* ==================================================
   HEADER
================================================== */

.header-top {
  display: flex;
  justify-content: center;
  align-content: center;
  margin-bottom: 15px;
}

.header {
  padding: 40px 0 18px;
  background: #000;
  border-bottom: 1px solid #222;
  text-align: center;
}

.logo {
  display: flex;
  justify-content: center;
  align-content: center;
}

.logo img {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 15px;
}

/* ==================================================
   MENU
================================================== */

.menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;
  border-top: 1px solid #222;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.menu a:hover {
  opacity: 1;
}

/* MENU ATTIVO */

.menu > li.active > a {
  color: #e63946;
  opacity: 1;
}

.menu > li.active > a::after {
  width: 100%;
}

/* SOTTOMENU */

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 120px;
  padding: 10px;
  background: #000;
  border-top: 2px solid #e63946;
  text-align: left;
  list-style: none;
  z-index: 100;
}

.menu li:hover .submenu {
  display: block;
}

.submenu li {
  padding: 5px 0;
}

.submenu a {
  display: block;
  font-size: 11px;
}

/* ==================================================
   HERO BIOGRAFIA
================================================== */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 1100px;
  margin: 60px auto 45px;
  padding: 0 20px;
  text-align: center;
}

.categoria {
  margin-bottom: 12px;
  color: #e63946;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 1.1;
}

.date {
  margin-top: 12px;
  color: #c7c0b5;
  font-size: 1rem;
  letter-spacing: 1px;
}

.ruolo {
  max-width: 680px;
  margin: 10px auto 0;
  color: #d9d2c7;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-image img {
  display: block;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border: 4px solid #e63946;
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

/* ==================================================
   BIOGRAFIA
================================================== */

.biografia {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 38px;
  background: #232426;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
}

.biografia p {
  margin-bottom: 22px;
  color: #ddd7cd;
  font-size: 1.01rem;
  line-height: 1.85;
}

.biografia p:last-child {
  margin-bottom: 0;
}

.biografia-apertura {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f1ea !important;
  font-size: 1.12rem !important;
}

.biografia strong {
  color: #fff;
}

.biografia em {
  color: #e8c0b4;
}

/* ==================================================
   EREDITÀ CULTURALE
================================================== */

.eredita {
  max-width: 820px;
  margin: 42px auto 0;
  padding: 34px 38px;
  background: rgba(230, 57, 70, 0.08);
  border-left: 5px solid #e63946;
  border-radius: 0 16px 16px 0;
}

.eredita h2 {
  margin-bottom: 18px;
  font-size: 1.55rem;
}

.eredita h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin-top: 9px;
  background: #e63946;
}

.eredita p:not(.categoria) {
  margin-bottom: 16px;
  color: #eee9df;
  font-size: 1rem;
  line-height: 1.8;
}

.eredita p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   COLLEGAMENTI
================================================== */

.contenuti {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 55px auto 0;
  padding: 40px 20px;
  border-top: 2px solid #e63946;
}

.colonna h3 {
  margin-bottom: 15px;
  color: #e63946;
  font-size: 14px;
  letter-spacing: 2px;
}

.colonna a {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
}

/* ==================================================
   FOOTER
================================================== */

.footer {
  padding: 40px 20px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.footer p {
  margin-bottom: 8px;
}

.copyright {
  color: #aaa;
  font-size: 13px;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {

  .logo img {
    width: 140px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 15px;
  }

  .menu a {
    font-size: 11px;
  }

  .hero {
    margin-top: 45px;
  }

  .hero-image img {
    width: 220px;
    height: 220px;
  }

  .biografia,
  .eredita {
    margin-right: 18px;
    margin-left: 18px;
    padding: 30px 24px;
  }

  .biografia p {
    font-size: 0.98rem;
  }

  .contenuti {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-right: 28px;
    padding-left: 28px;
    text-align: center;
  }

}

@media (max-width: 420px) {

  .hero-image img {
    width: 190px;
    height: 190px;
  }

  .biografia,
  .eredita {
    margin-right: 12px;
    margin-left: 12px;
    padding: 26px 20px;
  }

}