/* Studio 411 Ateliers */

/* Grid des ateliers */
.s411-atelier-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    justify-items: center;
}

.s411-atelier-offers-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.s411-atelier-offers-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.s411-atelier-offers-grid:has(.s411-atelier-offer-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .s411-atelier-offers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .s411-atelier-offers-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

/* Card */
.s411-atelier-offer-card {
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 650px;
    width: 100%;
    max-width: 450px;
}

.s411-atelier-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Image - 50% */
.s411-atelier-offer-image {
    width: 100%;
    height: 325px;
    overflow: hidden;
    background: #e0e0e0;
    flex-shrink: 0;
}

.s411-atelier-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.s411-atelier-offer-card:hover .s411-atelier-offer-image img {
    transform: scale(1.05);
}

/* Contenu */
.s411-atelier-offer-content {
    padding: 24px 32px 32px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* H3 */
.s411-atelier-offer-content h3 {
    margin: 0 0 12px 0;
    font-size: 32px;
    color: #1a1a1a;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

/* Professeur */
.s411-atelier-teacher {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    font-style: italic;
}

/* Paragraphe */
.s411-atelier-offer-content p {
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Meta info */
.s411-atelier-offer-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.s411-atelier-offer-meta:last-of-type {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.s411-atelier-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

/* Icônes NOIRES */
.s411-atelier-meta-item svg {
    width: 14px;
    height: 14px;
    color: #1a1a1a;
    flex-shrink: 0;
}

/* Lien site dans meta */
.s411-atelier-site-link-inline {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.s411-atelier-site-link-inline:hover {
    color: #00a5e8;
}

/* Pricing */
.s411-atelier-pricing {
    margin-bottom: 20px;
}

.s411-atelier-price {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 20px;
}

/* Bouton */
.s411-atelier-order-btn {
    display: inline-block;
    padding: 0;
    margin: 0 0 12px 0;
    background: transparent;
    border: none;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.s411-atelier-order-btn .arrow {
    color: #00a5e8;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.s411-atelier-order-btn:hover .arrow {
    transform: translateX(5px);
}

/* No offers */
.s411-atelier-no-offers {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .s411-atelier-offer-card {
        height: auto;
    }
    
    .s411-atelier-offer-image {
        height: 250px;
    }
    
    .s411-atelier-price {
        font-size: 40px;
    }
    
    .s411-atelier-offer-content h3 {
        font-size: 28px;
    }
    
    .s411-atelier-offer-content {
        padding: 32px 24px;
    }
}
