/* Маркеры (EXPOCOM_RUBRICATOR_MARKERS) */

.expo_exh_inner .marks_skrepka .mark_rubricator,
.expo_exh_inner .expo_marks .mark_rubricator {
    position: relative;
    border-radius: 4px;
    padding: 7px 8px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    line-height: 15px;
    height: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    white-space: nowrap;
    cursor: help;
}

.expo_exh_inner .marks_skrepka .mark_rubricator:last-child,
.expo_exh_inner .expo_marks .mark_rubricator:last-child {
    margin-right: 0;
}

/* s4 плитка — конфиг-маркеры и expo_type в одной группе справа */
.expo_exh_inner.s4 .expo_card_markers {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.expo_exh_inner.s4 .expo_card_markers > * {
    pointer-events: auto;
}

.expo_exh_inner.s4 .expo_card_markers .expo_marks.markers_rubricator_config {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    background: transparent;
    padding: 0;
    height: auto;
    max-height: none;
}

.expo_exh_inner.s4 .span3 .expo_card_markers .expo_type {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    flex: 0 0 auto;
}

.expo_exh_inner.s4 .expo_card_markers .expo_marks.markers_rubricator_config .type_icon.marks_skrepka {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    height: auto;
    max-height: none;
    padding: 0;
    background: transparent;
}

.expo_exh_inner.s4 .expo_card_markers .expo_type .type_icon.marks_skrepka {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: auto;
    max-height: none;
    padding: 0;
    background: transparent;
}

/* catalog list — в ряд со стендом и флагом */
.expo_exh_inner.catalog .exh_icons {
    flex-wrap: wrap;
    row-gap: 0.375rem;
}

.expo_exh_inner.catalog .expo_marks:has(.mark_rubricator) {
    background: transparent;
    padding: 0;
    margin-left: 0.3125rem;
    height: auto;
    max-height: none;
}

.expo_exh_inner.catalog .expo_marks .type_icon.marks_skrepka:has(.mark_rubricator) {
    display: flex;
    align-items: center;
    margin-top: 0 !important;
    height: auto;
    max-height: none;
    background: transparent;
    padding: 0;
}
