/*
Theme Name: rps child
Description: Child theme for rps theme
Template: rps
Version: 2
*/

:root {
    --accent: white;
	--review: #8F99BC;
    --white: #fff;
    --grey-text: #AEB1CD;
    --black-text: #292730;
    --dark-bg-color: #19191D; 
    --dark-bg-color-2: #120039; 


    --advantages: #007749;
    --disadvantages: #CC0000;
    --advantages-bg: #f2f5eb;
    --disadvantages-bg: #f8eae9;
    --stars: #ECC600;
    --light-bg: #303033;
    --button-text-color: #0F1419;
    --dark-grey: #191927;


    --body-bg: #09090A;
    --dark-bg-color: #19191D;
    --second-color: #8318F4;
    --second-color-hover: #5A009F;
    --button-color: #FFA71A;
    --button-hover: #D95300;


    --linking-a: #fff;
    --linking-a-hover: #61DDB9;
    --links-bg: var(--dark-grey);
    
    --lavander: #D6DAFF;
    
    
    --grey-bg-dark: #19191D;
    --grey-medium: #303033;
    
    --block-content-bg: #10121B;
    --block-content-bg2: #32313F;

}

.error-404{
	min-height:350px;
}

article {
	min-height:350px;
}

article h1, .h1, article h2, .h2, article h3, .h3, article h4, .h4, .breadcrumbs a, .breadcrumbs span p {
    color: #ffffff !important;
}

.pll-switcher {
    position: relative;
    display: inline-block;
}

.pll-dropdown {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.pll-dropdown li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    transition: background 0.2s;
}

.pll-dropdown li.current {
    background: #f0f0f0;
    font-weight: bold;
}

.pll-dropdown li:hover {
    background: #e6e6e6;
}

.pll-dropdown img {
    width: 20px;
    height: auto;
    display: inline-block;
}


/* Главное меню */
.main-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-menu li {
  position: relative;
}

.main-menu li a {
  color: var(--foreground, #fff);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  display: block;
  transition: color 0.2s ease;
}

.main-menu li a:hover {
  color: #FFA71A;
}

/* Подменю */
.main-menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--header-bg, #19191D);
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  min-width: 180px;
  z-index: 999;
}

.main-menu li:hover > ul.sub-menu {
  display: block;
}

.main-menu li ul.sub-menu li a {
  padding: 8px 16px;
  font-weight: normal;
  white-space: nowrap;
}

/* Мобильное меню */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    background-color: var(--header-bg, #19191D);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    z-index: 999;
    flex-direction: column;
    padding: 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-menu {
    flex-direction: column;
    gap: 12px;
  }

  .main-menu li ul.sub-menu {
    position: relative;
    box-shadow: none;
    background: none;
  }

  .main-menu li:hover > ul.sub-menu {
    display: block;
  }
}

body {
    background: var(--body-bg);
    color: #ffffff;
}

@media (max-width: 1200px) {
    .site-logo {
        order: 1;
    }
    .header-nav {
        order: 3;
    }
    .header-buttons {
        order: 2;
    }
}

@media (max-width: 600px) {
    .header .container {
        height: auto;
        flex-wrap: wrap;
        padding: 15px 10px;
        gap: 10px;
    }
    .site-logo {
        order: 1;
    }
	.site-logo img {
		width: 130px;
		height: 40px;
	}
    .header-nav {
        order: 2;
    }
    .header-buttons {
        order: 3;
		width: 100%;
		justify-content: center;
    }
}

article h1, .h1,
article h2, .h2,
article h3, .h3,
article h4, .h4,
.breadcrumbs a, .breadcrumbs span {
    color: #ffffff!important;
}

@media (min-width: 1600px) {
    main {
        width: 1100px;
    }
    .container {
        max-width: 1450px;
    }
}

.homescreen {
	position: relative;
	overflow: hidden;
    background: url(img/bg11.png), url(img/bg1.png), url(img/bg2.png), url(img/bg33.png), url(img/bg3.png), #190039;
    background-position: -30px -31px, 0 0, 0 0, right bottom, right bottom, center;
    background-repeat: no-repeat;
    min-height: 460px;
}

.home__header {
    text-align: left;
}

.home__header h1 {
    padding: 0 0 40px 0;
}

.home__header p {
    color: white;
}

.homescreen .container {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: 1fr 1fr;
    gap: 5%;
	padding-top: 100px;
	padding-bottom: 100px;
}

