.grid {
    display: grid;
}

.grid-cards {
    --columns: 1;
    grid-template-columns: repeat(var(--columns), minmax(auto, 1fr));
    grid-gap: 1rem;
    list-style: none;
    padding: 0;
    margin: var(--wp--style--block-gap) 0;
}

@media screen and (min-width: 800px) {
    .grid-cards {
        --columns: 2;
    }
}

@media screen and (min-width: 1200px) {
    .grid-cards {
        --columns: 3;
    }
}

.grid-cards .column {
    grid-column: span 1;
    margin-block-start: 0;
}

.casino-card__head {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    flex-grow: 0;
}

.casino-card-title {
    order: 3;
}

.casino-card-media {
    order: 1;
    margin: 0;
}

.casino-card-media__el {
    width: 100%;
}

.casino-card-triangle {
    order: 2;
}

.casino-offer {
    order: 4;
}

.casino-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--wp--preset--spacing--small);
    padding-bottom: var(--wp--preset--spacing--small);
}

.casino-card__footer .wp-element-button {
    width: 100%;
}

.column .casino-card-title h3 {
    margin-top: var(--wp--preset--spacing--xx-small);
    margin-bottom: var(--wp--preset--spacing--xx-small);
}

.column .casino-terms {
    padding: var(--wp--preset--spacing--xx-small);
    text-align: center;
    flex-grow: 1;
}

.column .casino-card__content {
    margin-top: var(--wp--preset--spacing--xx-small);
    max-height: 4.5em;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.column .casino-card__content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.column .casino-card__content,
.column .casino-card__footer,
.column .casino-offer,
.column .casino-card-title h3 {
    padding-left: var(--wp--preset--spacing--xx-small);
    padding-right: var(--wp--preset--spacing--xx-small);
    text-align: center;
}

.casino-card-triangle {
    order: 2;
    margin-top: -1px;
    overflow: hidden;
    vertical-align: middle;
}

.casino-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
}

.casino-section__el {
    width: 100%;
    max-width: 100%;
}

@media screen and (min-width: 600px) and (max-width: 959px) {
    .casino-section__el {
        max-width: 50%;
        margin: 0 0 .75rem;
    }

    .casino-section__el .casino-card {
        height: 100%;
    }
}

.casino-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--wp--custom--border--radius);
    margin-bottom: var(--wp--preset--spacing--small);
    overflow: hidden;
    box-shadow: 0 5px 10px 4px rgba(0, 0, 0, 0.56), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.column .casino-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.casino-card__top,
.casino-card__middle,
.casino-card__bottom {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: inherit;
    max-width: inherit;
}

.casino-card__middle {
    position: relative;
}

.casino-card-top {
    align-items: center;
}

.casino-card-top__info,
.casino-card-top__image,
.casino-card-top__action {
    width: 100%;
    max-width: 100%;
}

.casino-card-top__info {
    order: 2;
}

.casino-card-top__image {
    position: relative;
    height: 100%;
    background-color: #0D1522;
    order: 1;
}

.casino-card-top__action {
    order: 3;
}

@media screen and (max-width: 959px) {
    .casino-card-top__info {
        text-align: center;
    }
}

@media screen and (min-width: 960px) {
    .casino-card-top__image {
        max-width: 20%;
    }

    .casino-card-top__info {
        max-width: calc(100% - 50%);
        display: flex;
        flex-direction: column;
        padding-left: 3rem !important;
    }

    .casino-card-top__action {
        text-align: center;
        max-width: 30%;
    }
}

.casino-terms {
    text-align: center;
    justify-content: center;
}

.casino-terms p {
    font-size: 0.65rem;
    line-height: var(--wp--custom--line-height--tight);
    opacity: .87;
    margin: 0;
    overflow: auto;
}

.casino-info p,
.casino-info ul,
.casino-info ol {
    font-size: .875rem;
}

.casino-info ul,
.casino-info ol {
    list-style-position: inside;
}

.casino-offer {
    text-transform: uppercase;
    line-height: var(--wp--custom--line-height--normal);
    min-height: 3em;
}

.casino-card-media,
.casino-middle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-middle {
    aspect-ratio: 4/3;
}

.casino-card-media {
    aspect-ratio: 2/1;
}

.casino-middle__el {
    margin: auto;
}

.casino-middle {
    background-color: inherit;
}

