.blog{
    margin: 10% !important;
}
.blog h1{
    text-align: start;
}
.blog-hero{
    background-image: url('../images/PHOTO-2025-09-14-12-36-17.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 30px; 
    height: 656px; 
    display: flex;
    position: relative;
    color: white;
    margin-top: 15px;
}
.blog-hero h1{
    position: absolute;
    left: 5%;
    bottom: 14%;
}
.blog-hero p {
    position: absolute;
    left: 5%; 
    bottom: 5%;
    margin: 0;
    text-align: left;
}

.blog-hero p {
    font-size: 20px;
    font-family: "Inter", sans-serif;
    font-weight: 200;
}

.third{
    width: 100% !important;
}

.third h1{
    text-align: start !important;
    margin: 0 !important;
}

.third button{
    color: #1B0D00 !important;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 50px;
    margin: auto;
}

.pagination button, 
.pagination span {
    border: none;
    background: #f0f0f0; 
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .active {
    background-color: #DD6600 !important; 
    color: white !important;
}

.pagination button:hover {
    background-color: rgba(0, 0, 0, 0.2);
    background: #f0f0f0; 

}

.pagination span {
    cursor: default;
    background: none;
}

.pagination .prev-page, 
.pagination .next-page {
    font-size: 30px;
    padding-bottom: 21px; 
    background: #f0f0f0;
}

/* ===== RESPONSIVE - PAGE BLOG ===== */

/* Desktop Large */
@media (min-width: 1200px) {
    /* Styles pour écrans très larges */
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    /* Styles pour écrans desktop */
}

/* Tablet Large */
@media (max-width: 991px) and (min-width: 768px) {
    /* Styles pour tablettes larges */
}

/* Tablet */
@media (max-width: 991px) {
    /* Styles pour tablettes */
}

/* Mobile Large */
@media (max-width: 767px) and (min-width: 576px) {
    .blog {
        margin: 5% !important;
        margin-top: 100px !important;
    }
    
    .blog-hero {
        height: 400px;
        border-radius: 20px;
    }
    
    .blog-hero h1 {
        font-size: 24px;
        left: 4%;
        bottom: 12%;
    }
    
    .blog-hero p {
        font-size: 16px;
        left: 4%;
        bottom: 4%;
    }
    
    .blog .third {
        margin-top: 25px !important;
        gap: 0 !important;
    }
    
    .third h1 {
        font-size: 24px;
        margin: 0 0 15px 0 !important;
    }
    
    .une {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .articles {
        margin-bottom: 20px;
    }
    
    .articles img {
        width: 100%;
        height: auto;
    }
    
    .articles h3 {
        font-size: 18px;
        margin: 10px 0;
    }
    
    .articles p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .pagination {
        padding-top: 30px;
        gap: 8px;
    }
    
    .pagination button,
    .pagination span {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Mobile Medium */
@media (max-width: 575px) {
    .blog {
        margin: 4% !important;
        margin-top: 100px !important;
    }
    
    .blog h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .blog-hero {
        height: 300px;
        border-radius: 15px;
        margin-top: 10px;
    }
    
    .blog-hero h1 {
        font-size: 20px;
        left: 4%;
        bottom: 15%;
    }
    
    .blog-hero p {
        font-size: 14px;
        left: 4%;
        bottom: 5%;
    }
    
    .blog .third {
        margin-top: 25px !important;
        gap: 0 !important;
    }
    
    .third h1 {
        font-size: 22px;
        margin: 0 0 0 0 !important;
    }
    
    .une {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 20px;
    }
    
    .articles {
        margin-bottom: 0;
    }
    
    .articles img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    .articles h3 {
        font-size: 16px;
        margin: 12px 0 8px 0;
    }
    
    .articles p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .articles a {
        font-size: 14px;
    }
    
    .pagination {
        padding-top: 25px;
        gap: 6px;
    }
    
    .pagination button,
    .pagination span {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .pagination .prev-page,
    .pagination .next-page {
        font-size: 24px;
        padding-bottom: 18px;
    }
}

/* Mobile Small */
@media (max-width: 374px) {
    .blog {
        margin: 3% !important;
        margin-top: 100px !important;
    }
    
    .blog h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .blog-hero {
        height: 250px;
        border-radius: 12px;
        margin-top: 8px;
    }
    
    .blog-hero h1 {
        font-size: 18px;
        left: 4%;
        bottom: 18%;
    }
    
    .blog-hero p {
        font-size: 12px;
        left: 4%;
        bottom: 6%;
    }
    
    .blog .third {
        margin-top: 25px !important;
        gap: 0 !important;
    }
    
    .third h1 {
        font-size: 20px;
        margin: 0 0 12px 0 !important;
    }
    
    .une {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 15px;
    }
    
    .articles {
        margin-bottom: 0;
    }
    
    .articles img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .articles h3 {
        font-size: 15px;
        margin: 10px 0 6px 0;
    }
    
    .articles p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .articles a {
        font-size: 13px;
    }
    
    .pagination {
        padding-top: 20px;
        gap: 5px;
    }
    
    .pagination button,
    .pagination span {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .pagination .prev-page,
    .pagination .next-page {
        font-size: 22px;
        padding-bottom: 16px;
    }
}