.homescreen__img {
	position: absolute;
	z-index: 2;
	background-repeat: no-repeat;
	background-size: cover;
}

.triangle1 {
    width: 339px;
    height: 357px;
    background-image: url(img/triangle1.png);
    top: -70px;
    right: 7%;
}

.triangle2 {
    width: 81px;
    height: 92px;
    background-image: url(img/triangle2.png);
    top: 163px;
    right: 36%;
}

.triangle3 {
    width: 149px;
    height: 154px;
    background-image: url(img/triangle3.png);
    bottom: 40px;
    right: 46%;
}

.home__links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.home__links a {
    background-color: var(--second-color);
    color: white;
    display: block;
    width: 100%;
    height: 48px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 48px;
    font-size: 14px;
    font-weight: 500;
    padding-left: 48px;
    position: relative;
    transition: opacity 0.15s;
}

.home__links a:hover {
    opacity: 0.8;
}

.home__links a::before {
    position: absolute;
    left: 6px;
    top: 6px;
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
}

.home__links-1::before {
    background-image: url(img/homelink-1.png);
}

.home__links-2::before {
    background-image: url(img/homelink-2.png);
}

.home__links-3::before {
    background-image: url(img/homelink-3.png);
}

.home__links-4::before {
    background-image: url(img/homelink-4.png);
}

.home__links-5::before {
    background-image: url(img/homelink-5.png);
}

.home__links-6::before {
    background-image: url(img/homelink-6.png);
}

.homecasinolist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.homecasinolist__itemwrapper {
    background-color: var(--second-color);
    border-radius: 10px;
    padding: 4px 4px 4px 34px;
}

.homecasinolist__item {
    display: grid;
    grid-template-columns: 130px 1fr 1fr;
    align-items: center;
    justify-items: center;
    border-radius: 6px;
    background-color: var(--dark-grey);
    position: relative;
    padding-right: 6px;
}

.casinonum {
    position: absolute;
    left: -23px;
    font-size: 24px;
    font-weight: 600;
}

.casinotitle {
    display: none;
}

.casinoimg {
    width: 130px;
    min-height: 90px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px 0 0 6px;
    transition: opacity 0.15s;
}

.casinoimg:hover {
    opacity: 0.8;
}

.casinobonus {
    color: var(--second-color);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    line-height: 1;
}

.casinobtn {
    width: auto;
    font-size: 16px;
}

.header-menu {
    column-gap: 35px;
}

.header-menu a {
    color: white;
}

.header-menu a:hover, .footer-menu a:hover {
    color: var(--second-color);
}

.menu-buton {
    width: 24px;
    height: 24px;
}

.menu-buton div {
	width: 24px;
	height: 3px;
	background: white;
	border-radius: 1px;
	margin-bottom: 4px;
}

.menu-buton-active {
    top: 26px;
    z-index: 1000;
}

