/* Layout Principal */
.single_advert {
    display: flex;
    width: 100%;
    justify-content: center;
}

.single_advert_sz {
    display: flex;
    width: calc(100% - 20px);
    max-width: 1280px;
    flex-direction: column;
    align-items: center;
}

/* Fil d'Ariane */
.single_advert_ariane {
    display: flex;
    width: 100%;
    margin: 44px 0;
}

.single_advert_ariane_i {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.single_advert_ariane_i > span:nth-child(1) {
    display: flex;
    align-items: center;
}

.single_advert_ariane_i > span:nth-child(1) svg {
    display: block;
    height: 14px;
    width: auto;
    margin-right: 7px;
    position: relative;
    top: -1px;
}

.single_advert_ariane_i > span:nth-child(2) {
    display: flex;
    align-items: center;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1;
}

.single_advert_ariane_i:nth-child(2n+1) > span:nth-child(2) {
    color: #17B3B3;
}

.single_advert_ariane_i:nth-child(2n) > span:nth-child(2),
.single_advert_ariane_i:nth-child(1) > span:nth-child(2) {
    color: #024343;
}

.single_advert_ariane > .separator {
    display: inline-block;
    color: #054343;
    margin: 0 10px;
}

/* Colonnes Principales */
.single_advert_two_column {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.single_advert_left {
    display: flex;
    width: 66%;
    flex-direction: column;
    align-items: flex-start;
}

.single_advert_right {
    display: flex;
    width: 34%;
}

.single_advert_right_sz {
    display: flex;
    width: 100%;
}
/* Titre */
.single_advert_ttl {
    display: block;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 46px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 40px;
    color: #024343;
}

/* Galerie */
.single_advert_galery {
    display: block;
    width: 100%;
    aspect-ratio: 850/446;
    background: #EAFAFA;
    border-radius: 20px;
    overflow: hidden;
}

.single_advert_galery_layer_slk {
    display: block;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    margin: 8px;
    border-radius: 14px;
    overflow: hidden;
}

.single_advert_galery_layer_slk .slick-list,
.single_advert_galery_layer_slk .slick-list > .slick-track {
    height: 100%;
}

.single_advert_galery_i {
    display: flex !important;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.single_advert_galery_i img {
    display: block;
    width: auto;
    height: 100%;
}

/* Contrôles Galerie */
.single_advert_galery_layer_cmd {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    top: -100%;
    border-radius: 20px;
    overflow: hidden;
    justify-content: space-between;
}

.single_advert_galery_layer_cmd_left,
.single_advert_galery_layer_cmd_right {
    display: flex;
    width: 80px;
    align-items: center;
}

.single_advert_galery_layer_cmd_left {
    margin-left: 20px;
    justify-content: flex-start;
    visibility: hidden;
}

.single_advert_galery_layer_cmd_right {
    margin-right: 20px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.single_advert_galery_layer_cmd_left_arr,
.single_advert_galery_layer_cmd_right_arr {
    display: flex;
    justify-items: center;
    align-items: center;
}

.single_advert_galery_layer_cmd_right_arr {
    transform: rotate(180deg);
}

.single_advert_galery_layer_cmd_arr_i {
    display: flex;
    background: #17B3B3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 345ms ease;
}

.single_advert_galery_layer_cmd_arr_i:hover {
    background: #054343;
}

.single_advert_galery_layer_cmd_right_pos {
    display: flex;
    height: calc(50% - 30px - 20px);
    width: 100%;
    align-items: flex-end;
    margin-bottom: 20px;
}

.single_advert_galery_layer_cmd_right_pos_data {
    display: flex;
    width: 100%;
    border-radius: 17px;
    background: #FFFFFF;
    align-items: center;
    justify-content: space-evenly;
    padding: 4px 0;
}

.single_advert_galery_layer_cmd_right_pos_data > div:nth-child(1) {
    display: flex;
}

.single_advert_galery_layer_cmd_right_pos_data > div:nth-child(1) svg {
    height: 14px;
    width: auto;
}

.single_advert_galery_layer_cmd_right_pos_data > div:nth-child(2) {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0;
    color: #17B3B3;
}

/* Miniatures */
.single_advert_img_s {
    display: flex;
    width: 100%;
    margin-top: 27px;
    align-items: flex-start;
}

.single_advert_img_i {
    display: block;
    width: 106px;
    height: 76px;
    margin-right: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid #FFFFFF;
}

.single_advert_img_i.current {
    border: 4px solid #EAFAFA;
}

.single_advert_img_i img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Auteur et Prix */
.single_advert_ap {
    display: flex;
    width: 100%;
    margin-top: 60px;
    justify-content: space-between;
    border-bottom: 1px solid #22B4B3;
    padding-bottom: 22px;
    margin-bottom: 36px;
}

.single_advert_a {
    display: flex;
    width: 50%;
    flex-direction: column;
}

.single_advert_a_author > span:nth-child(1),
.single_advert_a_author > span:nth-child(2) {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 40px;
}

.single_advert_a_author > span:nth-child(1) {
    color: #17B3B3;
}

.single_advert_a_author > span:nth-child(2) {
    color: #024343;
}

.single_advert_a_date {
    margin-top: 6px;
}

.single_advert_a_date > span {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 40px;
    color: #909090;
}

.single_advert_a_date > span:nth-child(1) {
    font-weight: 400;
}

.single_advert_a_date > span:nth-child(2) {
    font-weight: 500;
}

.single_advert_p {
    display: flex;
    width: 50%;
    justify-content: flex-end;
}

.single_advert_p_val {
    display: flex;
    padding: 10px 20px;
    border: 2px solid #22B4B3;
    border-radius: 31px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1;
    color: #024343;
    align-items: center;
}

/* Attributs */
.single_advert_attr_i {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
}

.single_advert_attr_i_icon {
    display: flex;
    background: #024343;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.single_advert_attr_i_icon svg {
    display: block;
    width: 12px;
    fill: #FFFFFF;
}

.single_advert_attr_i_value {
    display: flex;
    width: calc(100% - 50px);
    align-items: center;
}

.single_advert_attr_i_value > span {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1;
}

.single_advert_attr_i_value > span:nth-child(1) {
    font-weight: 500;
    color: #909090;
}

.single_advert_attr_i_value > span:nth-child(2) {
    font-weight: 500;
    color: #024343;
}

/* Description */
.single_advert_desc {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: 40px;
}

.single_advert_desc_ttl {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 26px;
    letter-spacing: 0;
    line-height: 1;
    color: #024343;
    border-bottom: 1px solid #22B4B3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.single_advert_desc_txt {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 20px;
}

.single_advert_contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.single_advert_contact_i {
    align-items: center;
    background: #17b3b3;
    background: #17B3B3 0% 0% no-repeat padding-box;
    border-radius: 29px;
    display: flex;
    padding: 10px 20px;
    text-decoration: none;
    margin: 10px 0px;
}

.single_advert_contact_i > span:nth-child(1) svg {
    fill: #fff;
    height: 18px;
    margin-right: 10px;
    width: auto;
}

.single_advert_contact_i > span:nth-child(2) {
    align-items: center;
    display: flex;
}

.single_advert_contact_i > span:nth-child(2) > span:nth-child(1) {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
}

.single_advert_contact_i > span:nth-child(2) > span:nth-child(2) {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}


/* section derniers annonces */
.single_advert_derniers {
    display: flex;
    width: 100%;
    justify-content: center;
    background: #024343;
    margin-top: 70px;
}

.single_advert_dernier_sz {
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    max-width: 1280px;
}

.single_advert_dernier_ttl {
    display: block;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    margin: 50px 0px 10px 0px;
}


/* begin version responsive */
/* ============================================= */
/* MEDIA QUERIES - RESPONSIVE */
/* ============================================= */

@media screen and (max-width: 1200px) {
    .single_advert_two_column {
        flex-direction: column;
    }

    .single_advert_left,
    .single_advert_right {
        width: 100%;
    }

    .single_advert_right {
        margin-top: 40px;
    }

    .single_advert_galery {
        aspect-ratio: 16/9;
    }

    .single_advert_dernier_ttl {
        margin: 30px 0px 10px 0px;
    }
}

@media screen and (max-width: 992px) {
    .single_advert_ttl {
        font-size: 36px;
    }

    .single_advert_ap {
        flex-direction: column;
    }

    .single_advert_a,
    .single_advert_p {
        width: 100%;
    }

    .single_advert_p {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .single_advert_dernier_ttl {
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    .single_advert_ttl {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .single_advert_ariane {
        margin: 30px 0;
    }

    .single_advert_img_i {
        width: 80px;
        height: 60px;
    }

    .single_advert_attr_i_value > span {
        font-size: 16px;
    }

    .single_advert_desc_ttl {
        font-size: 22px;
    }

    .single_advert_desc_txt {
        font-size: 16px;
    }

    .single_advert_contact_i {
        padding: 8px 16px;
    }
}

@media screen and (max-width: 576px) {
    .single_advert_ttl {
        font-size: 24px;
    }

    .single_advert_ariane_i > span:nth-child(2) {
        font-size: 14px;
    }

    .single_advert_galery_layer_cmd_left,
    .single_advert_galery_layer_cmd_right {
        width: 60px;
    }

    .single_advert_galery_layer_cmd_arr_i {
        width: 50px;
        height: 50px;
    }

    .single_advert_img_i {
        width: 70px;
        height: 50px;
        margin-right: 8px;
    }

    .single_advert_p_val {
        font-size: 24px;
        padding: 8px 16px;
    }

    .single_advert_contact_i > span:nth-child(2) > span:nth-child(1) {
        font-size: 12px;
    }

    .single_advert_contact_i > span:nth-child(2) > span:nth-child(2) {
        font-size: 14px;
    }

    .single_advert_dernier_ttl {
        font-size: 24px;
    }
}

/* Points de rupture spécifiques */
@media screen and (max-width: 480px) {
    .single_advert_img_i {
        width: 60px;
        height: 45px;
    }

    .single_advert_galery_layer_cmd_right_pos_data > div:nth-child(2) {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .single_advert_contact {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

@media screen and (max-width: 400px) {
    .single_advert_img_i {
        width: 50px;
        height: 40px;
    }

    .single_advert_attr_i_icon {
        width: 35px;
        height: 35px;
    }

    .single_advert_attr_i_value {
        width: calc(100% - 45px);
    }
}
/* end version responsive */


/* ajustements spéciales */


#menu-menu-single-advert {
    display: flex;
    width: calc(100% - 20px);
    flex-direction: column;
    padding: unset;
    margin: unset;
    margin-left: 20px;
    list-style: none;
}

#menu-menu-single-advert li {
    margin: unset !important;
}

#menu-menu-single-advert li a {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0px 0px;
    color: #024343;
    text-decoration: none;
    border-bottom: 1px solid #17B3B355;
    padding: 20px 0px;
}

#menu-menu-single-advert li a:hover {
    background: #17B3B355;
}

@media (max-width: 1024px) {
    #menu-menu-single-advert li a {
        font-size: 18px;
        padding: 16px 0px;
    }
}
