/* Stesse variabili e stili del sonetto1.html */
    :root {
      --colore-sfondo: #d5b59c;
      --colore-primario: #7B1113;
      --colore-secondario: #954535;
      --colore-accento: #8c6b52;
      --colore-testo: #7a6252;
      --colore-titoli: #ffffff;
    }

    body {
      font-family: 'PT Serif', serif;
      background: var(--colore-sfondo);
      color: var(--colore-testo);
      margin: 0;
      line-height: 1.7;
    }

    nav {
      background-color: var(--colore-primario);
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 30px;
    }

    nav ul li a {
      font-size: 1.2rem;
      color: var(--colore-titoli);
      text-decoration: none;
      font-weight: 600;
      padding: 10px 15px;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    nav ul li a:hover {
      background-color: var(--colore-secondario);
    }

    header {
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      color: var(--colore-titoli);
      text-align: center;
      padding: 60px 20px;
    }

    header h1 {
      font-size: 2.4rem;
      margin-bottom: 0.3rem;
    }

    main {
      max-width: 850px;
      margin: 2rem auto;
      padding: 0 1rem;
    }

    .sonetto-container {
      background: #fff;
      border-left: 6px solid var(--colore-primario);
      border-radius: 10px;
      padding: 2rem 2rem 2rem 3rem;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .sonetto-container h2 {
      font-size: 2rem;
      text-align: center;
      color: var(--colore-testo);
      margin-bottom: 1rem;
    }

    .sonetto-meta {
      font-style: italic;
      color: var(--colore-accento);
      margin-bottom: 1rem;
      text-align: center;
    }

    .sonetto-text {
      font-size: 1.15rem;
      text-align: justify;
      margin-bottom: 1.5rem;
    }

    .sonetto-context, .parafrasi {
      border-left: 4px solid var(--colore-primario);
      border-radius: 8px;
      background: #fff8ef;
      padding: 1rem 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    }

    .navigation {
      display: flex;
      justify-content: space-between;
      margin-top: 2rem;
    }

    .navigation a, .back {
      text-decoration: none;
      font-weight: bold;
      color: var(--colore-testo);
      padding: 0.5rem 1rem;
      transition: color 0.3s ease;
    }

    .navigation a:hover, .back:hover {
      color: var(--colore-accento);
    }

    .back {
      display: block;
      text-align: center;
      margin-top: 2rem;
    }

/* ===============================
   FOOTER
   =============================== */
.footer {
    background: var(--colore-primario);
    color: #ffffff;
    padding: 60px 40px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-center {
    display: block;
    text-align: center;
}

.footer-left,
.footer-right {
    display: flex;
    justify-content: center;
}

.logo-link {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-link:hover {
    transform: scale(1.1) translateY(-5px);
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}


.footer-link {
    color: var(--colore-link);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--colore-link);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}
