#footer {
    background-color: var(--backgroundGray);
}

.reply-modal blockquote {
    width: 100%;
    margin: 0;
    padding: 1rem .5rem;
}
.reply-modal .swal2-textarea {
   width: 100%;
   margin: 0;
}



.listing-info-main ul {
    margin-top: .3rem;
    padding-left: 2rem;
}

.listing-info-main {
    padding: 2rem clamp(1rem, 5vw, 3rem);
}

.listing-info-main > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grey100);
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 2rem;
}

.listing-info-main > header > :nth-child(2) {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.listing-detail-wrapper {
    margin-top: 1.5rem;
    column-gap: 5rem;
    row-gap: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    justify-content: space-between;
}

.listing-detail-wrapper > * {
    display: grid;
    row-gap: 2rem;
    align-content: flex-start;
}
.listing-detail-wrapper > :last-child {
    width: 100%;
    grid-column: 1/2;
}
.listing-detail-wrapper > :last-child > :first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 1rem;
}


.banner-video-container {
    width: 100%;
    height: 15rem;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    outline: 1px solid var(--backgroundGray);
}
.banner-video-container > video {
    width: 100%;
    height: 15rem;
    object-fit: cover;
}

.inquiries-container {
    display: grid;
    row-gap: 1.5rem;
}

.inquiry-threads {
    outline: 1px solid var(--grey100);
    min-height: 12rem;
    display: grid;
    border-radius: .8rem;
}
.inquiry-threads.none {
    place-content: center;
    text-align: center;
    padding: 1rem;
}

.has-threads {
    padding: 1rem;
    display: grid;
    row-gap: 2rem;
}

.toggle-reply-btn {
    display: flex;
    /* align-items: center; */
    border: none;
    background-color: var(--transparent);
    color: var(--grayscale600);
    column-gap: .5rem;
}
.toggle-reply-btn > * {
    font-family: var(--semiBold);
}
.toggle-reply-btn > :nth-child(2) {
    transition: .2s ease-in-out;
}
.toggle-reply-btn > :nth-child(2).rotate {
    transform: rotate(180deg);
    transition: .2s ease-in-out;
}

.replies {
    display: none;
    outline: 1px solid var(--grey100);
    border-radius: 1rem;
    padding: 1rem;
    min-height: 7rem;

}
.replies.expand {
    display: grid;
}

.user-header {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    row-gap: .5rem;
    flex-wrap: wrap;
}

.user-header > :nth-child(1) {
    background-color: var(--blue1);
    color: var(--primaryWhite);
    padding: .3rem .4rem;
    border-radius: .5rem;
    font-size: .9rem;
}
.replies .user-header > :nth-child(1) {
    background-color: var(--primaryGreen);
}
.user-header .lister-marker {
    color: var(--primaryGreen);
    font-size: .8rem;
    background-color: var(--green2);
    padding: 0 .5rem;
    border-radius: 2rem;
}
.user-header > :last-child {
    color: var(--textGray);
    font-size: .8rem;
}

.inquiry {
    display: grid;
    align-content: flex-start;
    row-gap: .5rem;
}

.thread {
    display: grid;
    align-content: flex-start;
    row-gap: 1rem;
}

.lister-bio {
    color: var(--gray7);
    display: grid;
    row-gap: .5rem;
}

.lister-bio > :nth-child(2) {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    justify-content: space-between;
}

.lister-bio .initials {
    background-color: var(--primaryGreen);
    color: var(--primaryWhite);
    border-radius: var(--circularBorderRadius);
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    justify-content: center;
    align-items: center;
}

.reply-section {
    display: grid;
    row-gap: 1rem;
}

.reply-section button {
    width: max-content;
    display: flex;
    align-items: center;
    background-color: var(--transparent);
    column-gap: 1rem;
    border: none;
    color: var(--gray600);
    
}
.reply-section button > * {
    font-family: var(--semiBold);
}


/* general info */
.general-info {
    display: grid;
    row-gap: 1.5rem;
}
.general-info > div > div > :first-child {
    color: var(--textGray);
}
.general-info > :nth-child(2),
.general-info > :nth-child(5) {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.ratings {
    display: grid;
    row-gap: 1rem;
}
.ratings > :nth-child(2) {
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
    flex-wrap: wrap;
    row-gap: 2rem;
}

.rent-container, .room-type-container {
    display: grid;
}
.rent-container > :nth-child(2) {
    display: flex;
    align-items: center;
}
.rent-container > :nth-child(2) > :last-child {
    color: var(--textGray);
}
.rent-container img {
    width: .8rem;
}
.first-rent b {
    font-size: 1.8rem;
}
.subsequent-rent b {
    font-size: 1.4rem;
}

.room-type-container > :nth-child(2) {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    background-color: var(--backgroundGray);
    padding: .2rem 1rem;
}

.feature {
    display: flex;
    align-items: center;
    column-gap: .5rem;
}
.feature img {
    width: 1.1rem;
}
.features-container {
    margin-top: 1rem;
    display: flex;
    column-gap: 2rem;
    row-gap: 1rem;
    flex-wrap: wrap;
}

@media screen and (min-width: 1260px) {
    .listing-detail-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .listing-detail-wrapper > * {
        width: clamp(20rem, 40vw, 35rem);
    }
}
@media screen and (min-width: 1400px) {
    .listing-detail-wrapper {
        justify-content: space-evenly;
    }
    .listing-detail-wrapper > :last-child {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 354px) {
    .listing-detail-wrapper {
        grid-template-columns: 100%;

    }
    /* .listing-detail-wrapper > * {
        width: 100%;
    } */
}