/*
CTC Separate Stylesheet
Updated: 2025-01-17 16:56:10
*/

#post-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

#post-container .post-item {
    width: calc(33% - 30px);
    border: 1px solid var(--e-global-color-75f633a);
    border-radius: 40px;
    box-shadow: 0 0 10px #AAA;
}

#post-container .post-right {
    padding: 20px 20px 30px 20px;
}

#post-container img {
    border-radius: 40px 40px 0px 0px;
    height: 250px;
    object-fit: cover;
}

#post-container button {
    padding: 10px 30px;
    width: 100%;
    font-size: 26px;
}

#post-container h3 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--e-global-color-2984a0c) !important;
    font-family: "Montserrat", Sans-serif;
}

#post-container h4 {
    font-weight: 300;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 30px;
}

#post-container hr {
    border-top: 1px solid var(--e-global-color-2984a0c) !important;
    color: red;
    background-color: red;
    margin-bottom: 20px;
    margin-top: 20px;
}

#post-container p {
    color: #999;
    font-weight: 400;
    margin-bottom: 20px;
}

#post-container a {
    color: var(--e-global-color-2984a0c);
}

.sort-filter-container {
    margin-bottom: 50px;
}

#post-container .image {
    position: relative;
}

#post-container .image .category {
    position: absolute;
    top: 30px;
    right: 40px;
    border-radius: 100px;
    background-color: var(--e-global-color-2984a0c);
    padding: 0px 10px;
    color: white;
    font-family: "Montserrat", Sans-serif;
}

.pagination {
    gap: 20px;
    display: flex;
    margin: 20px auto;
    align-items: center;
    justify-content: center;
}

#post-container .custom-select {
    background: transparent;
    color: grey;
    font-size: 18px;
    border: none;
    outline: none;
    /* Supprime l'apparence native de la select */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Optionnel : ajouter un padding pour améliorer la lisibilité */
    padding: 5px 10px;
}

.pagination a {
    color: var(--e-global-color-2984a0c);
}

.pagination a:hover {
    color: var(--e-global-color-063af43);
}

.pagination button {
    color: var(--e-global-color-2984a0c);
    border: 1px solid var(--e-global-color-2984a0c) !important;
}

.pagination button:hover, .pagination .number-page-active {
    color: white !important;
    background-color: var(--e-global-color-2984a0c);
}

.ligne-de-tarif-widget {
    display: flex;
    justify-content: space-between;
}

.ligne-de-tarif-widget .ligne-de-tarif-title,
.ligne-de-tarif-widget .ligne-de-tarif-price {
    color: var(--e-global-color-2542029);
    font-size: 20px;
}

.ligne-de-tarif-widget .ligne-de-tarif-button {
    background-color: transparent;
    color: var(--e-global-color-2542029);
    border: 1px solid var(--e-global-color-2542029);
    border-radius: 100px;
    padding: 5px 15px;
}

.ligne-de-tarif-widget .ligne-de-tarif-button:hover {
    background-color: var(--e-global-color-2542029);
    color: white;
    border: 1px solid var(--e-global-color-2542029);
}



.select-menu {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* ajustez si nécessaire */
}

/* Bouton d'affichage du select personnalisé */
.select-menu .select-btn {
    display: flex;
    height: 55px;
    background: transparent;
    /* padding: 10px 20px; */
    font-size: 18px;
    /* border: 1px solid #ccc; */
    border-radius: 8px;
    align-items: center;
    cursor: pointer;
    justify-content: flex-start;
    color: grey;
    font-family: 'Montserrat';
    font-weight: 600;
}

/* Rotation de l'icône lors de l'ouverture */
.select-menu.active .select-btn svg {
    transform: rotate(-180deg);
}

.select-menu .select-btn svg {
    fill: grey;
    width: 20px;
    margin-left: 20px;
}

/* Liste des options */
.select-menu .options {
    position: absolute;
    width: 100%;
    top: 65px;
    left: 0;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: transparent;
    display: none;
    list-style: none;
    z-index: 100;
    background-color: white;
    font-family: 'Montserrat';
}

/* Affichage de la liste lorsque le menu est actif */
.select-menu.active .options {
    display: block;
}

/* Style de chaque option */
.select-menu .options .option {
    padding: 10px 20px;
    cursor: pointer;
    color: grey;
    font-size: 18px;
}

/* Survol d'une option */
.select-menu .options .option:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Style du texte dans l'option */
.select-menu .options .option .option-text {
    display: inline-block;
}

i {
    transition: transform 0.3s ease;
}

/* Classe pour la rotation de 180 degrés */
.rotate {
    transform: rotate(180deg);
}


@media(max-width: 1024px) {
    #post-container .post-item {
        width: calc(50% - 30px);
    }
}

@media(max-width: 768px) {
    #post-container .post-item {
        width: 100%;
    }
}