.menu-buton-active div {
	background: var(--second-color);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.copyright::before {
    content: '18+';
    width: 32px;
    height: 32px;
    border-radius: 16px;
    border: 1px solid var(--light-bg);
    line-height: 32px;
    text-align: center;
}

.disclaimer {
    text-align: center;
}



.sub-menu li a {
    color: white;
}


@media (min-width: 1201px) {
    .sub-menu li:first-child {
        padding-top: 16px;
        border-top: none;
        border-top-right-radius: 12px;
        border-top-left-radius: 12px;
    }
    .menu-item-has-children:hover::after {
        border: solid var(--second-color);
        border-width: 0 2px 2px 0;
    }
}

@media (max-width: 1200px) {

    .footer .container {
        flex-flow: column nowrap;
    }

    .footer {
        padding: 10px 0;
        gap: 10px;
    }

    .footer .site-logo img {
        height: 100%;
        width: 200px;
    }

    #footer-menu {
        flex-flow: row wrap;
        justify-content: center;
    }

    .footer-nav {
        order: 2;
    }

    .copyright {
        gap: 6px;
        text-align: center;
    }

    .copyright::before {
        content: '18+';
        width: 20px;
        height: 20px;
        font-size: 10px;
        line-height: 20px;
    }
    .copyright span {
        font-size: 16px;
    }

    .header-menu-active > li > a {
        border-bottom: none;
    }
    .menu-item-has-children {
        border-bottom: none;
    }
    .homescreen {
        background: url(img/bg1.png), url(img/bg2.png), url(img/bg33.png), url(img/bg3.png), #190039;
        background-position: 0 0, 0 0, right bottom, right bottom, center;
    }
    .homescreen .container {
        gap: 20px;
        grid-template-columns: 1fr;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .home__links {
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }
    .homecasinolist {
        gap: 10px;
    }
    .casinobtn {
        padding: 10px;
    }
    .deutschestar {
        top: 25px;
        left: auto;
        right: 5%;
    }
    .triangle2 {
        opacity: 0.1;
        top: 163px;
        right: 6%;
        transform: rotate(15deg);
    }
}


/* sub-sub-menu */
.menu-item-has-children .menu-item-has-children {
	box-shadow: none;
	border-bottom: none;
}

.menu-item-has-children .menu-item-has-children::after {
	content: none;
}

.menu-item-has-children::after {
    content: '';
    display: none;
    margin-left: 10px;    
    border: solid white;
    border-width: 0 2px 2px 0;
    padding: 2px;
    transform: rotate(45deg);
    height: 2px;
    width: 2px;
    margin-bottom: 2px;
}

.casinoitem-open .casinoitem__more::after {
    transform: rotate(360deg);
    top: 0;
}

.menu-item-has-children .menu-item-has-children .sub-menu {
	display: none;
}

.menu-item-has-children .menu-item-has-children:hover {
	background: var(--second-color);
}

.menu-item-has-children .menu-item-has-children:hover > a {
	color: white;
}

.menu-item-has-children .menu-item-has-children:hover .sub-menu {
	display: block;
	position: absolute;
	top: 0;
	right: 100%;
	padding-top: 0;
}

@media (max-width: 1200px) {
	.menu-item-has-children .menu-item-has-children .sub-menu {
		display: block;
		padding-left: 20px;
	}	
	.menu-item-has-children .menu-item-has-children:hover .sub-menu {
		position: relative;
	}
	.menu-item-has-children .menu-item-has-children:hover {
		background: var(--light-bg);
	}
	.menu-item-has-children .menu-item-has-children:hover > a {
		color: var(--dark-bg-color);
	}
	.menu-item-has-children .menu-item-has-children .sub-menu li:first-child {
		padding-top: 0;
	}
}
/* .sub-sub-menu */

article h2::after, .h2::after {
    background: white;
    width: 175px;
    height: 5px;
}

.casinoitem__content {
grid-template-areas:
        "logo bonus bonus plus buttons"
        "bonustext bonustext bonustext banking banking";	
}

.casinoitem__more {
	display: block;
	grid-area: more;
	border: none;
	font-weight: 400;
	font-size: 16px;
	color: var(--second-color);
	padding: 0;
	cursor: pointer;
}

.casinoitem-open .casinoitem__bonustext,
.casinoitem-open .casinoitem__banking {
	display: block;
}

@media (max-width: 768px) {
	.casinoitem__more {
        border: 2px solid var(--second-color);
        color: var(--second-color);
		padding: 10px 30px;
	}
}

.casinoitem__review {
    border-radius: 6px;
    border: 2px solid var(--button-color);
    padding: 10px 30px;
    color: var(--button-color);
    transition: border 0.15s, color 0.15s;
    width: 100%;
    text-align: center;
}

.casinoitem__review:hover {
    border: 2px solid var(--button-hover);
    color: var(--button-hover);
}

.casinoitem {
    background: var(--dark-grey);
}

.casinoitem__bonus-payspeed, .casinoitem__bonus-payrate, .casinoitem__bonus-limits, .casinoitem__bonus-welcome, .casinoitem__plus, .casinoitem__bonustext, .casinoitem__banking{
    background: var(--dark-bg-color);
    border: 2px solid var(--grey-medium);
}

.sidebaroffer {
    border: none;
    background: var(--grey-bg-dark);
}

.sidebar__content a {
    padding: 8px 0;
}

.sidebar__content a:hover {
    color: var(--second-color);
}

.casinoitem__plus p::before, .casinoitem__plus ul li::before {
    content: url(img/marker.png);
}

.wp-block-social-link {
    padding-left: 0;
}

.wp-block-social-link::before {
    content: '';
    display: none;
}

article ol li::before {
    background: var(--second-color);
    color: var(--dark-bg-color);
    font-weight: 600;
}

article ul li::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: none;
    background-repeat: no-repeat;
    background-color: var(--second-color);
    border-radius: 50%;
}

article ul li::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    height: 5px;
    width: 9px;
    border-bottom: 3px solid black;
    border-left: 3px solid black;
    transform: rotate(315deg);
}

