/*
Theme Name: Casino Reviews Theme
Author: Bohdan Khavrych
Author URI: https://bogdan-khavrych.github.io/portfolio/
Description: Casino Reviews Theme is a custom WordPress theme tailored for creating structured and conversion-oriented casino review websites. It features flexible layout options, reusable blocks for ratings, feature comparisons, and affiliate call-to-actions — making it ideal for building SEO-friendly and monetized review pages. The theme supports detailed casino profiles, filtering, and consistent design patterns for listing operators. Designed as a private-use template, it's optimized for affiliate marketing with a focus on usability, accessibility, and high-converting UX.
Requires at least: 6.8
Tested up to: 6.8.1
Requires PHP: 8.0
Version: 1.1
License: Proprietary – For private/internal use only. Unauthorized distribution or reuse is prohibited.
Text Domain: casino-reviews
Tags: custom-layout, affiliate-ready, seo-optimized, block-patterns, full-site-editing, responsive-design, accessibility-ready, block-styles, translation-ready
*/

.main > .container > p{
  line-height: 1.4;
}

.container{
  box-sizing: border-box;
}

.header{
  z-index:10;
}

@media(min-width:1025px){
  .screen__rating-sublist{
    width: 100%;
  }
}

.screen--image .screen__image-default{
  margin: 0 auto;
}

.wp-block-list{
  list-style: none;
  padding-left: 0;
}

ul.wp-block-list li{
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
  margin-bottom: 8px;
}

ul.wp-block-list li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  background-color: var(--online-casino-dark);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}



ol.wp-block-list li{
  padding:4px 0;
  padding-left: 44px;
  position: relative;
  line-height: 1.4;
  counter-increment: list-counter;
  margin-bottom: 1em;
}

ol.wp-block-list {
  counter-reset: list-counter;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ol.wp-block-list li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--online-casino-dark);
  background-color: var(--online-casino-super-light-grey);
  font-size: 1.25em;
  width: 32px;
  line-height: 1.5;
  height: 32px;
  border-radius: 50%;
  font-weight: 500;
  text-align: center;
}

.theme-color-blue ul.wp-block-list li::before{
  background-color: var(--online-casino-blue-dark);
}

.theme-color-blue ol.wp-block-list li::before{
  color: var(--online-casino-blue-dark);
}

.theme-color-purple ul.wp-block-list li::before{
  background-color: var(--online-casino-purple-dark);
}

.theme-color-purple ol.wp-block-list li::before{
  color: var(--online-casino-purple-dark);
}

.theme-color-green ul.wp-block-list li::before{
  background-color: var(--online-casino-green-dark);
}

.theme-color-green ol.wp-block-list li::before{
  color: var(--online-casino-green-dark);
}

.wp-block-table {
  padding: 0;
}

.wp-block-table {
  line-height: 1.4;
}

.wp-block-table table{
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--online-casino-super-light-grey);
  border-radius: 16px;
  padding: 16px;
}

.wp-block-table table th,
.wp-block-table table td {
  border: none;
}

.wp-block-table tr:first-child{
  background-color: rgba(8,13,38,0.03);
}

.wp-block-table tr:first-child td{
  font-weight: 500;
}

