.poster-image {
    position: relative;
}

.poster-image img {
    max-width: 100%;
}

.poster-image .disabledText:empty {
    display: none;
}

.poster-image .disabledText {
    text-transform: uppercase;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}
.ribbon-small {
    font-size: 16px;
}
.ribbon {
    --f: .5em; /* control the folded part */

    position: absolute;
    top: 0;
    right: 0;
    line-height: 1.8;
    padding-inline: 1lh;
    padding-bottom: var(--f);
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(
            100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
    transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
    background-color: #ff0059; /* the main color  */
}
.room-details-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.infobox {
    box-sizing: border-box;
}
.infobox table {
    width: 100%;
}
.infobox table td {
    width: 50%;
    vertical-align: top;
}
.infobox table td:last-child {
    text-align: right;
}
.image-gallery {
    display: flex;
}
.image-gallery-item {
    aspect-ratio: 1;
    width: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.image-gallery-item img {
    max-width: 100%;
    max-height: 100%;
}

.escape-room-page h1 {
    font-size: 22pt;
}


@media (min-width: 768px) {
    .room-details-body {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .infobox {
        width: 300px;
        grid-column: 2;
        grid-row: 1;
    }
    .main-body{
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    .escape-room-page > .card {
        border: 0px none;
    }
}