/* STYLE MODERNE ET ÉPURÉ */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #222;
    color: white;
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo img, .logo-img {
    height: auto;
    width: auto;
    max-height: 160px;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

header.shrink {
    padding: 7px 0;
}

header.shrink .logo img,
header.shrink .logo-img {
    max-height: 70px;
}


/* Réduction de l'espacement sous les titres */
h2 {
    margin-bottom: 20px; /* Ajusté pour un espace plus naturel */
}
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: auto;
}

.parallax {
    background: url('../assets/carousel/image1.jpg') center/cover fixed;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

footer {
    text-align: center;
    padding: 10px;
    background: #222;
    color: white;
}

													/* page de login */
.login-container {
    max-width: 360px;
    width: 100%;
    background: white;
    padding: 20px; /* Réduction de l’espace intérieur */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 80px auto 20px auto; /* Ajustement du centrage */
    text-align: center;
}

.login-container h2 {
    font-size: 22px; /* Réduction de la taille du titre */
    margin-bottom: 15px; /* Réduction de l’espace sous le titre */
}

.login-container form {
    text-align: left;
}

.login-container .form-label {
    font-size: 14px;
    font-weight: bold;
}

.login-container .form-control {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.login-container button {
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.login-container button:hover {
    background: #0056b3;
}

        nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
        }

        nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

        nav ul li {
            margin: 0 15px;
        }
@media screen and (max-width: 480px) {
    .login-container {
        max-width: 250px; /* Réduction de la largeur */
        margin: 30px auto;
        padding: 15px;
    }

    .login-container h2 {
        font-size: 18px;
    }

    .login-container .form-control {
        font-size: 13px;
        padding: 6px;
    }

    .login-container button {
        font-size: 14px;
        padding: 8px;
    }

}
.btn-login {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    background-color: #007bff; !important;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #0056b3; !important;
}
											
													/* fin de la page de login */
.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

/* Conteneur principal de la section "Actualités" */
.news-container {
    display: flex;
    justify-content: center;
    margin-top: 10px; /* Réduction de l'espace après le titre */
}

.news-box {
    width: 95%;
    max-width: 1200px; /* Limite la largeur sur grand écran */
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-box article {
    margin-bottom: 5px; /* Réduction de l'espace entre les articles */
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.news-box article:last-child {
    border-bottom: none;
}

.news-box h3 a {
    font-size: 14px; /* Légèrement plus petit */
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.2;
}

.news-box h3 a:hover {
    text-decoration: underline;
}

.news-box p {
    font-size: 12px;
    color: #555;
    margin: 3px 0; /* Réduction de l'espacement vertical */
    line-height: 1.2;
}

.news-box small {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* Ajustement spécifique pour la section news */
#news h2 {
    margin-bottom: 5px; /* Rapproche le titre du flux */
    padding-left: 50px; /* Décale légèrement le titre vers la gauche */
}

/* Conteneur principal de la section "À propos" */
.about-container {
    display: flex;
    justify-content: center;
    margin-top: 10px; /* Réduction de l'espace après le titre */
}

.about-box {
    width: 95%;
    max-width: 1200px; /* Limite la largeur sur grand écran */
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Ajustement spécifique pour la section about */
#about h2 {
    margin-bottom: 5px; /* Rapproche le titre */
    padding-left: 50px; /* Décale légèrement le titre vers la gauche */
}

/* Ajustement spécifique pour la section annonces */
#annonces h2 {
    margin-bottom: 5px; /* Rapproche le titre */
    padding-left: 50px; /* Décale légèrement le titre vers la gauche */
}

/* Style unifié pour les titres de section */
.section-title {
    text-align: left;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    padding-left: 50px; /* Ajustement pour ne pas être totalement à gauche */
    margin-bottom: 15px; /* Réduction de l’espace sous le titre */
}

/* Appliquer l'effet Parallax */
.section-header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligne le contenu vers la gauche */
    padding-left: 50px; /* Ajoute un léger décalage */
}
														/* Conteneur principal de la section "Dernières annonces" */
.annonces-container {
    display: flex;
    justify-content: center;
    margin-top: 10px; /* Réduction de l'espace après le titre */
}

.annonces-box {
    width: 95%;
    max-width: 1200px; /* Limite la largeur sur grand écran */
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.annonces-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Espacement entre les annonces */
}

.annonce-wrapper {
    width: calc(33.333% - 13.33px); /* 3 annonces par ligne */
    display: flex;
    justify-content: center;
}

.annonce-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.annonce {
    width: 100%;
    background: #fff;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.annonce-img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.annonce-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.annonce h3 {
    font-size: 16px;
    color: #222;
    margin: 5px 0;
}

.annonce p {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
}

.annonce-description {
    margin: 10px 0;
    font-size: 13px;
    color: #333;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 5px;
}

.annonce-btn {
    margin-top: auto;
    align-self: flex-start;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.annonce-btn:hover {
    background-color: #0056b3;
}


														/* fin Conteneur principal de la section "Dernières annonces" */
														
														/* Styles dédiés pour le détail des annonces */
/* Page de détail des annonces */
.detail-annonce-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-annonce__btn-retour {
    align-self: flex-start;
	margin-top: 10px  !important; /* ← Décalage vers le bas */
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detail-annonce__btn-retour:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.detail-annonce__wrapper {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.detail-annonce__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.detail-annonce__title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.detail-annonce__price {
    font-size: 22px;
    color: #28a745;
    font-weight: bold;
    white-space: nowrap;
}

.detail-annonce__content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}


.detail-annonce__photos {
    flex: 0 0 60%;
    max-width: 40%;
}

.detail-annonce__main-photo {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: left;
    justify-content: left;
    overflow: hidden;
}

.detail-annonce__main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-annonce__thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.detail-annonce__thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.detail-annonce__thumbnail--active {
    border-color: #28a745;
}

.detail-annonce__specs {
    flex: 0 0 40%;
    max-width: 40%;
	justify-content: flex-start; /* ✅ Aligne tout à gauche */
}

.detail-annonce__specs-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    height: 73%;
	width: 100%; /* ✅ Pour s'assurer qu'il prend bien toute la largeur dispo */
    text-align: left; /* ✅ Corrige tout texte aligné à droite */
}

.detail-annonce__specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 5px;
}

.detail-annonce__spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.detail-annonce__spec-label {
    font-weight: bold;
    color: #666;
}

.detail-annonce__bottom {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    width: 100%;
}

.detail-annonce__description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.detail-annonce__contact {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.detail-annonce__contact-info {
    margin-bottom: 20px;
}

.detail-annonce__form {
    display: grid;
    gap: 15px;
}

.detail-annonce__form-group {
    display: grid;
    gap: 5px;
}

.detail-annonce__form-group input,
.detail-annonce__form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-appearance: none;
}
/* Nouveau conteneur autour de l'image principale + vignettes */
.photo-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/* Par défaut, les vignettes restent horizontales */
.detail-annonce__thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}


@media screen and (min-width: 993px) {
    .detail-annonce__content {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
        width: 105%;
    }

    .detail-annonce__photos {
        display: flex;
        flex-direction: row;
        gap: 15px;
        flex-shrink: 0;
    }

    .photo-wrapper {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }

    .detail-annonce__main-photo {
        width: 420px;
        background: #f8f9fa;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
    }

    .detail-annonce__main-photo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .detail-annonce__thumbnails {
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow-y: auto;
        max-height: 350px;
        padding: 0;
    }

    .detail-annonce__thumbnail {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        border: 2px solid transparent;
    }

    .detail-annonce__thumbnail--active {
        border-color: #28a745;
    }

    .detail-annonce__specs {
        flex-grow: 1;
        max-width: 600px;
    }

    .detail-annonce__specs-content {
        width: 100%;
        text-align: left;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
	.detail-annonce__bottom {
    grid-template-columns: 1fr; /* ← On met une seule colonne */
}

.detail-annonce__description {
    max-width: 100%;
}

}

@media screen and (max-width: 992px) {
    .photo-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .detail-annonce__thumbnails {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        overflow-x: auto;
        max-width: 100%;
        margin-top: 4px; /* ← réduit l’espace ici */
    }

    .detail-annonce__thumbnail {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .detail-annonce__main-photo {
        width: 100%;
        max-width: 400px;
    }
	    .detail-annonce__specs {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    .detail-annonce__specs-content {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .detail-annonce__specs-grid {
        grid-template-columns: repeat(2, 1fr); /* ou 1fr si tu veux une seule colonne */
        gap: 10px;
    }
}




/* Styles spécifiques pour Safari */
@supports (-webkit-touch-callout: none) {
    .detail-annonce__main-photo {
        height: 300px;
    }

    .detail-annonce__main-photo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .detail-annonce-container {
        padding: 15px;
    }

    .detail-annonce__specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .detail-annonce__content {
        flex-direction: column;
    }

    .detail-annonce__photos,
    .detail-annonce__specs {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .detail-annonce__bottom {
        grid-template-columns: 1fr;
    }

    .detail-annonce__main-photo {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .detail-annonce-container {
        padding: 10px;
    }

    .detail-annonce__wrapper {
        padding: 15px;
    }

    .detail-annonce__header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .detail-annonce__title {
        font-size: 20px;
    }

    .detail-annonce__price {
        font-size: 18px;
    }

    .detail-annonce__main-photo {
        height: 400px;
    }

    .detail-annonce__specs-content,
    .detail-annonce__description,
    .detail-annonce__contact {
        padding: 15px;
    }

    .detail-annonce__specs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-annonce__spec-item {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .detail-annonce-container {
        padding: 5px;
    }

    .detail-annonce__wrapper {
        padding: 10px;
        border-radius: 0;
    }

    .detail-annonce__btn-retour {
        padding: 8px 15px;
        font-size: 14px;
    }

    .detail-annonce__title {
        font-size: 18px;
    }

    .detail-annonce__price {
        font-size: 16px;
    }

    .detail-annonce__main-photo {
        height: 250px;
    }

    .detail-annonce__thumbnail {
        width: 50px;
        height: 50px;
    }

    .detail-annonce__specs-content,
    .detail-annonce__description,
    .detail-annonce__contact {
        padding: 12px;
        border-radius: 8px;
    }

    .detail-annonce__form-group input,
    .detail-annonce__form-group textarea {
        padding: 6px;
        font-size: 16px;
    }
}
														/* Fin Styles dédiés pour le détail des annonces */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.photo-modal.active {
    display: flex;
}

.photo-modal-image {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}


.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: row;
}

.photo-modal.active {
    display: flex;
}

.photo-modal-image {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    z-index: 1000;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.photo-nav {
    font-size: 3rem;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    user-select: none;
    z-index: 1001;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    transition: background 0.2s ease;
}

.photo-nav:hover {
    background: rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
    .photo-nav {
        display: none; /* Masque les flèches sur mobile */
    }
}


														/* Styles pour le modal de contact */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #000;
}

.modal-title {
    margin-bottom: 20px;
    padding-right: 30px;
}
														/* Fin Styles pour le modal de contact */
.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-left: auto;
}

.contact-button:hover {
    background-color: #e9ecef;
    border-color: #dde2e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
																/* Styles de pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    display: block;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #333;
    text-decoration: none;
}
															/* Fin Styles de pagination */

.d-none {
    display: none;
}


/* 🌟 Styles du menu burger 🌟 */
.burger-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
}
@media screen and (max-width: 768px) {
/* HEADER PRINCIPAL */
header {
    height: 100px;
    background: #222;
    color: white;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ✅ Réduction du header au scroll */
header.shrink {
    height: 60px;
}

/* BARRE DE NAVIGATION */
nav {
    height: 100%;
    display: flex;
    align-items: center; /* Centrer verticalement */
    justify-content: space-between; /* Logo à gauche, burger à droite */
    padding: 0 20px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    max-width: 90px;
    max-height: 60px;
    height: auto;
    transition: all 0.3s ease;
}

/* ✅ Réduction du logo quand on scroll */
header.shrink .logo-img {
    max-height: 28px;
}

/* ✅ MENU NAVIGATION */
.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}


/* Affichage mobile */
@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;  /* ✅ Moins large */
        background: #1a1a1a; /* ✅ Gris très foncé au lieu de noir */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 10px 15px;
        z-index: 1000; /* ✅ Toujours au-dessus */

        /* Animation */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: visibility 0s linear 0.2s, opacity 0.2s ease-out, transform 0.2s ease-out;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.2s ease-in, transform 0.2s ease-in;
    }

    .nav-links li {
        margin: 5px 0; /* ✅ Espacement vertical réduit */
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: normal; /* ✅ Police plus fine */
        font-size: 14px; /* ✅ Texte plus petit */
        padding: 8px 0;
        display: block;
    }

    /* Sélecteur du thème bien intégré */
    .menu-style {
        color: white;
        font-weight: normal;
        font-size: 14px;
        padding-top: 10px;
    }

    .menu-style select {
        width: 100%;
        padding: 5px;
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {
    /* 🟢 Conteneur principal des annonces */
    .annonce-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        width: 100%;
    }

    /* 🟢 Image de l'annonce */
    .annonce-wrapper img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

    /* 🟢 Détails de l'annonce */
    .annonce-details {
        width: 100%;
        padding: 10px;
        text-align: left;
    }

    /* 🟢 Description de l'annonce */
.annonce-description {
    max-height: 60px;
    overflow: hidden;
    position: relative;
    text-align: left;
    padding: 5px 10px;
    background: #f9f9f9;
    border-radius: 5px;
    transition: max-height 0.3s ease-out;
    word-wrap: break-word; /* Corrige les coupures de texte sur mobile */
}

/* 🟢 Masquer la version complète par défaut */
.full-text {
    display: none;
    word-wrap: break-word;
}


												/* 🟢 Mise en page du flux rss*/

												/* 🟢 Fin de mise en page du flux rss*/