.wp-block-table tr:first-child td:first-child{
  border-left: 1px solid var(--online-casino-dark);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.wp-block-table tr:first-child td:last-child{
  border-right: 1px solid var(--online-casino-dark);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.wp-block-table tr:first-child td{
  border-top: 1px solid var(--online-casino-dark);
  border-bottom: 1px solid var(--online-casino-dark);
  padding: 16px;
}

.wp-block-table td{
  padding: 12px;
}

.wp-block-table tr{
  border-radius: 16px;
}
.wp-block-table tr:nth-child(2n+3) td{
  background-color: #ffffff;
}
.wp-block-table tr:nth-child(2n+3) td:first-child{
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.wp-block-table tr:nth-child(2n+3) td:last-child{
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}


.theme-color-blue .wp-block-table tr:first-child{
  background-color: rgba(60,102,255,0.08);
}
.theme-color-blue .wp-block-table tr:first-child td:first-child{
  border-left: 1px solid var(--online-casino-blue-light);
}
.theme-color-blue .wp-block-table tr:first-child td:last-child{
  border-right: 1px solid var(--online-casino-blue-light);
}
.theme-color-blue .wp-block-table tr:first-child td{
  border-top: 1px solid var(--online-casino-blue-light);
  border-bottom: 1px solid var(--online-casino-blue-light);
}

.theme-color-purple .wp-block-table tr:first-child{
  background-color: rgba(174,114,255,0.08);
}
.theme-color-purple .wp-block-table tr:first-child td:first-child{
  border-left: 1px solid var(--online-casino-purple-light);
}
.theme-color-purple .wp-block-table tr:first-child td:last-child{
  border-right: 1px solid var(--online-casino-purple-light);
}
.theme-color-purple .wp-block-table tr:first-child td{
  border-top: 1px solid var(--online-casino-purple-light);
  border-bottom: 1px solid var(--online-casino-purple-light);
}

.theme-color-green .wp-block-table tr:first-child{
  background-color: rgba(30,192,96,0.08);
}
.theme-color-green .wp-block-table tr:first-child td:first-child{
  border-left: 1px solid var(--online-casino-green-light);
}
.theme-color-green .wp-block-table tr:first-child td:last-child{
  border-right: 1px solid var(--online-casino-green-light);
}
.theme-color-green .wp-block-table tr:first-child td{
  border-top: 1px solid var(--online-casino-green-light);
  border-bottom: 1px solid var(--online-casino-green-light);
}

@media(max-width:940px){
  .wp-block-table td{
    width:200px;
  }
}

footer{
  margin-top: 24px;
}

.search-result__title{
  font-weight: 600;
}

.search-nothing{
  font-size: 1.3rem;
}

.search-page,
.authors-page{
  margin:2rem 0;
}

.article__box-wrap{
  display: flex;
  box-shadow: 0 12px 24px rgba(29, 39, 48, .1);
  background-color: rgb(253, 253, 253);
  padding: 24px 40px;
  margin-top: 2rem;
  transition: .3s ease-in-out;
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
}

.article__box-wrap:hover{
  box-shadow: 0 12px 24px rgba(29, 39, 48, .2);
}

.article__date{
  opacity: .7;
}

@media(max-width:767px){
  .article__box-wrap {
  padding: 24px;
  }
}


.page-404-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2rem 0 4rem 0;
  min-height: 200px;
}

.page-404-wrap p{
  font-size: 1.5rem;
  margin: 0 !important;
}

.author-page{
  margin: 2rem 0;
  min-height: 300px;
}

.author-page .card__title{
  font-size: 1.25em;
}

@media(min-width:1024px){
  .author-page .card__title{
    font-size: 1.5em;
  }
  .author-page .card__box{
    padding:24px;
    border-radius: 24px;
  }
  .author-page p{
    font-size: 1.1em;
    margin: 1rem 0;
  }
  .author-page .card__author {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
  }
  .card__name{
    margin-left: 8px;
  }
  .author-page .card__social img {
    width: 24px;
    height: 24px;
  }
}

.simpletoc{
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.simpletoc-title{
  color: var(--online-casino-dark);
  font-size: 18px !important;
  line-height: 1.5;
  position: relative;
  font-family: inherit !important;
  font-weight: 500 !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.simpletoc-collapsible{
  position: relative;
  color: var(--online-casino-dark) !important;
  font-size: 18px !important;
  line-height: 1.5;
  padding: 12px 0 !important;
  padding-right: 42px !important;
  padding-left: 36px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  border-radius: 12px !important;
  background-color: rgba(238,238,244,1) !important;
  transition: .3s ease-in-out;
}

.simpletoc-collapsible:hover{
  background-color: rgba(238,238,244,.75) !important;
}

.simpletoc-content{
  background-color: var(--online-casino-super-light-grey) !important;
}

.simpletoc-collapsible.active {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.simpletoc-content {
  border-bottom-right-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}

.simpletoc-list{
  list-style: none;
  padding-left: 24px !important;
}

.simpletoc-list li{
  margin-bottom: 8px !important;
  padding-left: 18px;
  position: relative;
}

.simpletoc-list li::before{
  position: absolute;
  content: '';
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--online-casino-dark);
  border-radius: 50%;
}

ol.simpletoc-list {
  counter-reset: toc-counter;
}

ol.simpletoc-list li {
  counter-increment: toc-counter;
  position: relative;
  padding-left: 2em;
  margin-bottom: 12px !important;
}

ol.simpletoc-list li::before {
  content: counter(toc-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6em;
  height: 1.6em;
  background-color: var(--online-casino-dark); 
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.6em;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.9em;
}

.simpletoc-list a{
  text-decoration: none;
  color: inherit;
  transition: .3s ease-in-out;
}

.simpletoc-list a:hover{
  opacity: .75;
}

.simpletoc-collapsible::before{
  position: absolute;
  content: '';
  left: 18px;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--online-casino-dark);
}

.simpletoc-collapsible .simpletoc-icon::after{
  position: absolute;
  float: none !important;
  content: "" !important;
  font-size: 0;
  top: 7px;
  right: 0;
  left: 0;
  margin: 0 auto !important;
  top: 8px;
  width: 8px;
  height: 5px;
  transition: 0.3s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.07 1L4.035 4.035L1 1' stroke='white' stroke-width='1.2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
 }

 .simpletoc-collapsible.active .simpletoc-icon::after {
  transform: rotate(-180deg);
  top: 7px;
}

@media(max-width:940px){
.simpletoc-list{
  padding-left: 18px !important;
}
.simpletoc-collapsible{
  padding-left: 28px !important;
}
.simpletoc-collapsible::before{
  left: 14px;
}
}

.simpletoc-icon {
  position: absolute;
  right: 12px;
  top: 14px;
  background: linear-gradient(180deg, #080d26 0%, #2a2f46 100%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.theme-color-blue .simpletoc-icon {
  background: linear-gradient(180deg, #0339ff 0%, #3c66ff 56.73%);
}

.theme-color-purple .simpletoc-icon {
  background: linear-gradient(180deg, #7916fe 0%, #ae72ff 100%);
}

.theme-color-green .simpletoc-icon {
  background: linear-gradient(180deg, #189a47 0%, #1ec060 100%);
}

.theme-color-blue .simpletoc-list li::before{
  background-color: var(--online-casino-blue-dark);
}

.theme-color-blue ol.simpletoc-list li::before {
  background-color: var(--online-casino-blue-dark); 
}

.theme-color-purple .simpletoc-list li::before{
  background-color: var(--online-casino-purple-dark);
}

.theme-color-purple ol.simpletoc-list li::before {
  background-color: var(--online-casino-purple-dark); 
}

.theme-color-green .simpletoc-list li::before{
  background-color: var(--online-casino-green-dark);
}

.theme-color-green ol.simpletoc-list li::before {
  background-color: var(--online-casino-green-dark); 
}

.theme-color-blue .simpletoc-collapsible::before{
  background-color: var(--online-casino-blue-dark); 
}
.theme-color-purple .simpletoc-collapsible::before{
  background-color: var(--online-casino-purple-dark); 
}
.theme-color-green .simpletoc-collapsible::before{
  background-color: var(--online-casino-green-dark); 
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


.author-page .card__block{
  padding: 0;
}

.breadcrumbs-default .breadcrumbs__item:last-child{
  color: var(--online-casino-dark);
  opacity: .64;
}

.steps__title-lg{
  font-size: 24px;
  margin: 0 !important;
  margin-bottom: 1.5rem !important;
}

/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
    opacity: 0;
}

/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}



.screen--rounded.screen--simple-dark .screen__container{
  background-color: var(--online-casino-dark);
}

.screen--image.screen--image-dark .screen__container{
  background: url(assets/images/screen-bg.svg) center / cover no-repeat;
}

@media (max-width: 1024px) {
  .screen--image .screen__info {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

#demo .fancybox-button {
  display: none !important;
}

#demo {
  width: 95%;
  max-width: 1200px;
}