:root {
    --ru-brand-link: #a21d45;
    --ru-brand-link-hover: #801434;
    --ru-brand-hover: #d51e50;
    --ru-brand-soft: #fff3f6;
    --ru-brand-on-solid: #fff;
    --ru-brand-text-shadow: 0 1px 2px rgb(75 9 32 / 46%);
}

/* Listing badges use the same baseline in Houzez cards and in the property gallery. */
:is(.item-listing-wrap .item-header, .property-labels-wrap) :is(.label-featured, .label-status, .hz-label) {
    display: inline-flex;
    align-items: center;
    min-block-size: 23px;
    padding: .18rem .42rem;
    font-weight: 700;
    line-height: 1.15;
    vertical-align: middle;
}

.ru-property-gallery-labels .property-labels-wrap > .label {
    min-block-size: 26px;
}

:is(.item-listing-wrap .item-header, .property-labels-wrap) .label-featured {
    background-color: #62c9e6;
    color: #172a31;
}

:is(.ru-card-actions, .ru-property-pilot, .ru-search-results, .ru-campus, .ru-city-guide) :is(.btn-primary, .btn-search) {
    background-color: var(--ru-brand);
    border-color: var(--ru-brand);
    color: var(--ru-brand-on-solid);
    text-shadow: var(--ru-brand-text-shadow);
}

:is(.ru-card-actions, .ru-property-pilot, .ru-search-results, .ru-campus, .ru-city-guide) :is(.btn-primary, .btn-search):is(:hover, :focus-visible) {
    background-color: var(--ru-brand-hover);
    border-color: var(--ru-brand-hover);
    color: var(--ru-brand-on-solid);
}

.ru-property-pilot .property-navigation-wrap a.active,
.ru-campus :is(.ru-campus-path a, .ru-campus-sites > li > a, .ru-campus-description a),
:is(.ru-card-actions, .ru-property-pilot, .ru-search-results, .ru-campus, .ru-city-guide) .btn-primary-outlined,
.ru-card-compare {
    color: var(--ru-brand-link);
}

.ru-property-pilot .property-navigation-wrap a.active {
    box-shadow: inset 0 -3px var(--ru-brand);
}

:is(.ru-card-actions, .ru-property-pilot, .ru-search-results, .ru-campus, .ru-city-guide) .btn-primary-outlined {
    border-color: var(--ru-brand);
}

:is(.ru-card-actions, .ru-property-pilot, .ru-search-results, .ru-campus, .ru-city-guide) .btn-primary-outlined:hover {
    background-color: var(--ru-brand-soft);
    color: var(--ru-brand-link-hover);
}

:is(.ru-city-guide, .ru-search-results, .ru-campus) .page-item.active .page-link {
    background-color: var(--ru-brand);
    border-color: var(--ru-brand);
    color: var(--ru-brand-on-solid);
}

.ru-card-rating {
    font-size: .8125rem;
    margin: .25rem 0 0;
}

.ru-card-rating a { color: var(--ru-brand-link); }
.ru-card-rating .icon-rating { color: #a9630a; }

/* GTranslate prints its hover color after the theme styles. */
body .gt_float_switcher .gt_options a:hover { color: var(--ru-brand-link) !important; }
