/* Единый стандарт карточек работ (десктоп).
   У всех работ фото ОДНОЙ высоты (400px). Ширина – по натуральной пропорции
   ориентации: портрет 304×400, ландшафт 512×400 (аспект совпадает с исходными
   342×450 и 518×405, поэтому object-fit: cover ничего не обрезает и не искажает).
   За счёт единой высоты низ фото и ценники всех карточек выравниваются в ряд.
   Мобильная раскладка задаётся в responsive.css (!important) и здесь не затрагивается. */
.art_card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 304px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.art_card.wide {
    width: 512px;
}

.art_card > #photo {
    width: 304px;
    height: 400px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    background: #f4f3ef;
}

.art_card.wide > #photo {
    width: 512px;
    height: 400px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    background: #f4f3ef;
}

.art_card > .after {
    display: flex;
    flex-direction: column;
    gap: 5px;
    user-select: text;
}

.art_card > .after > .label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.art_card > .after > .label > #title {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.art_card > .after > .label > #price {
    flex-shrink: 0;
    min-width: 110px;
    text-align: right;

    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
}

.art_card > .after > #desc {
    opacity: 0.5;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.42px;
}
