/* ===== Liste des événements ===== */
.tc-evenements-list {
    max-width: 100%;
    margin: 0 auto;
}

.tc-evenement-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tc-evenement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tc-evenement-card-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tc-evenement-thumb {
    flex: 0 0 220px;
    height: 160px;
    overflow: hidden;
    border-radius: 5px;
}

.tc-evenement-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.tc-evenement-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.tc-evenement-content {
    flex: 1;
    min-width: 0;
    max-width: 60%; /* à ajuster */
}

.tc-evenement-title {
    margin-top: 0;
    color: #242421;
}

.tc-evenement-title a {
    color: #820601;
    text-decoration: none;
}

.tc-evenement-excerpt {
    margin: 10px 0;
    color: #555;
}

.tc-evenement-details {
    margin: 15px 0;
    color: #444;
}

.tc-evenement-details > div {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tc-evenement-details > div:last-child {
    border-bottom: none;
}

.tc-evenement-details dt {
    flex: 0 0 140px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.tc-evenement-details dd {
    margin: 0;
    flex: 1;
}

.tc-evenement-actions {
    margin-top: 15px;
}

.tc-evenement-lieu {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

/* ===== Card d'un événement terminé ===== */
.tc-evenement-termine {
    opacity: 0.65;
    filter: grayscale(40%);
    background: #f5f5f5;
}

.tc-evenement-termine:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tc-evenement-termine .tc-evenement-thumb img {
    filter: grayscale(60%);
}

.tc-evenement-termine .tc-evenement-date-block {
    background: #888;
}

.tc-evenement-termine .tc-tarif-value {
    color: #888;
}

.tc-evenement-termine .uk-button-primary {
    background: #888;
    border-color: #888;
}

/* Places */
.tc-places-restantes {
    color: #2e7d32;
    font-weight: 700;
    font-size: 16px;
}
.tc-places-epuise {
    color: #820601;
    font-weight: 700;
    text-transform: uppercase;
}
.tc-places-total {
    color: #820601;
    font-weight: 700;
    font-size: 16px;
}

.tc-tarif-value {
    font-weight: 600;
    font-size: 16px;
    color: #001474;
}

/* Bloc date à droite */
.tc-evenement-date-block {
    flex: 0 0 220px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #820601;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    gap: 4px;
}

.tc-date-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-top: 6px;
}

.tc-date-label:first-child {
    margin-top: 0;
}

.tc-date-value {
    font-weight: 400;
    font-size: 18px;
}
/* ===== Pagination ===== */
.tc-evenements-pagination {
    margin-top: 30px;
    text-align: center;
}

.tc-evenements-pagination a,
.tc-evenements-pagination span {
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
}

.tc-evenements-pagination a:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.tc-evenements-pagination .current {
    background: #820601;
    color: white;
    border-color: #820601;
}

.tc-quantity-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

/* ===== Quantité places ===== */

.tc-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: background 0.15s;
}

.tc-qty-btn:hover {
    background: #e0e0e0;
}

.tc-quantity-stepper input[type="number"] {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 16px;
    -moz-appearance: textfield;
}

.tc-quantity-stepper input[type="number"]::-webkit-outer-spin-button,
.tc-quantity-stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Liste des participants ===== */
.tc-participants-list ul {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.tc-participants-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.tc-total-participants {
    color: #820601;
    text-transform: uppercase;
    font-weight: 700;
    margin: 8px 0 15px;
}