	/* ===== LITRES ET LISTE ===== */
	.filter-wrapper {
		text-align: center;
		margin-bottom:50px;
	}

	/* Boutons */
	.top-buttons {
			text-align: center;
			margin-bottom: 20px;
		}

	.top-buttons h2{
		margin: -15px 0 25px 0;
		color: #777;
	}

	.top-buttons a {text-decoration: none;}

	.top-btn {
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.12);
		color: #cfd6e1;
		padding: 3px 12px;
		margin: 0 4px;
		border-radius: 12px;
		font-size: 13px;
		transition: 0.2s;
		width: 190px;
	}

	.top-btn.active {
		background: #818181;
		color: #0c1b29;
		font-weight: 600;
		padding: 2px;
	}

	.top-btn:hover {
		background: rgba(255,255,255,0.18);
		color: #efefef;
		background: rgba(76, 201, 240, 0.15);
		color: #4cc9f0;
	}

	/* Zones */
	.content-zone {
		display: flex;
		opacity: 0;
		transition: opacity 3s ease-in-out;
		justify-content: center;
		gap: 10px;
		margin-bottom: 30px;
		flex-wrap: wrap;
	}

	.content-zone.active {
		display: flex;
		opacity: 1;
	}

	/* Ligne */
	.line {
		display: flex;
		justify-content: center;
		gap: 15px;
		flex-wrap: wrap;
	}

	/* Item */
	.item {
		position: relative;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.12);
		color: #cfd6e1;
		padding: 3px 12px;
		border-radius: 12px;
		font-size: 13px;
		cursor: pointer;
		transition: 0.2s;
		width: 170px;
	}

	.item-link {
		display: block;
		text-decoration: none;
		color: inherit;
	}

	.item.active {
		background: #818181;
		color: #0c1b29;
		font-weight: 600;
		
	}

	.item:hover {
		background: rgba(76, 201, 240, 0.15);
		color: #4cc9f0;
	}
		
	.item .badge {
		background: rgb(0 0 0 / 15%);
		color: #e5e7eb;
		float: right;
		padding: 4px 8px;
		border-radius: 10px;
		font-size: 10px;
		margin-right: -6px;
		margin-top: 0;
		font-weight: 400;
	}

	/* Submenu */
	.submenu {
		position: absolute;
		top: 105%;
		left: 0;
		background: #1f2933;
		border: 1px solid rgba(255,255,255,0.08);
		border-radius: 10px;
		padding: 6px;
		min-width: 160px;
		display: none;
		z-index: 1000;
		box-shadow: 0 10px 25px rgba(0,0,0,0.6);
	}

	.submenu div {
		padding: 4px 8px;
		cursor: pointer;
		border-radius: 6px;
		color: #cfd6e1;
		font-size: 13px;
	}

	.submenu .sub-item-link {
		display: block;
		text-decoration: none;
		color: inherit;
	}

	.submenu div:hover {
		background: rgba(255,255,255,0.1);
		color: #fff;
	}

	.has-sub:hover .cat-submenu {display: block;}

	/* Hover sans bug */
	@media (min-width: 768px) {
		.item::after {
			content: "";
			position: absolute;
			top: 100%;
			left: 0;
			width: 100%;
			height: 10px;
		}
		.item:hover .submenu {
			display: block;
		}
	}

	/* Mobile */
	@media (max-width: 768px) {
		.line {
			flex-direction: column;
			align-items: center;
		}

		.item {width: 90%;}

		.submenu {position: static;}

		.item.open .submenu {display: block;}
	}

/* ===== CARD ===== */
	.content-card {
		background: rgba(255,255,255,0.06);
		border-radius: 14px;
		overflow: hidden;
		transition: all 0.25s ease;
		position: relative;
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.content-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 15px 30px rgba(0,0,0,0.4);
	}


/* ===== IMAGE ===== */
	.card-img {
		position: relative;
		height: 180px;
		overflow: hidden;
	}

	.card-img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	.card-click{
		cursor:pointer;
	}

