.rl-home-registrations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 80px;
}

.rl-home-registrations .rl-home-registration {
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: #555;
    background: #fff;
    box-shadow: 0 0 5px #0003;
}

.rl-home-registrations .rl-home-registration__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: gray;
}

.rl-home-registrations .rl-home-registration__image a {
    display: block;
    height: 100%;
}

.rl-home-registrations .rl-home-registration__image a:focus-visible {
    outline-offset: -3px;
}

.rl-home-registrations .rl-home-registration__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rl-home-registrations .rl-home-registration__date,
.rl-home-registrations .rl-home-registration__online {
    position: absolute;
    color: #fff;
    background: #0000ff;
}

.rl-home-registrations .rl-home-registration__date {
    inset: 10px 0 auto auto;
    padding: 5px 10px;
    font: 400 20px/1.2 RLHeading, Ubuntu, Helvetica, sans-serif;
}

.rl-home-registrations .rl-home-registration__online {
    inset: 30px auto auto -48px;
    width: 176px;
    text-align: center;
    line-height: 20px;
    transform: rotate(-45deg);
}

.rl-home-registrations .rl-home-registration__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.rl-home-registrations .rl-home-registration__title {
    margin: 0;
    color: #000;
    font: 400 20px/1.2 RLHeading, Ubuntu, Helvetica, sans-serif;
}

.rl-home-registrations .rl-home-registration__place {
    margin: 3px 0;
}

.rl-home-registrations .rl-home-registration__slogan,
.rl-home-registrations .rl-home-registration__slots {
    float: right;
    padding-left: 10px;
}

.rl-home-registrations .rl-home-registration__slogan {
    color: red;
    font-weight: 700;
}

.rl-home-registrations .rl-home-registration__slots {
    color: gray;
}

.rl-home-registrations .rl-home-registration__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: auto;
    padding-top: 4px;
    font-weight: 700;
}

.rl-home-registrations .rl-home-registration__title a,
.rl-home-registrations .rl-home-registration__links a {
    color: #000;
    text-decoration: none;
}

.rl-home-registrations .rl-home-registration__links a:hover {
    color: #0000ff;
}

.rl-home-registrations .rl-home-registration__links a.rl-home-registration__button {
    padding: 0 10px;
    color: #fff;
    background: #0000ff;
    border-radius: 10px;
}

.rl-home-registrations .rl-home-registration__links a.rl-home-registration__button:hover {
    color: #fff;
    background: #000;
}

@media (max-width: 768px) {
    .rl-home-registrations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 450px) {
    .rl-home-registrations {
        grid-template-columns: minmax(0, 1fr);
    }
}
