/* City pages (rtcl_location archives). Colors come from the Kadence global palette. */

.tmb-phone-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: var(--global-palette1, #1a1a1a);
    color: #fff;
}

.tmb-phone-bar__text {
    font-weight: 500;
    text-wrap: balance;
}

.tmb-room-card__title,
.tmb-call-box__lead {
    text-wrap: balance;
}

/* Extra specificity: the theme's link and link-hover colors otherwise win and turn the number black, then red-on-red. */
.tmb-phone-bar a.tmb-phone-bar__link,
.tmb-phone-bar a.tmb-phone-bar__link:visited {
    color: #fff;
    font-size: 1.375rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.tmb-phone-bar a.tmb-phone-bar__link:hover,
.tmb-phone-bar a.tmb-phone-bar__link:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.tmb-section-heading {
    margin: 0 0 1rem;
    text-wrap: balance;
}

/* Top gap matches the space between the sublets divider and its heading (2rem). */
.tmb-city-rooms {
    margin: 2rem 0 2.5rem;
}

.tmb-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.tmb-room-card {
    margin: 0;
    border: 1px solid var(--global-gray-400, #dcdcdc);
    border-radius: 10px;
    overflow: hidden;
    background: var(--global-palette9, #fff);
}

.tmb-room-card__link,
.tmb-room-card__link:visited {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.tmb-room-card__link:hover .tmb-room-card__title,
.tmb-room-card__link:focus-visible .tmb-room-card__title {
    text-decoration: underline;
}

.tmb-room-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tmb-room-card__title {
    padding: 0.875rem 1rem 0.25rem;
    font-weight: 700;
}

.tmb-room-card__meta {
    padding: 0 1rem;
    font-size: 0.9375rem;
    color: var(--global-palette5, #555);
}

.tmb-room-card__meta:last-child {
    padding-bottom: 1rem;
}

.tmb-city-rooms__call a {
    font-weight: 700;
}

.tmb-call-box {
    padding: 1.5rem;
    border: 2px solid var(--global-palette1, #1a1a1a);
    border-radius: 10px;
}

.tmb-call-box p {
    margin: 0 0 0.75rem;
}

.tmb-call-box__lead {
    font-size: 1.125rem;
    font-weight: 700;
}

.tmb-call-box a.tmb-call-box__button,
.tmb-call-box a.tmb-call-box__button:visited {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    background: var(--global-palette1, #1a1a1a);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.tmb-call-box a.tmb-call-box__button:hover,
.tmb-call-box a.tmb-call-box__button:focus-visible {
    background: var(--global-palette3, #1a1a1a);
    color: #fff;
}

.tmb-sublets-intro {
    margin: 0 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--global-gray-400, #dcdcdc);
}

.tmb-sublets-intro p {
    margin: 0;
}
