body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #222;
}

header { background: #00707f; color: white; padding: 1rem; }
main { max-width: 1100px; margin: auto; padding: 1rem; }

.filters { margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button { border: none; padding: 1rem; cursor: pointer; background: #ddd; border-radius: 4px; }
.filters button.active { background: #00707f; color: white; }

/* --- GRILLE DES DÉCENNIES (LES BLOCS) --- */
.volumes {
    display: grid;
    /* Force 2 colonnes égales qui occupent 100% de la largeur */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    width: 90%;
    align-items: start; /* Important pour que les blocs ne s'étirent pas vers le bas */
}

/* --- LE BLOC BLANC (DÉCENNIE) --- */
.volume {
    background: white;
    border-left: 8px solid #003b5c;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    /* S'assure que le bloc remplit bien sa colonne de grille */
    width: 90%; 
    height: fit-content;
	padding:10px 0 10px 10px;
}

/* --- LE CONTENU INTERNE (ANNÉES) --- */
.decade-columns {
    display: block !important;
    /* On garde l'affichage interne sur 2 colonnes */
    column-count: 2; 
    column-gap: 20px;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.year-group {
    break-inside: avoid; /* Empêche de couper une année en deux */
    margin-bottom: 20px;
}

.year-title {
    margin: 0 0 5px 0;
    color: #00707f;
    border-bottom: 1px solid #eee;
}

.links { list-style: none; padding: 0; margin: 0; }
.links li { margin: 5px 0; font-size: 0.95rem; }
.links a { text-decoration: none; color: #003b5c; }
.links a:hover { text-decoration: underline; }

/* Si l'écran fait moins de 1200px (Tablette paysage), on passe à 2 colonnes */
@media (max-width: 1200px) {
    .volumes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Si l'écran fait moins de 600px (Smartphone), on passe à 1 seule colonne */
@media (max-width: 600px) {
    .volumes {
        grid-template-columns: 1fr;
    }
    .decade-columns {
        column-count: 1; /* On repasse à 1 colonne interne sur mobile */
    }
}

footer { text-align: center; padding: 2rem; background: #e0e0e0; margin-top: 2rem; }

#menu {
        width:100%;
		background-color:#00454e;
		height:fit-content;
		padding:5px;
}
#menu img {
		max-height:66px;
}