.articleauthor {
    background: var(--dark-grey);
    border-radius: 10px;
}

.articleauthor__description {
    background: #23233d;
    border-radius: 8px;
}

.articleauthor__name {
    color: white;
}

.articleauthor__job {
    background: var(--second-color);
    border-radius: 6px;
}

.author-sidebar {
    background: var(--dark-grey);
    border-radius: 10px;
}

.author-sidebar__date {
    background: #23233d;
    border: none;
    color: white;
}

.author-sidebar__name-title {
    color: white;
}

.author-sidebar__name-label {
    color: white;
    background: var(--second-color);
    border-radius: 3px;
}

.author-sidebar__updated::before {
    background-image: url(img/updated.png);
}

.author-sidebar__published::before {
    background-image: url(img/published.png);
}

.articleauthor__updated::before {
    background-image: url(img/updated.png);
}

.articleauthor__published::before {
    background-image: url(img/published.png);
}

.articleslist__item-date {
	color: var(--second-color);
}

.articleslist__item-date::before {
    content: url(img/published.png);
}

.articleslist__item {
	background: var(--dark-grey);
}

.articleslist__item-title {
	color: var(--button-color);
}

.casinolist .gold-wrapper, .casinolist .standart-wrapper {
    border-radius: 4px
}

.standart-wrapper {
    background: var(--block-content-bg);
}

.casinolist .casinoitem {
    border-radius: 0 0 3px 3px;
}

.casinolist-review .casinoitem {
    background: var(--dark-grey);
    border-radius: 5px;
}

.casinoitem__info {
    background: #23233d;
}

.casinolist-review .casinoitem__plus p::before, .casinolist-review .casinoitem__plus ul li::before,
.promo__offer-content .casinoitem__plus p::before, .promo__offer-content .casinoitem__plus ul li::before {
    background-image: url(img/like.png);
}

.plusminus__plus p::before, .plusminus__plus ul li::before {
    content: url(img/like.png);
}

.plusminus__minus p::before, .plusminus__minus ul li::before {
    content: url(img/nolike.png);
}

.plusminus {
    background: var(--dark-grey);
    border-radius: 6px;
}

.plusminus__plus, .plusminus__minus {
    border-radius: 6px;
    background: var(--black-text);
}

.list1 li {
    border: 2px solid var(--green);
    background: var(--dark-grey);
    border-radius: 6px;
}

.list1 li::before {
    background-image: url(img/marker3.png);
    width: 23px;
    height: 24px;
}

.minus .list1 li {
    border: 2px solid var(--pink);
}

.minus .list1 li::before {
    background-image: url(img/marker4.png);
    width: 23px;
    height: 24px;
}

.block3 {
    background-color: var(--dark-bg-color);
    border-radius: 6px;
}

.block3-text {
    background: #23233d;
    border: none;
    border-radius: 6px;
}

.block3-pros, .block3-cons {
    background: var(--block-content-bg);
}

.block3-pros ul li::before {
    background-image: url(img/like.png);
    background-color: transparent;
}

.block3-cons ul li::before {
    background-image: url(img/nolike.png);
    background-color: transparent;
}

.block3-pros ul li::after {
    display: none;
}

.block3-cons ul li::after {
    display: none;
}

.block5 {
    background: var(--dark-grey);
}

.sidebar__content a, .sidebar__header, .sidebaroffer__title {
    color: #ffffff;
}

.table-of-contents {
    background: var(--grey-bg-dark);
    border-radius: 10px;
}

.sidebar__header::after {
    background-image: url(img/down.png);
    transition: transform 0.15s;
	filter: grayscale(1);
}

.sidebar__content {
    background: transparent;
    padding: 8px 30px 30px 30px;
}

.sidebar__content ul .li-H2:not(:first-child), .h2h3 {
    border-top: none;
    padding-top: 0;
}

@media (max-width: 600px) {
	.homescreen {
        background-repeat: no-repeat;
	}
	.homecasinolist__itemwrapper {
	    padding: 24px 4px 4px 4px;
	}
    .homecasinolist__item {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "a b"
            "a c";
        justify-items: stretch;
        column-gap: 10px;
    }
    .casinoimg {
        width: 100%;
        min-height: 120px;
        grid-area: a;
    }
    .casinobonus {
        grid-area: b;
    }
    .casinobtn {
        grid-area: c;
    }
    .casinonum {
        left: 6px;
        top: -21px;
        font-size: 16px;
    }
    .casinotitle {
        left: 26px;
        top: -21px;
        display: block;
        position: absolute;
        font-size: 16px;
        font-weight: 500;
    }
}

