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

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: 176px;
}

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

.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: 150px;
    }
    .header-box.h-header {
        height: 56px;
    }
}

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

/* end Header */

.wp-block-post-author {
    border: 1px solid var(--color-body-text);
    overflow: hidden;
    padding: 30px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    margin-top: 60px;
    align-items: flex-start;
}

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

.wp-block-post-author .wp-block-post-author__avatar {
    margin-right: 40px;
}

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

.wp-block-post-author .wp-block-post-author__name a {
    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-dark);
}

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

.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-dark);
    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-dark);
    border-color: var(--color-dark);
    color: #fff;
}

@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;
}

/* end FAQ Block*/

/* Footer */

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

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

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

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

@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 */