/* Page Events - Nouveau design */
body.page-template-template-events #main-content {
    padding-top: 0;
    background: #121212;
}

/* Agrandir le logo sur la page Events */
body.page-template-template-events .brand {
    width: 60px;
    height: 60px;
}

body.page-template-template-events .brand-logo {
    width: 42px;
    height: 42px;
}

.events-page-new {
    width: 100%;
    min-height: 100vh;
    background: #121212;
    padding: 6rem 196px;
    position: relative;
}

.events-page-new .container-fluid {
    max-width: 100%;
}

.events-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 4rem 0;
    padding: 0;
    line-height: 1;
    display: block;
}

.events-page-title .events-title-white {
    color: #ffffff;
}

.events-page-title .events-title-orange {
    color: #ff6b35;
    text-decoration: underline;
    text-decoration-color: #ff6b35;
    text-underline-offset: 0.2em;
}

.events-grid {
    display: flex;
    gap: 3rem;
    margin: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.events-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
}

.event-card-new {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 220px;
    width: 100%;
    min-height: 220px;
    max-height: 220px;
}

.event-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.event-card-image {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-sizing: border-box;
}

.event-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.event-card-description {
    font-size: 0.85rem;
    color: #666666;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1 1 auto;
}

.event-card-button {
    font-size: 0.85rem;
    color: #ffffff;
    background: #ff6b35;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: auto;
    min-width: 80px;
    height: 32px;
    flex-shrink: 0;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.event-card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.event-card-button:hover {
    background: #e55a2b;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
}

.event-card-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1400px) {
    .events-page-new {
        padding: 6rem 100px;
    }
}

@media (max-width: 1024px) {
    .events-page-new {
        padding: 4rem 50px;
    }
    
    .events-page-title {
        font-size: 2.5rem;
    }
    
    .event-card-image {
        width: 150px;
        min-width: 150px;
    }
    
    .event-card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .events-page-new {
        padding: 4rem 20px;
    }
    
    .events-grid {
        flex-direction: column;
    }
    
    .events-column {
        width: 100%;
    }
    
    .event-card-new {
        flex-direction: column;
    }
    
    .event-card-image {
        width: 100%;
        height: 200px;
    }
    
    .events-page-title {
        font-size: 2rem;
        text-align: left;
    }
}