.casino-middle::before,
.casino-middle::after {
    content: '';
    position: absolute;
    display: block;
}

.casino-middle::before {
    background-color: #FFF;
    z-index: 1;
}

.casino-middle::after {
    background-color: inherit;
}

@media screen and (max-width: 959px) {
    .casino-card-top__info {
        padding-top: var(--wp--preset--spacing--xxx-large) !important;
    }

    .casino-middle {
        aspect-ratio: 2/1;
    }

    .casino-middle::before,
    .casino-middle::after {
        width: 100%;
        height: 2.5rem;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
        left: 0;
        right: 0;
    }

    .casino-middle::before {
        bottom: .5rem;
        -webkit-clip-path: polygon(50% 80%, 100% 0, 100% 0%, 50% 100%, 0 0, 0 0);
        clip-path: polygon(50% 80%, 100% 0, 100% 0%, 50% 100%, 0 0, 0 0);
    }

    .casino-card--a2 .casino-middle::before {
        -webkit-clip-path: polygon(50% 80%, 100% 0%, 100% 15%, 50% 100%, 0 15%, 0 0);
        clip-path: polygon(50% 80%, 100% 0%, 100% 15%, 50% 100%, 0 15%, 0 0);
        bottom: 1rem;
    }

    .casino-middle::after {
        -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        bottom: 1px;
    }
}

@media screen and (min-width: 960px) {
    .casino-middle::before,
    .casino-middle::after {
        top: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        width: 2.5rem;
        height: 100%;
    }

    .casino-middle::before {
        -webkit-clip-path: polygon(0 0, 0 0, 100% 50%, 0 100%, 0 100%, 80% 50%);
        clip-path: polygon(0 0, 0 0, 100% 50%, 0 100%, 0 100%, 80% 50%);
        right: .5rem;
    }

    .casino-card--a2 .casino-middle::before {
        -webkit-clip-path: polygon(0 0, 15% 0, 100% 50%, 15% 100%, 0% 100%, 80% 50%);
        clip-path: polygon(0 0, 15% 0, 100% 50%, 15% 100%, 0% 100%, 80% 50%);
        right: 1rem;
    }

    .casino-middle::after {
        -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        right: 1px;
    }
}

.casino-rt {
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 2.5rem;*/
}

.casino-btn {
    border: 4px solid white;
}

.r-btn--lg,
.casino-btn--lg {
    font-size: 1rem;
    line-height: 1rem;
    height: 3.5rem;
}

.r-btn--blk,
.casino-btn--blk {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.r-btn__lbl,
.casino-btn__lbl {
    position: relative;
    display: inline-block;
    color: white;
}

.r-btn:hover, .r-btn:focus,
.casino-btn:hover, .casino-btn:focus {
    color: inherit;
    opacity: 1;
}

.casino-link {
    display: inline-flex;
    justify-content: center;
    font-weight: var(--wp--custom--font-weight--bold);
    position: relative;
    color: inherit;
    opacity: .87;
    transition: opacity 300ms ease-in;
    overflow: hidden;
    text-transform: capitalize;
    font-size: var(--wp--preset--font-size--xx-small);
}

.casino-link::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--wp--preset--spacing--baseline);
    width: 100%;
    height: .125rem;
    border-bottom: .125rem solid var(--wp--preset--color--primary);
    -webkit-transform: translate3d(-150%, 0, 0);
    transform: translate3d(-150%, 0, 0);
    transition: opacity 300ms ease-in, -webkit-transform 300ms ease-in;
    transition: transform 300ms ease-in, opacity 300ms ease-in;
    transition: transform 300ms ease-in, opacity 300ms ease-in, -webkit-transform 300ms ease-in;
}

.casino-link:hover, .casino-link:focus {
    opacity: 1;
}

