
.container--col-2 .toc {
    position: static !important;
    top: auto !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* New template palette */
.body{
    color:#c7d2df !important;
    background-color:#0b1117 !important;
}

.header,
.footer__top-wrapper,
.menu,
.menu__dropdown,
.container--col-2 .toc__btn{
    background-color:#151b24 !important;
}

.footer,
.footer__middle,
.tile,
.tile-footer,
.content--light,
.article-toc-box,
.promo__item-timer,
.tag--timer,
.popup-bonus,
.review-card{
    background-color:#111923 !important;
}

.btn--primary,
.faq__question{
    color:#0b1117 !important;
    background-color:#ff4d6d !important;
}

.btn--primary svg{
    fill:#0b1117 !important;
}

.btn--primary:hover,
.btn--primary:focus{
    background-color:#ff6f89 !important;
    box-shadow:0 4px 16px rgba(255,77,109,.38) !important;
}

.btn--primary:active{
    background-color:#d93655 !important;
}

.btn--secondary,
.btn--bordered,
.slider-nav::before{
    background-color:#263241 !important;
}

.btn--secondary:hover,
.btn--secondary:focus,
.btn--bordered:hover{
    background-color:#334357 !important;
}

.btn--bordered{
    border-color:#3b4b60 !important;
}

.link,
.content a:not([class]),
.menu__link:hover,
.menu__item--dropdown:hover > .menu__link,
.menu__item--dropdown:focus > .menu__link,
.submenu .menu__link:hover,
.container--col-2 .toc__link:hover,
.footer-menu .footer-menu__link:hover,
.footer .footer-menu .footer-menu__link:hover,
.footer-menu__link:hover,
.promo-code__code{
    color:#E40208 !important;
}

.icon-arrow-right,
.icon-arrow-down,
.icon-email,
.menu__item--dropdown:hover > .menu__arrow svg,
.menu__item--dropdown:focus > .menu__arrow svg{
    fill:#E40208 !important;
}

.menu__item--dropdown:hover > .menu__arrow::before,
.menu__item--dropdown:focus > .menu__arrow::before{
    border-right-color:#E40208 !important;
    border-bottom-color:#E40208 !important;
}

.content>h1,
.content>h2,
.content>h3,
.light,
.top-bonus__title,
.popup-bonus__value{
    color:#f8fafc !important;
}

.footer-menu .footer-menu__link,
.footer .footer-menu .footer-menu__link,
.footer-menu__link,
.menu__link,
.popup-bonus__characteristic,
.popup-bonus__key,
.review-card__text,
.article-toc-box__title,
.article-toc-box__icon,
.article-toc-box__list li a:not([class]){
    color:#c7d2df !important;
}

.content>ul:not([class]) li::before,
ul.wp-block-list li::before{
    background-color:#ff4d6d !important;
}

.content>ol:not([class]) li:before{
    color:#0b1117 !important;
    background-color:#E40208 !important;
}

.content>figure img,
.content>img,
.content>p img,
.wp-block-image img,
.lazy-img{
    background-color:#263241 !important;
}

.content>table tr,
.wp-block-table table tr{
    background-color:rgba(38,50,65,.72) !important;
}

.wp-block-quote{
    border-left-color:#ff4d6d !important;
    background:rgba(255,77,109,.10) !important;
}

.toc,
.article-toc-box,
.review-card{
    border:1px solid rgba(255,200,87,.18) !important;
}

.review-card{
    background:
        linear-gradient(160deg,rgba(255,77,109,.10),rgba(255,200,87,.06)),
        #111923 !important;
    box-shadow:0 14px 34px rgba(0,0,0,.30) !important;
}

.review-card__name{
    color:#f8fafc !important;
}

.review-card__rating,
.top-bonus__type{
    color:#E40208 !important;
}

.header__logo-link::before{
    background:linear-gradient(90deg,rgba(255,77,109,.32),rgba(255,200,87,.20)) !important;
    box-shadow:0 4px 22px rgba(255,77,109,.18) !important;
}

.scrollbar{
    scrollbar-color:#ff4d6d #0b1117 !important;
}

.scrollbar::-webkit-scrollbar-track{
    background-color:#0b1117 !important;
}

.scrollbar::-webkit-scrollbar-thumb{
    background-color:#ff4d6d !important;
}

.scrollbar::-webkit-scrollbar-thumb:hover{
    background-color:#E40208 !important;
}

.container--col-2 .toc__btn {
    display: block !important;
    width: 100% !important;
    padding: 16px !important;
    background-color: #30284c !important;
    border: none !important;
    border-radius: 24px !important;
    color: #f7f7f7 !important;
    text-align: left !important;
    margin-bottom: 16px !important;
    cursor: default !important;
    justify-content: flex-start !important;
}

.container--col-2 .toc__btn svg {
    display: none !important;
}

.container--col-2 .toc__list {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.container--col-2 .toc__sublist {
    margin: 0 5px !important;
    padding: 0 !important;
    list-style: none !important;
}

.container--col-2 .toc__item {
    margin: 12px 0 0 0 !important;
}

.container--col-2 .toc__item:last-child {
    margin-bottom: 0 !important;
}

.container--col-2 .toc__link {
    text-decoration: none !important;
    color: #fff !important;
    display: block !important;
    padding: 4px 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    background: none !important;
}

.container--col-2 .toc__link:hover {
    color: #007cba !important;
    text-decoration: underline !important;
}

/* Two-column layout for content pages */
@media screen and (min-width: 1024px) {
    .container--col-2 {
        position: relative;
        display: grid;
        grid-template-columns: 978px auto;
        column-gap: 34px;
    }
}

/* TOC Sidebar Layout for content pages */
@media screen and (min-width: 1312px) {
    .container--col-2 {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 34px;
        align-items: start;
    }
    
    .toc {
        order: 2;
        margin-top: 16px 0;
    }
    
    .content {
        order: 1;
    }
}

@media screen and (max-width: 1311px) {
    .container--col-2 {
        display: block;
    }
    
    .toc {
        margin: 24px 0;
    }
}

/* Hide top bonus and exit popup on mobile */
@media screen and (max-width: 768px) {
    .top-bonuses--sticky,
    .popup.js-popup-bonus {
        display: none !important;
    }
}

/* Casino card image links */
.card__img-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card__img-link:hover {
    text-decoration: none;
    color: inherit;
}

/* On desktop, disable image links to preserve card flip functionality */
@media screen and (min-width: 769px) {
    .card__img-link {
        pointer-events: none;
        cursor: default;
    }
    
    .card__img-link:hover {
        text-decoration: none;
    }
}

/* On mobile, ensure image links work */
@media screen and (max-width: 768px) {
    .card__img-link {
        pointer-events: auto;
        cursor: pointer;
    }
}

/* Footer menu styling - grey text, no underlines */
.footer-menu .footer-menu__link,
.footer .footer-menu .footer-menu__link,
.footer-menu__link {
    color: #b6bdcc !important;
    text-decoration: none !important;
    display: inline-block;
}

ul.footer-menu a {
    color: #ccc;
    text-decoration: none;
}

.footer-menu .footer-menu__link:hover,
.footer .footer-menu .footer-menu__link:hover,
.footer-menu__link:hover,
.footer-menu .footer-menu__link:visited:hover {
    color: #f7f7f7 !important;
    text-decoration: none !important;
}

.footer-menu .footer-menu__link:visited,
.footer .footer-menu .footer-menu__link:visited,
.footer-menu__link:visited {
    color: #b6bdcc !important;
    text-decoration: none !important;
}

/* Header dropdown menu fixes */
@media screen and (min-width: 1024px) {
    .menu__item--dropdown {
        position: relative !important;
    }
    
    .menu__dropdown {
        position: absolute !important;
        top: 47px !important;
        left: -9px !important;
        width: 209px !important;
        background-color: #30284c !important;
        border-radius: 0 0 16px 16px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s, visibility 0.3s !important;
        z-index: 10 !important;
    }
    
    .menu__dropdown.menu__dropdown--open {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .menu__item--dropdown:hover > .menu__dropdown {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .submenu {
        padding: 10px 0 14px !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .submenu .menu__link {
        padding: 8px 20px !important;
        color: #f7f7f7 !important;
        display: block !important;
    }
    
    .submenu .menu__link:hover {
        color: #55E2E0 !important;
    }
}

/* Final new-template palette overrides */
.body{color:#c7d2df !important;background-color:#0b1117 !important}
.header,.footer__top-wrapper,.menu,.menu__dropdown,.container--col-2 .toc__btn{background-color:#151b24 !important}
.footer,.footer__middle,.tile,.tile-footer,.content--light,.article-toc-box,.promo__item-timer,.tag--timer,.popup-bonus,.review-card{background-color:#111923 !important}

.btn--primary,.faq__question{color:#0b1117 !important;background-color:#ff4d6d !important}
.btn--primary svg{fill:#0b1117 !important}
.btn--primary:hover,.btn--primary:focus{background-color:#ff6f89 !important;box-shadow:0 4px 16px rgba(255,77,109,.38) !important}
.btn--primary:active{background-color:#d93655 !important}
.btn--secondary,.btn--bordered,.slider-nav::before{background-color:#263241 !important}
.btn--secondary:hover,.btn--secondary:focus,.btn--bordered:hover{background-color:#334357 !important}
.btn--bordered{border-color:#3b4b60 !important}

.link,.content a:not([class]),.menu__link:hover,.menu__item--dropdown:hover > .menu__link,.menu__item--dropdown:focus > .menu__link,.submenu .menu__link:hover,.container--col-2 .toc__link:hover,.footer-menu .footer-menu__link:hover,.footer .footer-menu .footer-menu__link:hover,.footer-menu__link:hover,.promo-code__code{color:#E40208 !important}
.icon-arrow-right,.icon-arrow-down,.icon-email,.menu__item--dropdown:hover > .menu__arrow svg,.menu__item--dropdown:focus > .menu__arrow svg{fill:#E40208 !important}
.menu__item--dropdown:hover > .menu__arrow::before,.menu__item--dropdown:focus > .menu__arrow::before{border-right-color:#E40208 !important;border-bottom-color:#E40208 !important}

.content>h1,.content>h2,.content>h3,.light,.top-bonus__title,.popup-bonus__value{color:#f8fafc !important}
.footer-menu .footer-menu__link,.footer .footer-menu .footer-menu__link,.footer-menu__link,.menu__link,.submenu .menu__link,.popup-bonus__characteristic,.popup-bonus__key,.review-card__text,.article-toc-box__title,.article-toc-box__icon,.article-toc-box__list li a:not([class]){color:#c7d2df !important}

.content>ul:not([class]) li::before,ul.wp-block-list li::before{background-color:#ff4d6d !important}
.content>ol:not([class]) li:before{color:#0b1117 !important;background-color:#E40208 !important}
.content>figure img,.content>img,.content>p img,.wp-block-image img,.lazy-img{background-color:#263241 !important}
.content>table tr,.wp-block-table table tr{background-color:rgba(38,50,65,.72) !important}
.wp-block-quote{border-left-color:#ff4d6d !important;background:rgba(255,77,109,.10) !important}

.toc,.article-toc-box,.review-card{border:1px solid rgba(255,200,87,.18) !important}
.review-card{background:linear-gradient(160deg,rgba(255,77,109,.10),rgba(255,200,87,.06)),#111923 !important;box-shadow:0 14px 34px rgba(0,0,0,.30) !important}
.review-card__name{color:#f8fafc !important}
.review-card__rating,.top-bonus__type{color:#E40208 !important}

.header__logo-link::before{background:linear-gradient(90deg,rgba(255,77,109,.32),rgba(255,200,87,.20)) !important;box-shadow:0 4px 22px rgba(255,77,109,.18) !important}
.scrollbar{scrollbar-color:#ff4d6d #0b1117 !important}
.scrollbar::-webkit-scrollbar-track{background-color:#0b1117 !important}
.scrollbar::-webkit-scrollbar-thumb{background-color:#ff4d6d !important}
.scrollbar::-webkit-scrollbar-thumb:hover{background-color:#E40208 !important}

/* Fix content tables: support 4-column withdrawal tables without flex distortion */
.content>table,
.wp-block-table table{
    display:block !important;
    width:100% !important;
    overflow-x:auto !important;
    border-collapse:separate !important;
    border-spacing:0 2px !important;
}

.content>table tbody,
.wp-block-table table tbody{
    display:table !important;
    width:100% !important;
    min-width:760px !important;
}

.content>table tr,
.wp-block-table table tr{
    display:table-row !important;
    min-height:0 !important;
    padding:0 !important;
    background-color:transparent !important;
}

.content>table td,
.content>table th,
.wp-block-table table td,
.wp-block-table table th{
    display:table-cell !important;
    width:auto !important;
    min-width:0 !important;
    padding:14px 16px !important;
    vertical-align:top !important;
    background-color:rgba(38,50,65,.72) !important;
    border-bottom:1px solid rgba(255,255,255,.06) !important;
    line-height:1.45 !important;
}

.content>table td:nth-child(1),
.content>table td:nth-child(2),
.content>table td:nth-child(3),
.content>table th:nth-child(1),
.content>table th:nth-child(2),
.content>table th:nth-child(3),
.wp-block-table table td:nth-child(1),
.wp-block-table table td:nth-child(2),
.wp-block-table table td:nth-child(3),
.wp-block-table table th:nth-child(1),
.wp-block-table table th:nth-child(2),
.wp-block-table table th:nth-child(3){
    flex:none !important;
}

.content>table tr:first-of-type td,
.content>table tr:first-of-type th,
.wp-block-table table tr:first-of-type td,
.wp-block-table table tr:first-of-type th{
    font-weight:700 !important;
    color:#f8fafc !important;
    background-color:#263241 !important;
}

.content>table td p,
.content>table th p,
.wp-block-table table td p,
.wp-block-table table th p{
    margin:0 !important;
}

.content>table tr:first-of-type td:first-child,
.content>table tr:first-of-type th:first-child,
.wp-block-table table tr:first-of-type td:first-child,
.wp-block-table table tr:first-of-type th:first-child{
    border-top-left-radius:14px !important;
}

.content>table tr:first-of-type td:last-child,
.content>table tr:first-of-type th:last-child,
.wp-block-table table tr:first-of-type td:last-child,
.wp-block-table table tr:first-of-type th:last-child{
    border-top-right-radius:14px !important;
}

.content>table tr:last-of-type td:first-child,
.content>table tr:last-of-type th:first-child,
.wp-block-table table tr:last-of-type td:first-child,
.wp-block-table table tr:last-of-type th:first-child{
    border-bottom-left-radius:14px !important;
}

.content>table tr:last-of-type td:last-child,
.content>table tr:last-of-type th:last-child,
.wp-block-table table tr:last-of-type td:last-child,
.wp-block-table table tr:last-of-type th:last-child{
    border-bottom-right-radius:14px !important;
}
