/*
Theme Name: onlinecasinos Child
Template: onlinecasinos
Description: A full-site-editing WordPress theme for casino affiliate and review publishers. Built entirely on core WordPress APIs — no third-party field or page-builder plugins required.
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: onlinecasinos
*/

:root {
    --wp--preset--color--primary-glow: oklch(75.303% 0.17457 158.501 / 0.1);
}

@media (max-width: 768px) {
    body {
        --wp--style--root--padding-right: 18px;
        --wp--style--root--padding-left: 18px;
        background-color: #fff;
    }
    :where(.wp-block-group.has-background) {
        padding: 1.25em 0;
    }
    .wp-block-group.hero-banner h1,
    h1.wp-block-post-title {
        font-size: 30px;
        line-height: 1.2;
    }
}

/** Header **/
header.spinoko-header {
    border-bottom: none;
}

.spinoko-header.wp-block-template-part::before {
    background-color: var(--wp--preset--color--base-3);
}

.spinoko-header .spinoko-header-search-popover {
    background-color: var(--wp--preset--color--base-3);
}

.wp-block-group.spinoko-logo {
    margin-right: auto;
}

.spinoko-logo-mark img.custom-logo {
    max-height: 47px;
}

.spinoko-header-nav {
    flex-grow: 1;
    flex: 1 0 auto;
}

.spinoko-header-nav .wp-block-navigation__container a.wp-block-navigation-item__content {
    font-weight: 500;
    color: var(--wp--preset--color--on-primary);
    transition: 0.3s;
}

.spinoko-header-nav .wp-block-navigation__container a.wp-block-navigation-item__content:hover {
    background: var(--wp--preset--color--base-2);
    color: var(--wp--preset--color--contrast);
}

.spinoko-header .spinoko-header-search-toggle,
button.wp-block-navigation__responsive-container-open {
    color: var(--wp--preset--color--on-primary);
    background: var(--wp--preset--color--base);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.spinoko-header .pll-switcher {
    width: auto;
    align-self: center;
    margin-left: auto;
    margin-top: 0;
}

.pll-switcher a {
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    color: var(--wp--preset--color--on-primary);
}

.pll-switcher a:hover,
.pll-switcher .current-lang a {
    color: var(--wp--preset--color--base-2)
}

@media (max-width: 768px) {
    .spinoko-logo-mark img.custom-logo {
        max-height: 30px;
    }
    .spinoko-header-search.wp-block-spinoko-header-search {
        margin-left: auto;
    }
    nav.is-responsive.items-justified-left.spinoko-header-nav {
        margin-left: 0;
    }
}


/* End Header */

/* Main */

main {
    min-height: 280px;
}

.custom-bg {
    background-color: #fff;
    padding: 50px 50px 55px;
    box-shadow: 0px 0px 5px rgba(32, 33, 36, 0.25);
    border-radius: 15px;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.entry-content.alignfull  .wp-block-calendar, 
.entry-content.alignfull  .wp-block-table table th {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 700;
}

.entry-content.alignfull  .wp-block-table table th strong {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 700;
}

.hero-banner.wp-block-group {
    background: var(--wp--preset--color--base-2) url('https://demo-casino.com.ua/wp-content/webp-express/webp-images/uploads/2026/10/c083d3e7-6c45-446e-b1d3-9a1a28ce554f.png.webp') no-repeat center left/cover;
}

.hero-banner.wp-block-group  p {
    color: var(--wp--preset--color--contrast);
    line-height: 1.5;
}

@media (max-width: 768px) {
	.hero-banner.wp-block-group {
    	background: var(--wp--preset--color--base-2);
	}

    .custom-bg {
        background-color: #fff;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        max-width: 100%;
    }
}

/* End Main */

/* Reviews */

.casino-card.wp-block-spinoko-casino-card,
.quick-facts.wp-block-spinoko-casino-quick-facts,
div.casino-bonus-card,
article.recent-posts-card,
.wp-block-group.post-sidebar-widget,
.toc.post-sidebar-widget,
div.author-bio-card {
    background: var(--wp--preset--color--on-primary);
    box-shadow: 0px 0px 5px rgba(32, 33, 36, 0.25);
}

.casino-meta .casino-name {
    color: var(--wp--preset--color--base);
}

.casino-rating .value .max {
    color: var(--wp--preset--color--cyan-bluish-gray);
}

.casino-card-header .casino-logo {
    background: transparent;
    border: none;
}

.post-hero {
    --wp--preset--color--base-2: #fff;
}

.post-hero .share-button svg {
    fill: var(--wp--preset--color--base);
}

.toc .toc-link.is-active,
.toc .toc-link:hover {
    background: var(--wp--preset--color--base);
}

/* End Reviews */

/* Footer */

.spinoko-footer .footer-top {
    grid-template-columns: 3.6fr 1fr;
}

footer.spinoko-footer {
    background: var(--wp--preset--color--base-3);
}

ul.wp-block-navigation {
    gap: 12px;
}

footer.spinoko-footer .wp-block-gallery {
    justify-content: center;
}

footer.spinoko-footer .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
    margin: 0;
    max-width: 120px;
}

@media (max-width: 599px) {
    .spinoko-footer .footer-top {
		display: flex;
		flex-wrap: wrap;
    }

    .spinoko-footer .wp-block-navigation.is-vertical {
        gap: 12px;
    }
}


/* End Footer */