
.banner-theme {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    width: 100%;
}

/* Container principal */
.corpsTheme {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

/* Colonne gauche pour les thèmes */
.themeLeft {
	background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 15px;
    z-index: 1000;
}
/* Colonne droite (articles) */
.themeRight {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: 10%; /* Largeur de la colonne gauche */
	transition: width 0.3s ease; 
	    max-width: 66.6667%; /* Correspond à col-lg-8 */
    flex: 0 0 66.6667%;
}
/* Conteneur général */
.themeContent {
    background-color: #ffffff;
    padding: 20px;
	margin-top:50px;
}

.themeContent h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

/* Liste des thèmes */
.themeList {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Élément individuel */
.themeItem {
    padding: 15px 10px;
	border-top: 1px solid #e6e6e6;
}

.themeItem:last-child {
    border-bottom: none;
}

/* En-tête du thème : alignement horizontal */
.themeHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

/* Nom du thème */
.themeHeader a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.themeHeader a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Nombre de sous-thèmes */
.themeSubCount {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding-left: 5px;
}

/* Boutons */
.subscribe-dropdown {
    margin-left: auto;
}

.subscribe-dropdown .btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.subscribe-dropdown .btn-success {
    background-color: #28a745;
    color: #ffffff;
}

.subscribe-dropdown .btn-success:hover {
    background-color: #218838;
}

.subscribe-dropdown .btn-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.subscribe-dropdown .btn-danger:hover {
    background-color: #c82333;
}


.publicationTheme h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/*publication du flux.php*/
.publicationTheme {
    padding: 20px;
    margin-top: 20px;
}

.publicationTheme h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.publicationGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.publication {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.publication:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.publication img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.publication h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #222;
}

.publication p {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .corpsTheme,
    .corpsDesThemes {
        margin-top: 120px; /* ou ajuste à 100px si nécessaire */
    }
    .themeLeft {
        max-width: 100%;
        position: relative;
        height: auto;
        margin-bottom: 20px;
    }

    .themeRight {
        margin-left: 0;
        padding: 15px;
    }

    .publication img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .corpsTheme {
        flex-direction: column;
    }

    .themeLeft,
    .themeRight {
        padding: 10px;
    }

    .themeItem a {
        font-size: 16px;
    }

    .themeItem p {
        font-size: 12px;
    }

    .subscribe-dropdown .btn {
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
	.corpsTheme 
	{
		margin-top:100px;
	}
    .themeContent h3,
    .publicationTheme h3 {
        font-size: 18px;
    }

    .themeItem a {
        font-size: 14px;
    }

    .themeItem img {
        max-width: 100px;
    }
}

@media (max-width: 320px) {
	.corpsTheme 
	{
		margin-top:100px;
	}
    .themeContent h3,
    .publicationTheme h3 {
        font-size: 18px;
    }

    .themeItem a {
        font-size: 14px;
    }

    .themeItem img {
        max-width: 100px;
    }

}