.rmUIlanding__content--short__uroki {
    margin-bottom: -54px !important;
}


/* FILTERS */
.rmUIfilters {
    display: flex;
    flex-direction: column;
    margin-bottom: -130px !important;
}

.rmUIfilters__form {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
}

.rmUIfilters__group {
    flex: 1;
}

.rmUIfilters__select {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--black-color);
    font-size: 16px;
    border: 1px solid var(--second-gray-color);
    padding: 14px 40px 14px 16px;
    -webkit-appearance: none;
    border-radius: 12px;
    background-color: var(--gray-color);
    appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23000' height='16' width='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7.5l4.5 4 4.5-4'/></svg>");
    background-repeat: no-repeat;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    background-position: right 14px center;
}

.rmUIfilters__select:hover {
    background-color: var(--gray-color);
    border-color: var(--orange-color);
}

.rmUIfilters__select:focus {
    outline: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23000' height='16' width='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' style='transform:rotate(180deg)'><path d='M5.5 7.5l4.5 4 4.5-4'/></svg>");
    border-color: var(--orange-color);
}

/* SUBMIT */
.rmUIfilters__submit {
    display: inline-flex;
    align-items: center;
    padding: 14px 25px;
    justify-content: center;
    border-radius: 12px;
    border: none;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    background: transparent;
    font-size: 17px;
    cursor: pointer;
    background-color: var(--black-color);
    user-select: none;
    transition: all 0.4s;
    user-select: none;
}

.rmUIfilters__submit:hover {
    background-color: var(--orange-color);
}


/* МЕРОПРИЯТИЯ */
.rmUImeropriyatiya {
    display: flex;
    flex-direction: column;
}

.rmUImeropriyatiya__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 36px;
}

.rmUIurok__block {
    display: grid;
    grid-template-columns: 360px 1fr;
    width: 100%;
    background-color: var(--block-bg);
    padding: 13px;
    border-radius: 24px;
    position: relative;
    gap: 14px;
    align-items: start;
}

.rmUIurok__left {
    height: 100%;
    min-height: 0;
}

.rmUIurok__left img {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    object-position: center;
}

.rmUIurok__right {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}


.rmUIurok__header {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    right: 26px;
    z-index: 2;
}

.rmUIurok__header-age {
    display: inline-flex;
    flex-direction: row;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 16px;
    background-color: var(--red-color);
    padding: 9px 11px;
    border-radius: 20px;
}

.rmUIurok__right-themes__block {
    display: flex;
    flex-direction: row;
    gap: 7px;
    justify-content: left;
    margin-bottom: 14px;
    align-items: center;
}

.rmUIurok__theme {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 9px 17px;
    background-color: var(--orange-color);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    gap: 6px;
    font-size: 16px;
}

.rmUIurok__theme svg {
    height: 20px;
    width: 20px;
    fill: var(--white-color);
    flex-shrink: 0;
}


.rmUIurok__right-text__block {
    display: flex;
    flex-direction: column; 
    overflow: hidden;
}

.rmUIurok__text-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    -webkit-box-orient: vertical;
    color: var(--black-color);
    font-size: 26px;
    overflow: hidden;
    line-height: 1;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    word-break: break-word;
}

.rmUIurok__text-describe {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    -webkit-box-orient: vertical;
    color: var(--second-gray-color);
    font-size: 16px;
    overflow: hidden;
    line-height: 1;
    text-overflow: ellipsis;
    margin-bottom: 54px;
    word-break: break-word;
}


.rmUIurok__right--bottom__block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.rmUIurok__bottom-button-wrapper a {
    display: inline-block;
    flex-shrink: 0;
    width: fit-content;
    align-self: flex-start;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 17px;
    background-color: var(--orange-color);
    white-space: nowrap;
    padding: 13px 24px;
    transition: all 0.4s;
    user-select: none;
}

.rmUIurok__bottom-button-wrapper a:hover {
    background-color: var(--green-color);
    border-radius: 30px;
}


.rmUIurok__bottom-date-wrapper {
    display: flex;
    flex-direction: row;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    align-items: center;
    font-size: 18px;
    color: var(--second-gray-color);
    gap: 7px;
    cursor: pointer;
    transition: all 0.4s;
}

.rmUIurok__bottom-date-wrapper svg {
    height: 26px;
    width: 26px;
    fill: var(--second-gray-color);
    flex-shrink: 0;
    transition: all 0.4s;
}

.rmUIurok__bottom-date-wrapper:hover {
    color: var(--orange-color);
}

.rmUIurok__bottom-date-wrapper:hover svg {
    fill: var(--orange-color);
}




/* ЦВЕТА */

.rmUIurok__theme--blue {
    background-color: var(--urok-blue-bg);
    color: var(--urok-blue-text);
}

.rmUIurok__theme--blue svg {
    fill: var(--urok-blue-text);
}

.rmUIurok__theme--red {
    background-color: var(--urok-red-bg);
    color: var(--urok-red-text);
}

.rmUIurok__theme--red svg {
    fill: var(--urok-red-text);
}

.rmUIurok__theme--green {
    background-color: var(--urok-green-bg);
    color: var(--urok-green-text);
}

.rmUIurok__theme--green svg {
    fill: var(--urok-green-text);
}


/* 18+ */
.rmUIurok__header-age--red {
    background-color: var(--red-color) !important;
}

/* 16+ */
.rmUIurok__header-age--blue {
    background-color: var(--blue-color) !important;
}

/* 14+ */
.rmUIurok__header-age--green {
    background-color: var(--green-color) !important;
}

/* 12+ */
.rmUIurok__header-age--orange {
    background-color: var(--orange-color) !important;
}

/* 6+ */
.rmUIurok__header-age--purple {
    background-color: var(--purple-color) !important;
}

/* 0+ */
.rmUIurok__header-age--yellow {
    background-color: var(--yellow-color) !important;
}