/* 
 Theme Name:   the-sheep-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     the-sheep
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/

ul:is(.icon-list, .icon-list.sport) li::before { background: var(--icon-list-bullet-sport-custom) center / contain no-repeat; }
ul.icon-list.checks li::before { content: "\f00c" }
:is(ol, ul):is(.two-cols, .three-cols) > li { margin-right: 15px; }
.primary-table.gold [class*=logo-] { height: 90px; }
.primary-table.gold .table-row { background: var(--light-color); }
.primary-table.gold .brand-logo { border-radius: 4px; }
.primary-table.gold .brand-score { font-size: 15px; }
.primary-table.gold .brand-features { border-left: 1px solid var(--separator-border); }
.primary-table.gold .table-row > .brand-features:nth-child(2) { border-left: none; }
@media screen and (min-width: 992px) {
	.primary-table.gold-trading .table-row { min-height: 120px; }
}
@media screen and (max-width: 991px) {
    .primary-table.gold [class*=logo-] { height: 100%; }
    .primary-table.gold .table-row > .brand-features:nth-child(2) { border-top: none; }
    .primary-table.gold .brand-features { border-left: none; border-top: 1px solid var(--separator-border); }
	.primary-table.gold { max-width: 350px; }
	.primary-table.gold .brand-logo { border-radius: 4px; display: block; height: 80px;}
	.primary-table.gold .brand-cta { gap: 12px; }
}
.author-box .author-box-text { display: flex; align-items: center; }
.pinterest { background: center / contain no-repeat var(--icon-pinterest); }
.footer .icon.gambling-commission { background: center / contain no-repeat var(--icon-gambling-commission); width: 110px; }
.footer .icon.mga { background: center / contain no-repeat var(--icon-mga); width: 96px; }
#menu-footer-menu li {margin: 0;}
#menu-footer-menu a {
    display: inline-block;
    padding: 10px 12px;
    min-height: 30px;
    min-width: 30px;
}
i.icon.android::before { background-image: var(--icon-android); }
i.icon.ios::before { background-image: var(--icon-ios); }

/* Table with filters */
.table-filters { gap: 10px; }
.sorting, .filtering { gap: 10px; border: 1px solid var(--light-color); border-radius: 6px; }
.sort-bar { gap: 10px; -webkit-overflow-scrolling: touch; max-width: 100%; }
.sort-pill { display: flex; align-items: center; cursor: pointer; padding: 6px 14px; border: 1px solid var(--light-color); border-radius: 6px; white-space: nowrap; background: var(--main-bg-color); transition: all 0.2s ease; user-select: none; }
.sort-pill:has(input:checked) { background: var(--light-color); }
.primary-table.filtering-active ~ #show-btn, .primary-table.filtering-active ~ #hide-btn { display: none; }
.primary-table .row-hidden.force-visible { display: flex; }
.sort-label .sort-icon { background: var(--icon-sort) center / contain no-repeat; width: 18px; height: 16px; vertical-align: middle; }
.mobile-filter-toggle .sort-filter-icon { background: var(--icon-sort-filter) center / contain no-repeat; width: 24px; height: 18px; vertical-align: middle; }
.filter-label .filter-icon { background: var(--icon-filter) center / contain no-repeat; width: 19px; height: 16px; vertical-align: middle; }
.filter-dropdown .dropdown-toggle::after { content: none; }
.filter-dropdown i.fas.fa-chevron-down { font-size: 12px; }
.filter-dropdown.show i.fas.fa-chevron-down { transform: rotate(180deg); }
.table-filters .dropdown-menu { border: none; box-shadow: var(--box-shadow); white-space: nowrap; }
.table-filters .dropdown-menu label { cursor: pointer; }
.filter-license, .filter-payment { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--light-color); border-radius: 6px; display: inline-block; vertical-align: middle; position: relative; }
.filter-license:checked, .filter-payment:checked { background-color: var(--light-color); }
.filter-license:checked::after, .filter-payment:checked::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 10px; border: solid black; border-width: 0 2px 2px 0; transform: translate(-50%, -60%) rotate(45deg); }
.filter-clear { border-color: #ffc7c7; border-radius: 6px; display: none; }
.filter-clear:hover { background: #ffc7c7; }
#filter-no-results { background: rgb(from var(--accent-color) r g b / 0.20); border-radius: 6px; }

@media (max-width: 991px) {
    .sort-pill { padding: 6px; }
    .mobile-filter-toggle { border: 1px solid var(--light-color); border-radius: 6px; background: var(--main-bg-color); color: var(--dark-text-color); width: 350px; max-width: 100%; line-height: normal; text-transform: uppercase; }
    .mobile-filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 9998; }
    .mobile-filter-overlay.active { display: block; }
    .table-filters { position: fixed; top: 0; right: 0; width: 85%; max-width: 350px; height: 100%; background: var(--main-bg-color); z-index: 9999; transform: translateX(100%); transition: transform 0.3s ease; flex-direction: column; overflow-y: auto; padding: 20px; }
    .table-filters.active { transform: translateX(0); }
    .sorting, .filtering { flex-direction: column; align-items: flex-start; max-width: 100%; }
    .mobile-filter-apply { width: 100%; background: var(--light-color); color: var(--dark-text-color); border: 1px solid var(--light-color); border-radius: 6px; z-index: 2; }
    .table-filters .filter-dropdown { width: 100%; }
    .table-filters .filter-dropdown .dropdown-menu { position: relative; inset: unset; transform: none; display: none; width: 100%; margin-top: 10px; box-shadow: none; border: 1px solid var(--light-color); border-radius: 6px; max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: max-height 0.3s ease, padding 0.2s ease; }
    .table-filters .filter-dropdown.show .dropdown-menu { max-height: 500px; padding-top: 1rem; padding-bottom: 1rem; display: block; }
    .table-filters .filter-dropdown .filter-btn { width: 100%; text-align: left; line-height: normal; }
    .filter-clear { width: 100%; }
    .table-filters .filter-menu label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
    .table-filters input.filter-license, .table-filters input.filter-payment { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--light-color); border-radius: 6px; position: relative; flex-shrink: 0; background: transparent; }
    .table-filters input.filter-license:checked, .table-filters input.filter-payment:checked { background-color: var(--light-color); }
    .table-filters input.filter-license:checked::after, .table-filters input.filter-payment:checked::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 10px; border: solid black; border-width: 0 2px 2px 0; transform: translate(-50%, -60%) rotate(45deg); }
    .mobile-filter-header { width: 100%; display: flex; justify-content: flex-end; margin-bottom: 10px; }
    .mobile-filter-close { width: 36px; height: 36px; border: none; background: transparent; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--dark-text-color); }
    .bonus-after {font-size: 16px;}
}

@media (max-width: 767px) {
    .table-filters { width: 100%; max-width: 100%; }
}

i.icon.revolut::before { background-image: var(--icon-revolut); }
i.icon.paysafecard::before { background-image: var(--icon-paysafecard); }

.author-box a { color: var(--dark-text-color); }
.author-box :is(.author-box-title, .author-box-last-update, .author-box-additional, .author-label) { font-size: 12px; }
.author-box .author-info { width: 70%; }
.special-terms {  font-size: 12px; transform: scale(.85); transform-origin: right center; }

