/*
 * «Рекомендуемые студии» в правой колонке страницы студии (виджет epil_recommended_studios, модуль Catalog).
 * Стиль — как у соседних карточек правой колонки (единый блок контактов, «Рейтинг на картах»).
 */
.epil-recommended {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--e-global-color-lcolor3, #d5e3ee);
    border-radius: 16px;
    background: #fff;
    color: var(--e-global-color-lcolor1, #374b5c);
    font-family: var(--epil-font-text, inherit);
}

html body .epil-recommended__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-family: var(--epil-font-heading, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.epil-recommended__check {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.epil-recommended__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.epil-recommended__list li {
    margin: 0;
}

.epil-recommended__list li + li {
    padding-top: 4px;
    border-top: 1px solid var(--e-global-color-lcolor4, #f2f4f8);
}

html body .epil-recommended__card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px;
    margin: 0 -8px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
}

html body .epil-recommended__card:hover,
html body .epil-recommended__card:focus-visible {
    background: var(--e-global-color-lcolor4, #f2f4f8);
    color: inherit;
}

.epil-recommended__photo {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--e-global-color-lcolor4, #f2f4f8);
}

.epil-recommended__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.epil-recommended__badge {
    position: absolute;
    top: 4px;
    left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.epil-recommended__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.epil-recommended__name {
    display: -webkit-box;
    overflow: hidden;
    font-family: var(--epil-font-heading, inherit);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.epil-recommended__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.epil-recommended__stars {
    display: inline-flex;
    gap: 1px;
}

.epil-recommended__star {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
}

.epil-recommended__star svg {
    display: block;
    width: 12px;
    height: 12px;
    fill: var(--e-global-color-lcolor3, #d5e3ee);
}

.epil-recommended__star > span {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
}

.epil-recommended__star > span svg {
    fill: #ffb800;
}

.epil-recommended__rating em {
    color: var(--e-global-color-lcolor2, #73818c);
    font-style: normal;
}

.epil-recommended__meta,
.epil-recommended__address {
    overflow: hidden;
    color: var(--e-global-color-lcolor2, #73818c);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.epil-recommended__meta {
    color: #b44fc9;
    font-weight: 600;
}
