@charset "utf-8";
/* CSS Document */

.sep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sep-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.sep-card:hover {
    transform: translateY(-5px);
}

.sep-card-image img {
    width: 100%;
    height: auto;
}

.sep-card-content {
    padding: 20px;
}

.sep-date {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 10px;
}

.sep-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #e10600;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    transition: 0.3s;
    font-weight: 600;
}

.sep-btn:hover {
    background: #b00000;
}

.sep-filter select {
    padding: 8px;
}

.sep-home-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sep-home-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.sep-home-date {
    font-size: 14px;
    color: #888;
    display: block;
}

.sep-home-item h4 {
    margin: 5px 0 0;
    font-size: 16px;
}

.sep-home-item a {
    text-decoration: none;
    color: #111;
}

.sep-home-item a:hover {
    text-decoration: underline;
}

.sep-home-button {
    text-align: center;
    margin-top: 40px;
}

.sep-view-all {
    padding: 12px 24px;
    font-size: 16px;
}

/* CONTENEUR FILTRE */
.sep-filter {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* SELECTS */
.sep-filter select {
    width: auto !important;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 0 !important;
    font-size: 14px;
    display: inline-block !important;
}

/* BOUTON */
.sep-filter button {
    width: auto !important;
    padding: 10px 18px;
    background: var(--theme-palette-color-2);
    color: #fff;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sep-filter button:hover {
    background: #b00000;
	color:#fff;
}

/*page Simple Evenement*/
.sep-single-date {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #f5f5f5;
    border-left: 4px solid #e10600;
}

@media(max-width: 768px){
    .sep-card-home {
        flex-direction: column;
    }

    .sep-card-home-image img {
        width: 100%;
    }
	
	.sep-filter select
	{
		width:100% !important;
		min-width: inherit;
	}
}

/* GRILLE 4 COLONNES HOME */
.sep-home-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* CARTES TUILE */
.sep-card {
    background: #fff;
    border-radius: 0; /* angles droits */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
	max-width:100%;
}

.sep-card:hover {
    transform: translateY(-3px);
}

/* IMAGE */
.sep-card-image {
    width: 100%;
    aspect-ratio: 2.88 / 1 !important; /* largeur / hauteur */
    overflow: hidden;
}

.sep-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* garde le ratio, crop si nécessaire */
    display: block;
}

/* CONTENU */
.sep-card-content {
    padding: 20px;
}

.sep-date {
    font-size: 14px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

/* BOUTON */
.sep-card .sep-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #e10600 !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0 !important;
    font-weight: 600;
}

.sep-card .sep-btn:hover {
    background: #b00000 !important;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .sep-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .sep-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sep-home-grid {
        grid-template-columns: 1fr;
    }
}

.sep-card-home-top {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sep-home-date {
    font-size: 14px;
    color: #888;
}

.sep-card-home .sep-btn {
    background: #e10600 !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 8px 14px;
    font-size: 14px;
}