.casino-link:hover::before,
.casino-link:focus::before {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.casino-btn + .casino-link {
    margin-top: 1rem;
}

.casino-ft-lbl,
.casino-ft-it {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding: .75rem 0;
}

.casino-ft-lbl {
    max-width: 25%;
}

.casino-ft-it {
    max-width: 75%;
}

.casino-ft-lst {
    width: 100%;
    max-width: 100%;
    list-style: none;
}

.casino-ft-lst__el {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: inherit;
    max-width: inherit;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}

.casino-ft-lst__el:last-of-type {
    border-bottom: 0 none;
}

.casino-ld {
    font-size: 1.25rem;
}

.op-sct {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin: 0;
    list-style: none;
}

.op-sct__el {
    width: 100%;
    max-width: 100%;
}

@media screen and (min-width: 600px) and (max-width: 959px) {
    .op-sct__el {
        max-width: 50%;
        padding: 0 var(--wp--preset--spacing--xx-small);
        margin: 0 0 var(--wp--preset--spacing--xx-small);
    }

    .op-sct__el .op-crd {
        height: 100%;
    }
}

.op-tl {
    font-size: var(--wp--preset--font-size--large);
    line-height: var(--wp--custom--line-height--normal);
    font-weight: var(--wp--custom--font-weight--bold);
    margin: 0 0 .var(--wp--preset--spacing--xxx-small);
}

.op-crd {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--wp--preset--spacing--baseline);
    margin-bottom: var(--wp--preset--spacing--xx-small);

}

.op-crd--drk {
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--surface);
    border: 1px solid var(--wp--preset--color--surface-alt);
    box-shadow: 0 5px 10px 4px rgba(0, 0, 0, 0.56), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.op-crd--lig {
    color: var(--wp--preset--color--surface);
    background-color: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--base-alt);
    box-shadow: 0 5px 10px 4px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.op-crd__tp,
.op-crd__md,
.op-crd__bt {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: inherit;
    max-width: inherit;
}

.op-crd__md {
    position: relative;
}

.op-crd-tp {
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.028), 0 2px 4px rgba(0, 0, 0, 0.042), 0 12px 20px rgba(0, 0, 0, 0.07);
}

.op-crd-tp__inf,
.op-crd-tp__img,
.op-crd-tp__act {
    width: 100%;
    max-width: 100%;
}

.op-crd-tp__inf,
.op-crd-tp__act {
    padding: var(--wp--preset--spacing--xx-small);
}

.op-crd-tp__inf {
    order: 2;
}

.op-crd-tp__img {
    position: relative;
    background-color: var(--wp--preset--color--surface);
    order: 1;
}

.op-crd-tp__act {
    order: 3;
}

.op-crd__content {
    padding: var(--wp--preset--spacing--x-small);
}

@media screen and (max-width: 959px) {
    .op-crd-tp__inf {
        padding-top: 4rem;
        text-align: center;
    }

    .op-crd__content {
        text-align: center;
    }
}

@media screen and (min-width: 960px) {
    .op-crd-tp__img {
        max-width: 20%;
    }

    .op-crd-tp__inf {
        max-width: calc(100% - 50%);
        padding: var(--wp--preset--spacing--xx-small) var(--wp--preset--spacing--xx-small) var(--wp--preset--spacing--xx-small) 4rem;
    }

    .op-crd-tp__act {
        text-align: center;
        max-width: 30%;
    }
}

.op-crd--drk .op-trms {
    background-color: var(--wp--preset--color--surface-alt);
}

.op-crd--lig .op-trms {
    background-color: var(--wp--preset--color--base-alt);
}

.op-trms {
    padding: var(--wp--preset--spacing--xx-small);
    text-align: center;
    justify-content: center;
}

.op-trms p {
    font-size: var(--wp--preset--font-size--xx-small);
    line-height: var(--wp--custom--line-height--tight);
    opacity: .87;
    margin: 0;
    max-height: 6rem;
    overflow: auto;
}

.op-inf {
    padding: var(--wp--preset--spacing--xx-small);
}

.op-inf p, .op-inf ul, .op-inf ol {
    font-size: var(--wp--preset--font-size--small);
}

.op-inf ul, .op-inf ol {
    list-style-position: inside;
}

.op-off {
    font-size: var(--wp--preset--font-size--normal);
    line-height: var(--wp--custom--line-height--normal);
    color: var(--wp--preset--color--primary);
}

.op-off--inr {
    font-size: var(--wp--preset--font-size--medium);
}

.op-md {
    position: relative;
    aspect-ratio: 4/3;
}

.op-md__el {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    object-fit: cover;
}

.op-md {
    background-color: inherit;
}

.op-md::before,
.op-md::after {
    content: '';
    display: flex;
    position: absolute;
}

.op-md::before {
    background-color: var(--wp--preset--color--surface);
    z-index: 1;
}

.op-md::after {
    background-color: inherit;
}

