/* CUNSE Concours — styles publics (shortcodes) */

.cunse-cc-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
	margin: 18px 0;
}
.cunse-cc-item {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 6px 18px rgba(12,28,58,.06);
}
.cunse-cc-item-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.cunse-cc-date { color: #50607a; font-size: 14px; font-weight: 600; }
.cunse-cc-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 3px 10px;
	border-radius: 999px;
	color: #fff;
	background: #6b7a99;
}
.cunse-cc-badge-ouvert   { background: #1f9d55; }
.cunse-cc-badge-en_cours { background: #b3924f; }
.cunse-cc-badge-clos     { background: #6b7a99; }
.cunse-cc-badge-termine  { background: #16337a; }

.cunse-cc-title { margin: 4px 0 6px; color: #16233d; font-size: 19px; }
.cunse-cc-meta { color: #50607a; font-size: 14px; margin: 0 0 8px; }
.cunse-cc-link { color: #16337a; font-weight: 700; text-decoration: none; }
.cunse-cc-link:hover { text-decoration: underline; }
.cunse-cc-empty { color: #6b7a99; font-style: italic; }

.cunse-cc-table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 22px;
	font-size: 14px;
}
.cunse-cc-table th, .cunse-cc-table td {
	border: 1px solid #dbe2ee;
	padding: 8px 10px;
	text-align: left;
}
.cunse-cc-table th { background: #eef2fb; color: #16337a; }
.cunse-cc-table tr:nth-child(even) td { background: #f7f9fd; }

.cunse-cc-classement h2, .cunse-cc-fiche h2 { color: #16337a; }
.cunse-cc-classement h3, .cunse-cc-fiche h3 {
	color: #16337a;
	border-bottom: 2px solid #16337a;
	padding-bottom: 4px;
	margin-top: 22px;
}

.cunse-cc-fiche-head { display: flex; gap: 20px; align-items: center; margin-bottom: 12px; }
.cunse-cc-fiche-photo img { border-radius: 12px; object-fit: cover; }

.cunse-cc-search { margin: 12px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cunse-cc-search input {
	padding: 9px 12px;
	border: 1px solid #ccd4e2;
	border-radius: 8px;
	min-width: 220px;
}
.cunse-cc-search button {
	padding: 9px 18px;
	border: none;
	border-radius: 8px;
	background: #16337a;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.cunse-cc-search button:hover { background: #0f2456; }
