.bookenemy-bac {
    --bac-accent: #ed1c24;
    --bac-casino: #7b3fc6;
    --bac-border: #e1e4e8;
    --bac-muted: #6d747c;
    margin-bottom: 20px;
}

.bookenemy-bac__scroll {
    overflow-x: auto;
}

.bookenemy-bac-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.bookenemy-bac-table th,
.bookenemy-bac-table td {
    padding: 12px;
    border-bottom: 1px solid var(--bac-border);
    vertical-align: middle;
}

.bookenemy-bac-table th {
    background: #24272b;
    color: #fff;
    font-size: 13px;
    text-align: left;
}

.bookenemy-bac-table__brand-cell {
    position: relative;
    width: 150px;
    text-align: center;
}

.bookenemy-bac__brand-link,
.bookenemy-bac-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookenemy-bac__brand-link img {
    max-width: 120px;
    height: auto;
}

.bookenemy-bac__review-link {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.bookenemy-bac__type {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--bac-casino);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.bookenemy-bac-table__brand-cell > .bookenemy-bac__type {
    position: absolute;
    top: 5px;
    right: 5px;
}

.bookenemy-bac__pros {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bookenemy-bac__pros li {
    position: relative;
    margin: 4px 0;
    padding-left: 20px;
    font-size: 13px;
}

.bookenemy-bac__pros li::before {
    position: absolute;
    left: 0;
    color: #2a9d45;
    content: "\2713";
    font-weight: 700;
}

.bookenemy-bac-table__rating {
    width: 125px;
    text-align: center !important;
}

.bookenemy-bac-table__action {
    width: 120px;
    text-align: center;
}

.bookenemy-bac__score {
    display: block;
    width: 90px;
    height: 7px;
    margin: 7px auto 0;
    overflow: hidden;
    border-radius: 6px;
    background: #d8dadd;
}

.bookenemy-bac__score span {
    display: block;
    height: 100%;
    background: #f4c542;
}

.bookenemy-bac__cta {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 4px;
    background: var(--bac-accent);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.bookenemy-bac__cta:hover,
.bookenemy-bac__cta:focus {
    background: #bf1118;
}

.bookenemy-bac-table__terms td,
.bookenemy-bac-card__terms {
    color: var(--bac-muted);
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

.bookenemy-bac--sidebar {
    display: grid;
    gap: 5px;
    margin-bottom: 0;
}

.bookenemy-bac--sidebar .bookenemy-bac-card {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: 80px auto;
    gap: 0;
    box-sizing: border-box;
    padding: 2px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 0 5px 2px rgba(150, 150, 150, .32);
}

.bookenemy-bac--sidebar .bookenemy-bac-card > .bookenemy-bac__type {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    font-size: 9px;
}

.bookenemy-bac--sidebar .bookenemy-bac-card__logo {
    height: 80px;
}

.bookenemy-bac--sidebar .bookenemy-bac-card__logo img {
    width: 70px;
    max-width: 70px;
    height: 35px;
    object-fit: contain;
}

.bookenemy-bac--sidebar .bookenemy-bac-card__content {
    display: flex;
    min-width: 0;
    height: 80px;
    align-items: center;
    justify-content: center;
}

.bookenemy-bac--sidebar .bookenemy-bac__cta {
    padding: 5px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #b21705;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 3px;
}

.bookenemy-bac--sidebar .bookenemy-bac__cta:hover,
.bookenemy-bac--sidebar .bookenemy-bac__cta:focus {
    background: #8f1204;
}

.bookenemy-bac--sidebar .bookenemy-bac-card__terms {
    grid-column: 1 / -1;
    box-sizing: border-box;
    padding: 5px;
    color: #1a3362;
    font-size: 80%;
    line-height: 1.5;
    text-align: center;
}

.sidebar-block.widget_text:has(.bookenemy-bac--sidebar) {
    margin-bottom: 15px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(35, 31, 32, .3);
}

@supports not selector(:has(*)) {
    .widget_text .bookenemy-bac--sidebar {
        border-radius: 0 0 2px 2px;
        box-shadow: 0 0 10px rgba(35, 31, 32, .3);
    }
}

@media (max-width: 767px) {
    .bookenemy-bac-table,
    .bookenemy-bac-table tbody,
    .bookenemy-bac-table tr,
    .bookenemy-bac-table td {
        display: block;
        width: 100%;
    }

    .bookenemy-bac-table thead {
        display: none;
    }

    .bookenemy-bac-table__brand {
        display: grid !important;
        grid-template-columns: 42% 58%;
        padding: 10px;
        border-bottom: 1px solid var(--bac-border);
    }

    .bookenemy-bac-table__brand td {
        box-sizing: border-box;
        border: 0;
    }

    .bookenemy-bac-table__brand-cell {
        grid-row: span 2;
    }

    .bookenemy-bac-table__rating,
    .bookenemy-bac-table__action {
        display: inline-flex !important;
        width: auto;
        align-items: center;
        justify-content: center;
    }

    .bookenemy-bac-table__terms td {
        padding: 6px 12px 12px;
    }
}
