/* Phone strip above the header on the rents listing (Rents/default.latte) */

.c-phone-strip {
    height: 4rem;
    font-size: 1.4rem;
    line-height: 1.2;
    color: #ffffff;
    background-color: #2a3256;
}

.c-phone-strip__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    height: 100%;
}

.c-phone-strip__text {
    margin: 0;
}

.c-phone-strip__btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    height: 2.8rem;
    padding: 0 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10rem;
    background-color: #ff7f00;
}

.c-phone-strip__btn .w-icon {
    width: 1.4rem;
    height: 1.4rem;
}

.c-phone-strip__desktop {
    display: none;
}

/* The header is fixed, so everything sized against its height grows by the strip */
.has-phone-strip .l-header {
    height: 10rem;
}

body.has-phone-strip {
    padding-top: 10rem !important;
}

.has-phone-strip .c-category-map {
    height: calc(100vh - 10rem);
}

/* sticky search bar covers the logo row on scroll, keeps the strip visible */
.has-phone-strip .c-category-side__header {
    top: 5rem;
}

.has-phone-strip .c-notifications {
    top: 10rem;
}

@media (min-width: 550px) {
    .has-phone-strip .c-notifications {
        top: 11rem;
    }
}

@media (min-width: 768px) {
    .c-phone-strip__desktop {
        display: inline;
    }

    .c-phone-strip__mobile {
        display: none;
    }

    .has-phone-strip .l-header {
        height: 12rem;
    }

    body.has-phone-strip {
        padding-top: 12rem !important;
    }

    .has-phone-strip .c-category-map {
        height: calc(100vh - 12rem);
    }

    .has-phone-strip .c-notifications {
        top: 13rem;
    }
}

@media (min-width: 1024px) {
    .has-phone-strip .c-category-side {
        height: calc(100vh - 12rem);
    }
}
