/*
Theme Name: leonua Child
Template: leonua
Description: leonua Theme
prc-auth: leonua
Version: 2.8.3
License: Licensed theme
Text Domain: leonua
*/

:root {
    --spinoko-box-shadow-hover: 16px 1px 13px 2px #0b0c0d30;
    --breadcrumbs-color-link: var(--color-body-text);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main {
    flex: 1;
}

#main:not(.sp-my-0),
.not-found  {
    margin-block-start: 5rem;
}

.not-found  {
    max-width: var(--container-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Header */

.custom-logo-link img {
    width: 130px;
}

.header-box.h-header {
    height: 86px;
}

.header-box .button-casino {
    font-weight: 600;
    font-size: 1.1rem;
}

.h-header  .custom-logo-link {
    height: auto;
}

.sp-mb-8 {
    margin-block-end: 1rem;
}

body.text-body .entry-content .show-more-less-block h2, 
body.text-body .entry-content .wp-block-columns h2, 
body.text-body .entry-content .wp-block-group h2, 
body.text-body .entry-content>h2 {
    font-size: 1.7rem;
}

@media (max-width: 768px) {
    .custom-logo-link img {
        width: 110px;
    }
    .header-box.h-header {
        height: 68px;
    }
    .header-box .site-branding {
        order: -2;
    }
    .header-box .button-casino {
        order: -1;
        margin-right: 1rem;
        font-size: 0.9rem;
    }
}

section h1,
article h1,
aside h1,
nav h1,
h1 {
  margin-block: 0.67em;
  font-size: 3.75rem;
}

.wp-block-list ::marker {
    color: var(--color-primary);
    font-weight: bold;
}

.entry-header .max-w-2xl {
    max-width: 50rem;
}

.fspc {
    background-blend-mode: luminosity;
}

body .comment-content ul.wp-block-list:not(.list-none), 
body .entry-content ul.wp-block-list:not(.list-none) {
    list-style-type: square;
}

@media (max-width: 768px) {
    .site-header .site-search section.header-search {
        top: 44px;
        width: 100%;
        left: 0;
    }
    
}


/* end Header */

.wp-block-post-author {
    box-shadow: var(--spinoko-box-shadow-hover);
    overflow: hidden;
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    margin-top: 60px;
    align-items: flex-start;
    border-radius: var(--spinoko-border-radius);
    background: conic-gradient(from 20deg at 118.86% 151.06%, var(--color-dark) -87.65deg, var(--color-secondary) .14deg, var(--color-link) 184.35deg, var(--color-dark) 272.35deg, var(--color-secondary) 360.14deg), var(--color-dark);
    box-shadow: var(--spinoko-box-shadow-hover);
    color: var(--color-body-bg);
}

.news-preview {
    background: conic-gradient(from 20deg at 118.86% 151.06%, var(--color-dark) -87.65deg, var(--color-secondary) .14deg, var(--color-link) 184.35deg, var(--color-dark) 272.35deg, var(--color-secondary) 360.14deg), var(--color-dark);
    box-shadow: var(--spinoko-box-shadow-hover);
    color: var(--color-body-bg);
    border-radius: 16px;
}

.page-header .wp-block-post-author {
    flex-wrap: nowrap;
    margin-top: 30px;
}

.wp-block-post-author .wp-block-post-author__avatar {
    margin-right: 40px;
    border-radius: calc(var(--spinoko-border-radius) / 2);
}

.wp-block-post-author p {
    color: var(--color-body-bg);
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 15px;
}

.wp-block-post-author .wp-block-post-author__name a {
    color: var(--color-body-bg);
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .wp-block-post-author {
        padding: 18px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
        margin-top: 30px;
    }
    .wp-block-post-author .wp-block-post-author__avatar {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }

    .wp-block-post-author p {
        line-height: 1.33;
    }
}

.nav-links > div {
    border: 2px solid;
    padding: 0.5rem;
    transition: 0.2s;
    color: var(--color-body-text);
}

.nav-links > div a {
    color: var(--color-body-text);
}

.spinoko-breadcrumbs-wrapper .yoast-breadcrumbs a,
.text-color {
    color: var(--color-body-text);
}

.nav-links > div:hover {
    background-color: var(--color-dark);
    color: #fff;
}

.nav-links > div:hover a,
.type-post .header-content.relative.container .text-neutral {
    color: #fff;
}

body:not(.rtl) .spinoko_rounded_top .text-3xl {
    font-size: 1.3rem;
}

.type-post h1.text-3xl {
    font-size: 1.75rem;
}

.post-body .entry-meta {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.post-body .entry-meta .wp-block-post-author__avatar {
    margin-right: 0.5rem;
    margin-bottom: 0;
    border-radius: 50%;
}

.post-body .entry-meta .byline {
    margin-right: 0.75rem;
    padding-right: 0.75rem;
    margin-left: 0;
    font-weight: 600;
}

.type-post .entry-footer a {
    color: var(--color-body-text);
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid;
    border-radius: var(--spinoko-border-radius);
}

.type-post .entry-footer a:hover {
    background-color: var(--color-body-text);
    border-color: var(--color-body-text);
    color: var(--color-dark);
}

@media (max-width: 768px) {
    .post-body .entry-meta {
        justify-content: space-between;
    }
    
    .post-body .entry-meta .byline {
        border-right: none;
    }

    .type-post.sp-pt-16 {
        padding-block-start: 2rem;
    }
    
}

/* FAQ Block*/

.faq-question {
    padding-right: 28px;
}

.faqs {
    border-radius: var(--spinoko-border-radius);
    background: conic-gradient(from 20deg at 118.86% 151.06%, var(--color-dark) -87.65deg, var(--color-secondary) .14deg, var(--color-link) 184.35deg, var(--color-dark) 272.35deg, var(--color-secondary) 360.14deg), var(--color-dark);
    box-shadow: 16px 1px 13px 2px var(--color-dark);
    box-shadow: var(--spinoko-box-shadow-hover);
    padding: 24px;
    color: var(--color-body-bg);
}

.faq {
    border-radius: var(--spinoko-border-radius);
    background-color: var(--color-dark);
    padding: 16px;
}

.faq:last-child {
    margin-bottom: 0;
}

/* end FAQ Block*/

/* Footer */

.footer-navigation ul,
.site-info {
    font-size: 14px;
}

#colophon .footer-navigation ul li:not(:last-child):after {
    content: "•";
}

#colophon .menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#colophon .menu a {
    color: var(--color-light);
    font-weight: 500;
}

#colophon .menu a:hover {
    color: var(--color-link-hover);
}

.footer-navigation ul {
    gap: 0.5rem 0;
}

.footer-navigation ul li a {
    color: var(--color-light);
}

.footer-navigation ul li a:hover {
    color:var(--color-link);
}

.widget_text {
    flex: 0 1 500px;
}

.widget_nav_menu {
    flex: 0 0 auto;
}

@media (min-width: 1024px) {
    #colophon .lg\:grid-cols-3 {
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    #colophon .footer-navigation ul li:not(:last-child):after {
        padding-left: .5rem;
    }
}

