/* Only cards explicitly enabled by the home/catalog views. */
body.bp1-type-roboto .preview__item-clean .body h3 {
    margin: 0 0 10px;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.bp1-type-roboto .preview__item-clean .object-price {
    display: block;
    margin-bottom: 8px;
}
body.bp1-type-roboto .preview__item-clean .object-room {
    margin: 0 0 16px;
}
body.bp1-type-roboto .preview__item-clean .preview__item-agent {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    height: auto;
    min-height: 80px;
}
body.bp1-type-roboto .preview__item-clean .preview__item-agent-foto {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    margin: 0;
    float: none;
}
body.bp1-type-roboto .preview__item-clean .preview__item-agent-info,
body.bp1-type-roboto .preview__item-clean .preview__item-agent-phones {
    grid-column: 2;
    min-width: 0;
}
body.bp1-type-roboto .preview__item-clean .preview__item-agent-name {
    margin: 0;
    overflow-wrap: anywhere;
}
body.bp1-type-roboto .preview__item-clean .preview__item-agent-phones a {
    margin: 0;
    overflow-wrap: anywhere;
}

/* Keep each desktop caption beneath its title, beside the icon. */
@media (min-width: 992px) {
    body.bp1-type-roboto .header-dropdown-buttons > .dropdown__item {
        width: auto;
        min-width: 160px;
    }

    body.bp1-type-roboto .header-dropdown-buttons > .dropdown__item > .dropdown__link {
        display: inline-grid;
        grid-template-columns: max-content max-content;
        column-gap: 10px;
        align-content: start;
    }

    body.bp1-type-roboto .header-dropdown-buttons > .dropdown__item > .dropdown__link > .dropdown__link-button {
        float: none;
        grid-column: 1;
        grid-row: 1 / 3;
        margin-right: 0 !important;
    }

    body.bp1-type-roboto .header-dropdown-buttons > .dropdown__item > .dropdown__link > .dropdown__link-title,
    body.bp1-type-roboto .header-dropdown-buttons > .dropdown__item > .dropdown__link > .dropdown__link-text {
        grid-column: 2;
        margin-left: 0;
        white-space: nowrap;
    }
}

/* Calmer hierarchy after live comparison with the production catalog. */
body.bp1-type-roboto { font-size: 15px; line-height: 22px; }
body.bp1-type-roboto h2,
body.bp1-type-roboto h2.stylistic-title { font-size: 24px; line-height: 1.3; font-weight: 400 !important; }
body.bp1-type-roboto h3 { font-weight: 400; }
body.bp1-type-roboto .page-promo__title { font-size: 30px; font-weight: 400 !important; }
body.bp1-type-roboto .page-promo__subtitle { font-size: 18px; font-weight: 400; }
body.bp1-type-roboto .preview__item .body h3,
body.bp1-type-roboto .preview__item-address { font-size: 18px; line-height: 1.4; font-weight: 400 !important; }
body.bp1-type-roboto .preview__item .body h3 a,
body.bp1-type-roboto .preview__item-agent-phones a { color: #365d7d; }
body.bp1-type-roboto .object-price,
body.bp1-type-roboto .object-price b { font-size: 18px; line-height: 1.4; font-weight: 500 !important; color: #333; }
body.bp1-type-roboto .object-room { font-size: 15px; line-height: 22px; color: #555; }
body.bp1-type-roboto .preview__item-agent-name,
body.bp1-type-roboto .preview__item-agent-lastname { font-size: 14px; line-height: 20px; }
body.bp1-type-roboto .preview__item-agent-phones,
body.bp1-type-roboto .preview__item-agent-phones a { font-size: 15px; line-height: 22px; font-weight: 400; }
body.bp1-type-roboto .dropdown__link-title { font-size: 20px; font-weight: 400; }
body.bp1-type-roboto .dropdown__link-text { font-size: 11px; line-height: 14px; font-weight: 400; }
body.bp1-type-roboto h1.card__info-title { font-size: 22px; font-weight: 400; }
body.bp1-type-roboto .card__info-price { font-size: 24px; font-weight: 500 !important; }
body.bp1-type-roboto h2.footer-title { font-size: 20px; font-weight: 400 !important; }
@media (max-width: 767px) {
 body.bp1-type-roboto h2,
 body.bp1-type-roboto h2.stylistic-title { font-size: 22px; }
 body.bp1-type-roboto .page-promo__subtitle { font-size: 20px; }
 body.bp1-type-roboto .card__info-price { font-size: 22px; }
 body.bp1-type-roboto h2.footer-title { font-size: 20px; }
}
