.apartment-card {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size 0.5s ease;
    aspect-ratio: 5/3;
    border-radius: 16px;
    padding: 15px;
}
.apartment-card:hover {
    background-size: 105%;
}
.apartment-card .content {
    background-color: rgba(34,34,55,0.8);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
}
.apartment-card .content h3 {
    margin-top: .3125rem;
    font-family: new-spirit, serif;
    font-size: .875rem;
    font-weight: 400;
}
.apartment-card .content .ville {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/***** Page détail - Template Legacy design *****/
.single-tf_apartment {
    color: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-title h1 {
    font-family: "new-spirit", serif;
    font-weight: 600 !important;
    color: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-title-wrap .tf-wishlist-button {
    display: none !important;
}
.single-tf_apartment .section-heading,
.single-tf_apartment h5 {
    color: var(--wp--preset--color--color-1) !important;
    font-family: "new-spirit", serif;
    font-size: 2rem !important;
    font-weight: 500 !important;
    margin-top: 3vh;
    margin-bottom: 2vh;
}
.single-tf_apartment .tf-single-template__legacy .apt-description,
.single-tf_apartment .tf-single-template__legacy .apt-description p {
    color: var(--wp--preset--color--color-1) !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
}
.single-tf_apartment .tf-single-template__legacy .apt-description h3 {
    font-family: "new-spirit", serif;
    font-size: 1.5rem !important;
    margin-top: 3vh;
    margin-bottom: 2vh;
    font-weight: 500;
}
.single-tf_apartment .tf-single-template__legacy .apt-description ul li {
    list-style-type: disc;
}
.single-tf_apartment .tf-single-template__legacy .apt-description h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 2vh;
    margin-bottom: 1vh;
}
.single-tf_apartment .tf-single-template__legacy .apt-description a {
    text-decoration: underline !important;
    font-weight: 500 !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-rooms .tf-apartment-default-design-room-slider::after {
    display: none !important;
}

.single-tf_apartment .tf-apartment-left .tf-apt-highlights-wrapper .tf-apt-highlight,
.single-tf_apartment .tf-apartment-right .apartment-booking-form #tf-apartment-booking,
.single-tf_apartment .tf-apartment-amenities-inner {
    border-radius: 15px !important;
    border: 1px solid var(--wp--preset--color--color-1);
    box-shadow: 2px 2px 0 var(--wp--preset--color--color-1);
}
.single-tf_apartment .tf-apartment-amenities-inner .tf-modal-btn {
    font-family: "new-spirit", serif;
    color: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-single-template__legacy #tf-apartment-booking .tf_btn {
    background-color: var(--wp--preset--color--color-1) !important;
    border-radius: 10px !important;
    text-transform: uppercase;
    font-weight: 400 !important;
}
.single-tf_apartment .tf-apartment-left .tf-apt-highlights-wrapper .tf-apt-highlight .title {
    font-family: "new-spirit", serif;
    line-height: 1.2 !important;
    color: var(--tf-text-heading);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.single-tf_apartment .tf-apartment-amenities-inner .tf-apt-amenity-icon {
    flex: 0 0 35px !important;
}
.single-tf_apartment #apartment-location {
    height: 300px !important;
}

@media screen and (min-width:991px) {
    .single-tf_apartment #apartment-location {
        height: 600px !important;
    }
}

.single-tf_apartment .tf-house-rules-wrapper {
    border-radius: 15px !important;
    border: 1px solid var(--wp--preset--color--color-1) !important;
    box-shadow: 2px 2px 0 var(--wp--preset--color--color-1);
}
.single-tf_apartment .tf-house-rules-wrapper h6 {
    font-family: "new-spirit", serif;
    color: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-house-rules .tf-house-rules-wrapper .tf-included-house-rules li::before {
    color: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-house-rules .tf-house-rules-wrapper .tf-included-house-rules li::after,
.single-tf_apartment .tf-single-template__legacy .tf-house-rules .tf-house-rules-wrapper .tf-not-included-house-rules li::after {
    display: none;
}

.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq .tf-faq-content-wrapper {
    padding: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq #tf-faq-item {
    border: 1px solid var(--wp--preset--color--color-1) !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq #tf-faq-item .tf-faq-title h4 {
    font-family: "new-spirit", serif;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq #tf-faq-item .tf-faq-title.active h4,
.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq #tf-faq-item .tf-faq-title h4:hover {
    color: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq #tf-faq-item svg rect{
    fill: var(--wp--preset--color--color-1) !important;
}
.single-tf_apartment .tf-single-template__legacy .tf-apartment-faq #tf-faq-item .tf-faq-desc {
    color: var(--wp--preset--color--color-1) !important;
}


/**** Détail modal gallery photo ****/
.tf-details-qc-slider-single .tf-details-qcs img,
#tf_apt_room_details_qv .tf-hotel-details-qc-gallelry .tf-details-qc-slider img {
    width: auto !important;
    height: 100% !important;
    max-height: 600px;
    margin: auto;
}

.tf-details-qc-slider-nav .tf-details-qcs {
    aspect-ratio: 1/1;
}
.tf-details-qc-slider-nav .tf-details-qcs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-hotel-details-info h3 {
    font-family: "new-spirit", serif;
    color: var(--wp--preset--color--color-1) !important;
}
.tf-hotel-details-info ul li {
    list-style-type: disc !important;
}

/**** Modal des équipements ****/
#tf-amenities-modal .tf-apartment-amenity-cat {
    padding-bottom: 24px;
}

/**** Formulaire de réservation *****/
.apartment-booking-form.fixed {
    position: sticky;
    top: 20px;
}
/**** Masquer le "host details" dans la colonne de droite ****/
.tf-apartment-right .host-details {
    display: none;
}

/**** Message avec code promo qui apparait si 7 jours ou + ****/
.long-stay-message {
    font-size: 1.125rem;
    margin-top: 25px;
    background-color: #f4dac8;
    padding: 10px 15px;
}
.long-stay-message i {
    font-size: 1rem;
}