/* Contact Form 7 */

.button-blue {
    background: #69B6FC;
    color: white;
    display: inline-block;
}

.button-blue:hover {
    background: #1660A4;
    color: white;
}

.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 0 20px;
	border-radius: 8px;
	background: #ebf5fd;
	margin-bottom: 30px;
}

.wpcf7-form,
.wpcf7-form * {
	box-sizing: border-box;
}

.wpcf7-form input, 
.wpcf7-form textarea {
	width: 100%;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: 2px solid #69B6FC;
}

.wpcf7-submit {
	cursor: pointer;
    align-self: center;	
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	margin-top: 0 !important;
	border-radius: 3px;
    border-color: #62e5c6 !important;	
}

.wpcf7-spinner {
	margin-top: -10px;
}

.block15 .wpcf7-form {
    background: transparent;
    gap: 20px;
    padding: 0;
    margin-bottom: 0;
}

.block15 .wpcf7-form input, .block15 .wpcf7-form textarea {
    padding: 20px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400;
}

.block15 .articleauthor__contacts {
    flex-wrap: wrap;
}

.block15 .articleauthor__contacts a {
    background: var(--second-color);
    padding: 10px;
    border-radius: 50%;
    color: var(--black-text);
}

.block15 .articleauthor__contacts a:hover {
    background: var(--disadvantages);
}


@media (max-width: 600px) {
	.wpcf7-form {
		width: 100%;
		gap: 20px;
	}
	.wpcf7-submit {
		width: 90% !important;
	}
}

.sidebaroffer__review {
    color: var(--second-color);
    border-bottom: 1px dashed var(--second-color);
}

.linking a {
    background: var(--links-bg);
    color: var(--linking-a);
}

.linking a:hover {
    color: var(--linking-a-hover);
}

article table td,
.table1 td,
article table tr:nth-of-type(odd) td,
article table tr th {
    background: var(--dark-bg-color) !important;
}

table th strong, table th b {
    color: white;
}

article table td, article table th, article table tr {
    border-radius: 0 !important;
}

article table th, article table td {
    border-bottom: 1px solid var(--second-color) !important;
}

/*
article .block-wrapper table tr:nth-of-type(odd) td {
    background: var(--grey-medium) !important;
}
*/

article .block-wrapper table tr:nth-of-type(odd) {
    background: var(--grey-medium) !important;
}

article .block-wrapper table tr td {
    background: transparent !important;
    border: none !important;
    font-size: 16px;
}

.block11 .button-standart {
    display: block;
    margin: auto;
}

.block12 .wp-block-columns:nth-of-type(1) {
    margin-bottom: 30px;
}

.block12 .wp-block-column {
    display: grid;
    justify-items: center;
    background: var(--block-content-bg2);
    border-radius: 6px;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 4px 4px #0003;
}

.block12 .wp-block-column * {
    margin: 0;
}

.block13 ul {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid var(--dark-bg-color);
    border-radius: 6px;
    display: grid;
    gap: 16px;
}

.block13 ul li {
    background: var(--block-content-bg);
    padding: 12px 16px 12px 52px;
    border-radius: 6px;
}

.block13 ul li::before {
    top: auto;
    left: 16px
}

.block13 .button-standart {
    display: block;
    margin: auto;
}

.block13 .wp-block-columns {
    margin-bottom: auto;
}

.block14block {
    font-size: 16px;
    background: var(--block-content-bg);
    padding: 12px 20px;
    border-radius: 6px;
}

.block14block h6 {
    background: var(--button-color);
    color: var(--dark-bg-color);
    border-radius: 4px;
    padding: 2px 12px;
    font-weight: 400;
}

.block14img {
    margin-bottom: 30px;
}

.block6 {
    background-color: var(--dark-grey);
    border-radius: 6px;
}

.block6__content {
	border-top: 2px solid #23233d;
    border-right: 2px solid #23233d;
    border-bottom: 2px solid #23233d;	
	background-color: #23233d;
	border-radius: 0 6px 6px 0;
}

.block6__num p {
	color: var(--second-color);
}

.block6__content::before {
    content: url(img/block6bg.png);
}

@media (max-width: 781px) {
	.block6__content::before {
		content: none;
	}
	.block6__content {
        border: none;
        border-radius: 6px;
	}
}