/* ===== BADGE TYPE ===== */
	.badge-type {
		position: absolute;
		top: 10px;
		left: 10px;
		background: rgba(15, 23, 42, 0.6);
		color: #f1f5f9;
		border: 1px solid rgba(255, 255, 255, 0.15);
		padding: 3px 10px;
		border-radius: 999px;
		font-size: 11px;
		font-weight: 500;
		backdrop-filter: blur(6px);
		box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	}
	
	.badge-type.arti {color: #23ff02;}
	
	.badge-type.tuto {color: #f6dd00;}

/* ===== BODY ===== */
	.card-body {
		display: flex;
		flex-direction: column;
		height: 50%;
		padding: 15px;
		min-height: 220px;
	}

	.card-body h3 {
		font-size: 18px;
		color: #fff;
	}

	.card-body p {
		font-size: 13px;
		color: #cfd6e1;
	}

/* ===== FOOTER ===== */
	.card-footer {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: auto;
		position: relative;
		z-index: 2;
		pointer-events: none;
	}

/* ===== LIENS ACTIFS ===== */
	.card-link {
		position: absolute;
		inset: 0;
		z-index: 1;
	}

	.category-link {
		font-size: 12px;
		color: #4cc9f0;
		text-decoration: none;
		position: relative;
		z-index: 3;
		pointer-events: auto;
	}

/* ===== CATEGORY TEXT ===== */
	.category {
		font-size: 12px;
		color: #4cc9f0;
	}

/* ===== BUTTON ===== */
	.btn-read {
		background: transparent;
		border: 1px solid rgba(255,255,255,0.2);
		color: #fff;
		padding: 5px 12px;
		border-radius: 6px;
		transition: 0.3s;
		position: relative;
		z-index: 3;
		pointer-events: auto;
		cursor: pointer;
		text-decoration: none;
	}
	
	.btn-read-cat {
		transition: 0.3s;
		z-index: 3;
		pointer-events: auto;
		cursor: pointer;
		text-decoration: none;
		color: #4BC7EE;
		font-size: 0.8rem;
		font-style: oblique;
		margin: 0 10px -20px 0;
		
	}

	.btn-read:hover {
		background: #818181;
		color: #000;
	}
	
	.btn-read-cat:hover{
		color: #efefef;
		opacity: 0.8;
	}
	
	.back-link {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 8px 14px;
		margin-bottom: 20px;
		border-radius: 8px;
		background: rgba(255,255,255,0.05);
		border: 1px solid rgba(255,255,255,0.1);
		color: #00d4ff;
		text-decoration: none;
		font-size: 14px;
		transition: all 0.2s ease;
	}

	.back-link:hover {
		background: rgba(0, 212, 255, 0.1);
		border-color: #00d4ff;
		color: #00d4ff;
		transform: translateX(-2px);
	}

	.back-link:active {transform: scale(0.97);}

	a.back-link {
		align-items: center;
		display: block;
		width: 200px;
		margin: -20px 0 -10px 50px;
	}

/* ===== PROGRESSBAR ===== */
	#progressContainer {
		position: fixed;
		top: 55px;
		left: 50%;
		transform: translateX(-50%);
		width: 900px;
		max-width: 900px;
		height: 5px;
		border-radius: 5px;
		overflow: hidden;
		z-index: 9998;
	}

	#progressBar {
		height: 100%;
		width: 0%;
		background: linear-gradient(90deg, #38bdf8, #818cf8);
		transition: width 0.08s linear;
	}

/* ===== PAGINATION ===== */
	.pagination {margin-top: 50px;}

	.pagination  a.page-link {
		background: #2a2e2e;
		border: azure;
		color: #777;
	}

	.pagination a.page-link:hover {background: #171a1a;}

	.pagination .page-item.active .page-link {
		background: #888 !important;
		color: #111 !important;
	}
	
	
