.savoir-content {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y : auto; /* allow scrolling */
    scrollbar-width: thin;
    scrollbar-color: #376cff #000000;
}

@media print {
  body, main, .type, .special {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  header, nav, footer, .succube, .band-passante, button {
    display: none !important;
  }
} /* <-- Only one closing brace needed here */

.savoir-content header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    border-bottom: 2px solid #fff4e3;
    background: transparent;
    color: #fff4e3;
    z-index: 1000;
    transition: background 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    
    animation: brumeAppear 1s ease-out;
    border-radius: 8px;
    padding: 1rem 2rem;
    margin-bottom: 0;
    /* margin-bottom: 1100px; <-- REMOVE this line */
}

.savoir-content header h1 {
  margin: 0;
  font-size: 2rem;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  letter-spacing: 2px;
   color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
  margin-bottom: 0;
}

@keyframes brumeAppear {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.savoir-content .savoir-left, 
.savoir-content .savoir-right {
    flex: 1;
}

.savoir-content .savoir-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.savoir-content .btn {
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.savoir-content .btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
}

.savoir-content main {
    padding: 2rem 0;
    flex: 1 0 auto;   /* <-- makes main take available space */
}

.savoir-content .savoir-left,
.savoir-content .savoir-right {
    flex: 1;
}

.savoir-content .savoir-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Add this to your savoir.css or main CSS file */
.footer-text {
    width: 100%;
    padding: 1rem 0;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;      /* <-- horizontal layout */
    justify-content: center;
    gap: 1rem;
    bottom: 0;
    left: 0;
    margin-top: auto; /* pushes footer to bottom */
}

.footer-text span {
    display: inline-block;
}

.savoir-content .info {
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.savoir-content .info ul {
    list-style: none;
    margin: 0 0 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all ease 0.3s;
    margin-top: 0rem;
}

.savoir-content .info a {
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000 !important;
    text-decoration: none;
    font-weight: bold;
    transition: all ease 0.3, color 0.2s;
    font-size: 1.7rem;
    margin-top : 1rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    transition: 0.3s ease;
}

.savoir-content .info a:hover {
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000 !important;
    text-decoration: none;
    transform: scale(1.05);
}