.block2 {
    border-left: 10px solid var(--stars);
    background: var(--dark-grey);
    border-radius: 6px;
}

.relatedpost__title {
    text-decoration: none;
}

.relatedpost__title:hover {
    color: var(--second-color);
}

.promo__offer-content .casinoitem__bonus-welcome {
    min-height: 100px;
    justify-content: center;
}

.sidebarlinks__header {
    position: relative;
    padding-left: 48px;
}

.sidebarlinks__header::before {
    content: '';
    position: absolute;
    display: block;
    background-image: url(img/www.png);
    width: 32px;
    height: 32px;
    left: 0;
    top: -3px;
}


.block-wrapper {
    background: var(--grey-bg-dark);
    padding: 40px;
    border-radius: 6px;
    position: relative;
    margin-bottom: 30px;
}

.block-wrapper::before {
    content: '';
    width: calc(100% - 80px);
    height: 7px;
    background: var(--second-color);
    display: block;
    position: absolute;
    top: 0px;
    border-radius: 4px;
    z-index: 100;
}

.block-wrapper h2 {
    margin-bottom: 40px;
    margin-top: 0;
}

.block-wrapper h2::after {
    display: none;
    content: '';
}

.block-wrapper .wp-block-columns:last-child {
    margin-bottom: 0;
}

.block-wrapper p:last-child {
    margin-bottom: 0;
}

.blockheader {
    width: 100%;
    margin-bottom: 30px;
}

.blockheader > div {
    max-width: 85%;
}

.blockheader-bonus {

}


.blockheader-bonus p:nth-of-type(1) {
    font-size: 18px;
    font-weight: bold;
}