@media screen and (max-width: 959px) {
    .op-md::before,
    .op-md::after {
        width: 100%;
        height: 48px;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
        left: 0;
        right: 0;
    }

    .op-md::before {
        bottom: .5rem;
        -webkit-clip-path: polygon(50% 80%, 100% 0, 100% 0%, 50% 100%, 0 0, 0 0);
        clip-path: polygon(50% 80%, 100% 0, 100% 0%, 50% 100%, 0 0, 0 0);
    }

    .op-crd--a2 .op-md::before {
        -webkit-clip-path: polygon(50% 80%, 100% 0%, 100% 15%, 50% 100%, 0 15%, 0 0);
        clip-path: polygon(50% 80%, 100% 0%, 100% 15%, 50% 100%, 0 15%, 0 0);
        bottom: 1rem;
    }

    .op-md::after {
        -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        bottom: 1px;
    }
}

@media screen and (min-width: 960px) {
    .op-md::before,
    .op-md::after {
        top: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        width: 3rem;
        height: 100%;
    }

    .op-md::before {
        -webkit-clip-path: polygon(0 0, 0 0, 100% 50%, 0 100%, 0 100%, 80% 50%);
        clip-path: polygon(0 0, 0 0, 100% 50%, 0 100%, 0 100%, 80% 50%);
        right: .5rem;
    }

    .op-crd--a2 .op-md::before {
        -webkit-clip-path: polygon(0 0, 15% 0, 100% 50%, 15% 100%, 0% 100%, 80% 50%);
        clip-path: polygon(0 0, 15% 0, 100% 50%, 15% 100%, 0% 100%, 80% 50%);
        right: 1rem;
    }

    .op-md::after {
        -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        right: 1px;
    }
}

.op-rt {
    display: flex;
    justify-content: center;
    align-items: center;
}

.r-btn,
.op-btn {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--custom--line-height-normal);
    font-weight: var(--wp--custom--font-weight--bold);
    border-radius: var(--wp--custom--border--radius);
    opacity: .87;
    color: var(--wp--preset--color--surface);
    background-color: var(--wp--preset--color--secondary);
    text-transform: uppercase;
    text-shadow: 0 1px var(--wp--preset--color--dark-50);
    padding: .65em 2em;
    text-align: center;
    overflow: hidden;
    transition: opacity 300ms ease-in-out;
    margin-block-end: var(--wp--preset--spacing--xx-small);
}

.op-btn {
    border: .125rem solid var(--wp--preset--color--base);
}

.r-btn--lg,
.op-btn--lg {
    font-size: var(--wp--preset--font-size--normal);
}

.r-btn--blk,
.op-btn--blk {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.r-btn__lbl,
.op-btn__lbl {
    position: relative;
    display: inline-block;
    color: white;
}

.r-btn:hover, .r-btn:focus,
.op-btn:hover, .op-btn:focus {
    color: inherit;
    opacity: 1;
}

.op-lnk {
    display: inline-block;
    vertical-align: top;
    font-weight: var(--wp--custom--font-weight--bold,700);
    position: relative;
    color: inherit;
    opacity: .87;
    transition: opacity 300ms ease-in;
    overflow: hidden;
    text-transform: capitalize;
    font-size: var(--wp--preset--font-size--small);
}

.op-lnk::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-bottom: 2px solid #28A746;
    -webkit-transform: translate3d(-150%, 0, 0);
    transform: translate3d(-150%, 0, 0);
    transition: opacity 300ms ease-in, -webkit-transform 300ms ease-in;
    transition: transform 300ms ease-in, opacity 300ms ease-in;
    transition: transform 300ms ease-in, opacity 300ms ease-in, -webkit-transform 300ms ease-in;
}

.op-lnk:hover, .op-lnk:focus {
    opacity: 1;
}

.op-lnk:hover::before, .op-lnk:focus::before {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.op-btn + .op-lnk {
    margin-top: 1rem;
}

.op-ft-lbl, .op-ft-it {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding: var(--wp--preset--spacing--xx-small) 0;
}

.op-ft-lbl {
    max-width: 25%;
}

.op-ft-it {
    max-width: 75%;
}

.op-ft-lst {
    width: 100%;
    max-width: 100%;
    list-style: none;
    padding: 0;
}

.op-ft-lst__el {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: inherit;
    max-width: inherit;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}

.op-ft-lst__el:last-of-type {
    border-bottom: 0 none;
}

.op-ld {
    font-size: var(--wp--preset--font-size--large);
}