/* Slider Container */
.bloghash-slider-container {
    position: relative;
    max-width: 98%;
    margin: 0 auto;
    overflow: hidden;
    background: #f5f5f5;
}

/* Slider Wrapper */
.bloghash-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* Individual Slide */
.bloghash-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Slide Image */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    margin: 20px;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.slide-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.slide-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Navigation Arrows - IMPORTANT: Rendre visibles */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000; /* Z-index élevé pour être au-dessus de tout */
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Navigation Dots - IMPORTANT: Rendre visibles */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 1000; /* Z-index élevé pour être au-dessus de tout */
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.3);
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid white;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.slider-dot.active {
    background: #0073aa;
    border-color: #0073aa;
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bloghash-slide {
        min-height: 400px;
    }
    
    .slide-content {
        padding: 20px;
        margin: 10px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-excerpt {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .bloghash-slide {
        min-height: 300px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-button {
        padding: 10px 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
}

// Méthodes d'apprentissage
/* ========== Section Méthodologie d'apprentissage ========== */
.home-learning-method {
    padding: 80px 0;
    background: #f8f9fa;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.method-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.method-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
}

.method-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.method-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.method-content {
    padding: 25px 30px;
    flex-grow: 1;
}

.method-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0073aa;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.method-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.method-feature:last-child {
    margin-bottom: 0;
}

.feature-icon {
    flex-shrink: 0;
    color: #46b450;
    font-size: 1.1rem;
    margin-top: 2px;
}

.feature-text {
    color: #555;
    line-height: 1.5;
    font-size: 1.5rem;
}

.method-footer {
    padding: 20px 30px;
    border-top: 1px solid #eaeaea;
    background: #fafafa;
}

.method-button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 115, 170, 0.2);
}

.method-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cta-text {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 115, 170, 0.3);
    gap: 15px;
}

img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1.7em !important;
    width: 1.7em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .method-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .method-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