.blockheader-bonus p:nth-of-type(2) {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.blockheader-bonus a {
    margin-top: 10px;
    background-color: var(--second-color);
    text-transform: uppercase;
    color: white;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}
.blockheader-bonus a:hover {
    background-color: var(--second-color-hover);
}

@media (max-width: 600px) {
    .block-wrapper {
        padding: 20px;
    }

    .blockheader-bonus {
        align-items: center!important;
    }

    .block-wrapper::before {
        width: calc(100% - 40px);
    }
    .block-wrapper h2 {
        margin-bottom: 20px;
    }
    .block16 .wp-block-image {
        text-align: center;
    }
    .block13 ul {
        margin-top: 20px;
        padding: 10px;
        gap: 10px;
    }
    .block14block {
        text-align: center;
        gap: 10px;
    }
    .block14block h6 {
        margin: auto;
    }
    .block14block p:last-child {
        margin-bottom: 0;
    }
    .blockheader {
        width:100%;
    }
    .blockheader > div  {
        max-width: 100%;
    }
    .blockheader > div > h1 {
        margin-top: 0;
    }
}

.schema-faq-section {
    background: var(--dark-bg-color);
    filter: grayscale(1);
}

.schema-faq-question {
    color: white;
}

.schema-faq-question::after {
    background-image: url(img/down.png);
    width: 24px;
    height: 24px;
    background-color: transparent;
}

.faq-open .schema-faq-question::after {
    background-color: transparent;
    transform: rotate(0deg);
}

.faq-open .schema-faq-question {
    border-bottom: none;
}


.slotsl-game {
    border-radius: 5px !important;
    background-color: var(--dark-grey);
}

.slotsl-meta .slotsl-title a {
    color: white;
}

.slotsl-meta .slotsl-title a:hover {
    color: var(--button-color);
}

.slotsl-thumb img {
    border-radius: 5px 5px 0 0;
}

.slotsl-search input, .slotsl-providers select {
    background-color: var(--dark-grey);
    border: none !important;
    border-radius: 5px;
    color: white;
}



.casinolist2 > div, .casinolist40 > div:not(.casinolist40__header), .casinolist40 > a, .block10 > div {
    background: var(--dark-grey);
    border-radius: 6px;
}

.casinolist2__rating, .casinolist30__rating {
    background: conic-gradient(var(--green) var(--progress), #444 var(--progress));
}

.casinolist2__rating:after, .casinolist30__rating:after {
    background: var(--dark-grey);
}

.casinolist30item {
    background: var(--dark-grey);
    border-radius: 6px;
}



.bottomoffer-wrapper {
    position: fixed;
    z-index: 555;
    bottom: 20px;
    box-sizing: border-box;
    left: 0;
    right: 0;
    max-width: 100%;
    background: transparent;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.bottomoffer {
    width: 900px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 4px;
    background: #320862;
    display: grid;
    grid-template-columns: 100px 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
}

.bottomoffer__title {
    font-weight: 500;
}

.bottomoffer__logo {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    background-position: center;
    background-size: cover;
    transition: opacity ease 0.15s;
}

.bottomoffer__logo:hover {
    opacity: 0.8;
}

.bottomoffer__rating {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.bottomoffer__rating > div:nth-of-type(1) {
    display: flex;
}

.fade-star {
    opacity: 0.2;
}

.bottomoffer__button {
    width: 100%;
    text-align: right;
}

.page-template-page-reviewpage .footer, 
.page-template-page-reviewpage2 .footer,
.single-casino .footer {
    padding-bottom: 150px;
}

@media (max-width: 1200px) {
    .bottomoffer {
        width: 600px;
        padding: 10px;
        grid-template-columns: 100px 2fr 1fr;
        grid-template-areas: "bottomoffer__logo bottomoffer__title  bottomoffer__button"
                             "bottomoffer__logo bottomoffer__rating bottomoffer__button";
    }
    .bottomoffer__logo {
        grid-area: bottomoffer__logo;
    }
    .bottomoffer__title {
        grid-area: bottomoffer__title;
    }
    .bottomoffer__rating {
        grid-area: bottomoffer__rating;
    }
    .bottomoffer__button {
        grid-area: bottomoffer__button;
    }
    .bottomoffer__button a {
        padding: 10px 20px;
        width: auto;
    }
}

@media (max-width: 600px) {
    .bottomoffer-wrapper {
        bottom: 0;
    }
    .bottomoffer {
        width: 100%;
        justify-items: start;
        gap: 10px;
        grid-template-columns: 100px 1fr;
        grid-template-areas: "bottomoffer__logo bottomoffer__title"
                             "bottomoffer__logo bottomoffer__rating"
                             "bottomoffer__logo bottomoffer__button";
        padding: 10px;
    }
    .bottomoffer__logo {
        height: 100%;
    }
    .bottomoffer__button {
        text-align: left;
    }
    .bottomoffer__button a {
        padding: 10px ;
    }
}

.homescreen-review .container {
	grid-template-columns: 1fr;
}
.reviewinfo {
	background: var(--body-bg);
	border-radius: 6px;
	width: 100%;
	min-height: 340px;
	padding: 20px;
	display: grid;
	gap: 16px;
	grid-template-columns: 2fr 3fr 3fr 2fr;
	grid-template-areas: "revbrend revbonus    revpay      revplusminus"
		"revbrend revoverview revoverview revplusminus";
}
.reviewinfo > div:not(.casinoitem__brand) {
	padding: 10px;
}
.reviewinfo .casinoitem__brand {
	grid-area: revbrend;
}
.reviewinfo .casinoitem__logo {
	width: 100%;
	height: 100%;
	min-height: 150px;
}
.reviewinfo .casinoitem__reg {
	width: 100%;
}
.revbonus {
	grid-area: revbonus;
	background: var(--dark-grey);
	border-radius: 6px;
}
.revbonus div:nth-of-type(1) {
	position: relative;
	font-size: 14px;
	font-weight: 600;
	padding-left: 32px;
	min-height: 36px;
}
.revbonus div:nth-of-type(1)::before {
	position: absolute;
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/rps-child/img/diamond.png);
	left: 0;
	top: -3px;
}
.revbonus div:nth-of-type(2) {
	font-size: 32px;
	font-weight: 700;
	color: var(--green);
	text-align: center;
}
.revpay {
	grid-area: revpay;
	background: var(--dark-grey);
	border-radius: 6px;
}
.revpay > div:nth-of-type(1) {
	position: relative;
	font-size: 14px;
	font-weight: 600;
	padding-left: 32px;
	min-height: 36px;
}
.revpay > div:nth-of-type(1)::before {
	position: absolute;
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/rps-child/img/dollar.png);
	left: 0;
	top: -3px;
}
.revpay .casinoitem__banking-items {
	margin-top: 0;
	row-gap: 4px;
}
.revplusminus {
	grid-area: revplusminus;
	background: var(--dark-grey);
	border-radius: 6px;
}
.revoverview {
	grid-area: revoverview;
	background: var(--dark-grey);
	border-radius: 6px;
}
.revoverview > div:nth-of-type(1) {
	position: relative;
	font-size: 14px;
	font-weight: 600;
	padding-left: 32px;
	min-height: 36px;
}
.revoverview > div:nth-of-type(1)::before {
	position: absolute;
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/rps-child/img/lens.png);
	left: 0;
	top: -3px;
}
.revoverview > div:nth-of-type(2) {
	font-size: 14px;
	background: var(--black-text);
	padding: 10px;
	border-radius: 3px;
}
.revplus, .revminus {
	font-size: 14px;
	font-weight: 400;
	line-height: 14px;
}
.revplus {
	margin-bottom: 30px;
}
.revplus ul, .revminus ul {
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.revplus p, .revminus p, .revplus li, .revminus li {
	position: relative;
	padding-left: 30px;
}
.revplus p::before, .revplus li::before {
	content: '';
	position: absolute;
	background-image: url(/wp-content/themes/rps-child/img/revplus.png);
	background-repeat: no-repeat;
	display: block;
	width: 20px;
	height: 20px;
	left: 0;
	top: -3px;
}
.revminus p::before, .revminus li::before {
	content: '';
	position: absolute;
	background-image: url(/wp-content/themes/rps-child/img/revminus.png);
	background-repeat: no-repeat;
	display: block;
	width: 20px;
	height: 20px;
	left: 0;
	top: -3px;
}
@media (max-width: 1200px) {
	.reviewinfo {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-areas: "revbrend revbonus    revpay      "
			"revbrend revoverview revplusminus"
			"revbrend revoverview revplusminus";
	}
}
@media (max-width: 600px) {
	.reviewinfo {
		display: flex;
		flex-direction: column;
	}
}

.plus18 {
    width: 50px;
    height: 50px;
    background-image: url(img/18+.png);
}



.header-buttons {
    display: flex;
    gap: 20px;
}

.button-login {
    width: auto;
    background: var(--second-color);
	color: white;
}

.button-login:hover {
	background: var(--second-color-hover);
	color: white;
}

.button-reg {
    width: auto;
}

.header__buttons-container {
    display: flex;
    align-items: center;
}

.header-menu-active {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 60px 20px 20px 20px;
    background: var(--light-bg);
    box-shadow: 0 0 6px 0 #57597E1A;
}

/* Polylang Flags Inline */

.polylang-widget {
    width: fit-content;
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
	
}

.polylang-flags {
    list-style-type: none;
    position: absolute;
top: 40px;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 5px;
    background-color: var(--dark-grey);
    width: 200px;
    padding: 18px;
    border-radius: 20px;
    margin-top: 10px;
}

.polylang-current-name {
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    font-weight: bold;
}

.polylang-current-name:after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    display: flex;
    transform: rotate(45deg);
    position: absolute;
    right: -20px;
    top: 3px;
}

.polylang-widget:hover .polylang-flags {
    display: flex;
    z-index: 9999999;
}

.polylang-flags li {
    display: inline;
    padding: 0;
}

.polylang-flags li a span {
    color: white;
}

.polylang-flags li a {
    text-decoration: none;
}

.polylang-flags li img{
	border-radius: 0;
    padding: 0;
	margin: 0;
}

.polylang-flags li:before,
.polylang-flags li:after {
	display: none;
}

.header .container {
    gap: 20px;
}

.site-logo {
    flex: 1;
}

@media (max-width: 1100px) {
	.polylang-flags {
		right: 0;
	}
	.polylang-widget {
		order: 3;
	}
}

@media (max-width: 800px) {
	.polylang-widget {
		order: 2;
		width: 30%;
	}
}

.review__block {
    display: flex;
    border: 1px solid var(--accent);
    background-color: var(--review);
    padding: 20px;
    border-radius: 10px;
    flex-flow: column;
    gap: 20px;
}

.author__title p {
    display: flex;
    gap: 5px;
    position: relative;
    flex-flow: column nowrap;
    padding-left: 60px;
    margin: 0;
}

.author__title strong {
    font-size: 24px;
}

.author__review {
    border-top: 2px solid var(--accent);
    padding-top: 25px;
    margin: 0;
}
.author__title p:before {
    content: '';
    height: 50px;
    width: 50px;
    left: 0;
    top: 4px;
    position: absolute;
    background-image: url(img/author.svg);
}

.author__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social__links {
    display: flex;
    gap: 10px;
}

.social__link {
    display: flex;
    height: 32px;
    width: 32px;
    background-color: var(--accent);
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.social__link.fb {
	background-image: url(img/fb.svg);
}

.social__link.in {
	background-image: url(img/in.svg);
}
.social__link::before {
    display: none;
}