#scroll-top {
    margin-block-end: 2.5rem;
    margin-inline-end: 2.5rem;
}

@media (max-width: 992px) {
    #scroll-top {
        margin-block-end: 1.25rem;
        margin-inline-end: 1.25rem;
    }
}

/* end Footer */

/** casinos page **/

.featured-casino.featured-casino__option-1 .table-item {
    box-shadow: var(--spinoko-box-shadow-hover);
    background: conic-gradient(from 20deg at 118.86% 151.06%, var(--color-dark) -87.65deg, var(--color-secondary) .14deg, var(--color-link) 184.35deg, var(--color-dark) 272.35deg, var(--color-secondary) 360.14deg), var(--color-dark);
    color: var(--color-body-bg);
    padding-block-end: 20px;
}

.featured-casino.featured-casino__option-1 .table-item img {
    object-fit: contain;
}

.gradient-hero__full {
    background: conic-gradient(from 20deg at 118.86% 151.06%, var(--color-dark) -87.65deg, var(--color-secondary) .14deg, var(--color-link) 184.35deg, var(--color-dark) 272.35deg, var(--color-secondary) 360.14deg), var(--color-dark);
    box-shadow: var(--spinoko-box-shadow-hover);
    color: var(--color-body-bg);
}

.casino-info-pros-cons section {
    box-shadow: var(--spinoko-box-shadow-hover);
    border-radius: calc(var(--spinoko-border-radius) / 1.7);
}

.review-hero img {
    width: 200px;
    max-width: 90%;
    height: auto;
}

@media (max-width: 768px) {
    .featured-casino.featured-casino__option-1 .table-item {
        gap: 0;
        padding-top: 16px;
    }


    .featured-casino.featured-casino__option-1 .table-item img {
        width: 150px;
        height: auto;
    }

    .featured-casino.featured-casino__option-1 .table-item .table--pros {
        text-align: left;
        width: 180px;
        margin: 0 auto;
    }

    .featured-casino.featured-casino__option-1 .table-item a.button-casino {
        padding: 10px;
    }

    .entry-subtitle.text-xl {
        font-size: 18px;
        line-height: 1.25;
    }

    .entry-title.text-4xl {
        font-size: 32px;
        line-height: 1.2;
    }

    .entry-header .sp-mb-12 {
        margin-block-end: 2rem;
    }
}

/*** scroll table start ***/

.responsive-table.wp-block-table {
    width: auto;
    max-width: 100%;
    display: inline-block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    margin: 16px 0;
}

.responsive-table.wp-block-table table td,
.responsive-table.wp-block-table table th {
    border: 1px solid var(--color-body-text);
    word-break: normal;
    padding: 10px;
}

.responsive-table.wp-block-table table {
    background: var(--color-body-bg);
    height: auto;
    display: block;
    width: auto;
}

.responsive-table.wp-block-table table tbody:target {
    animation-play-state: running;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .responsive-table.wp-block-table table {
        min-width: 100%;
        width: auto;
        overflow-x: auto;
    }
    .responsive-table.wp-block-table table td,
    .responsive-table.wp-block-table table th {
        padding: 10px 14px;
    }
    
    .responsive-table.wp-block-table tbody::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        background: linear-gradient(90deg,transparent 10%,var(--color-body-text));
        border-radius: 0;
        z-index: 1;
        background-size: 300% 300%;
        width: 12px;
        border-right: 1px solid var(--color-body-text);
    }
}

/*** Цитата ***/
figure.wp-block-pullquote {
    border: 1px solid var(--color-dark);
    border-radius: var(--br);
    padding: 1.5rem;
    box-shadow: 10px 2px 0 4px var(--color-dark);
    text-align: left;
    overflow-wrap: normal;
    position: relative;
}

figure.wp-block-pullquote blockquote {
    display: flex;
    flex-direction: column;
}

figure.wp-block-pullquote cite {
    order: -1;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-top: 0;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--color-dark);
    font-style: normal;
    padding-right: 40px;
}

figure.wp-block-pullquote p {
    margin-top: 1rem;
    margin-bottom: 0;
}

figure.wp-block-pullquote:not(.is-style-solid-color):before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 34px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2025/09/quot.svg);
    background-color: transparent;
    border-radius: 0;
}

/*** scroll table end ***/