@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Medium'), local('Montserrat-Medium'),
    url('https://tez888.co/wp-content/themes/tez/assets/fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Regular'), local('Montserrat-Regular'),
    url('https://tez888.co/wp-content/themes/tez/assets/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
    url('https://tez888.co/wp-content/themes/tez/assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Bold'), local('Montserrat-Bold'),
    url('https://tez888.co/wp-content/themes/tez/assets/fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

.wp-block-image {
    img {
        width: 100%;
        max-height: 600px;
        object-fit: contain;
    }
}


h1,h2 {
    line-height: 120%;
}


html,*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.wp-block-image {
    max-width: 900px;
    margin: 0 auto;
}


body {

    background: var(--color-1);
    color: var(--color-3);
    margin: 0;
    font-family: Montserrat,  sans-serif;
    font-size: 16px;
    line-height: 140%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    margin: 0 auto;
    max-width: 1340px;
    padding: 0 15px;
    height: inherit;
    width: 100%;
}



.admin-bar header {
   top: 32px;
}

main {
    flex: 1;
    max-width: 1380px;
    width: 100%;
    background: var(--color-5);
    /*padding: 20px;*/
    border-radius: 24px;
    margin: 62px auto 40px;
}

footer {
    flex: 0 0 auto;
    margin: 0 auto;
    width: 100%;
}

.layout {
    display: flex;
    gap: 2.1875em;
    flex: 1 0 auto;
}

.layout_wrapper {
    height: 100%;

}

.section__title_wrapper.archive__head {
    flex-direction: column;
}

.section__title_wrapper {
    display: flex;
    justify-content: space-between;
    margin:  0 0 16px;

    .section__title {
        font-size: 1.375em;
        line-height: 1.2727272727em;
        font-weight: 400;
        margin:  0;
    }

    .section__title-action {
        align-items: center;
        background: white;
        border-radius: .625em;
        display: flex;
        gap: .625em;
        justify-content: center;
        padding: .4375em .75em;
        transition: var(--base-transition);
        font-size: 12px;
        height: fit-content;

        svg {
            width: 6px;
            height: 9px;
        }

        &:hover {
            background: var(--color-5);
            color: white;
        }
    }
}
.section {
    padding-bottom: 18px;
}

.wp-block-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 10px 0;

    table {
        width: 100%;
        min-width: 600px;
        border-collapse: collapse;
    }
}


.section_action {
    margin-top: 16px;
}

.page__content {
    flex: 1;
}

.posts__grid {
    display: grid;
    gap: .5em;
    grid-template: auto / repeat(3, minmax(0, 1fr));
}


.page__short-desc {
    font-size: 12px;
    margin-top: 7px;
    color: var(--color-7);
}

.tabs_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: .625em;
    margin-bottom: 16px;

    .btn {
        width: fit-content;
        padding: 8px 12px;
        margin-top: 0;
        cursor: pointer;
    }
}



.news__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625em;
    grid-template-rows: auto;
    margin-bottom: 20px;

    &.first-big>.card:first-child {
        grid-column: span 2;
    }

    .card .card__thumb_wrapper {
        display: none;
    }

    &.first-big .card:first-child .card__thumb_wrapper {
        display: block;
    }

    &.first-big .card:not(:first-child) .card__thumb_wrapper {
        display: none;
    }
}

.post__content_wrapper {
    border-radius: var(--card-border-radius);
    background: white;
    padding: 16px;

    .post__content {
        p:last-child {
            margin-block-end:  0;
        }
    }


}

.page__content_wrapper {

    a {
        color: var(--color-5);

        &:hover {
            opacity: 0.7;
        }
    }
}

.page__title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 120%;
}

blockquote {
    padding: 20px;
    border-radius: var(--card-border-radius);
    background: var(--color-8);
    line-height: 140%;
    font-style: italic;
    margin: 16px 0;
}

.page__thumb {
    width: 100%;
    height: 410px;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    object-fit: cover;
    display: block;
    margin: 16px 0;
}

.post__content-date {
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--color-7);
}

.post__author_wrapper {
    display: flex;
    gap: .9375em;

    .post__author-info {
        display: flex;
        flex-direction: column;
        gap: .125em;
        flex: 1;

        span {
            font-size: 12px;
            color: var(--color-7);
            line-height: 110%;
        }

        span:first-child{
            font-size: 14px;
            font-weight: 600;
            color: var(--color-2);
        }
    }
}

.author__img {
    border-radius: 100%;
}

.related__posts_wrapper {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dotted;

    .card {
        background: var(--color-8);

        .card__label {
            background: white;
            &:hover {
                background: var(--color-5);
            }
        }

        &.school__card {
            background: var(--color-3);
        }

    }
}

.bookmaker__top_wrapper {
    border-radius: var(--card-border-radius);
    background: var(--color-3);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bookmaker__top-left {
    display: flex;
    gap: 10px;
    align-items: center;

    .btn {
        padding: 0 24px;
    }
}

.bookmaker__tabs_wrapper {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bookmaker__part_wrapper {
    padding-top: 16px;
    border-top: 1px dashed var(--color-9);
}

.bookmaker__news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    .news__card {
        background: var(--color-8);
    }
}

.bookmaker__part{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;

    &.--overview .bookmaker__part-column:first-child {
        grid-column: span 2;
    }


    .card__short-desc {
        padding-top: 12px;
        border-top: 1px dashed var(--color-9);

    }

    .card__title:hover {
        color: initial;
    }
}

.bookmaker__part-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bookmaker__promotions-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px dashed var(--color-9);
}

.bookmaker__promotions-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: var(--color-11);
}

.bookmaker__promotions-item-sum {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--color-5);

    svg {
        width: 12px;
        height: 12px;
    }
}

.bookmaker__promotions-item-title {
    font-size: 13px;
    display: flex;
    flex: 1;
    font-weight: 600;
    max-width: 70%;
    line-height: 110%;
}

.bookmaker__tabs-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;

    .bookmaker__label {
        background: var(--color-5);
        color: white;
        svg path {
            fill: white;
        }

        &:hover {
            opacity: 0.7;
        }
    }
}

.bookmaker__promotion-title {
    font-size: 15px;
    font-weight: 600;
}

.bookmaker__part .card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;

    .card__title {
        margin-bottom: 0;
    }

    .btn {
        max-width: 260px;
    }
}

.accordion_wrapper {
    margin-bottom: 15px;
}

.accordion__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px;
    padding: 11px 16px;
    background: var(--color-6);
    cursor: pointer;
}

.accordion__head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion__head-right {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    padding: 7px 11px;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    line-height: 100%;

    svg {
        width: 9px;
        height: 6px;
        transition: var(--base-transition);
    }
}

.bookmaker__logo_wrapper {
    height: 16px;

    img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
}

.accordion__body {
    height: 0;
    overflow: hidden;
}

.bookmaker__tagline {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 15px;
    line-height: 100%;
}

.accordion_wrapper.active {
    .accordion__head-right svg {
        transform: rotate(180deg);
    }

    .accordion__body {
        height: fit-content;
    }
}

.bonus__types_wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;


    .btn {
        width: fit-content;
        padding: 12px 25px;
        border-radius: 25px;
        background: var(--color-3);
        display: flex;
        gap: 10px;
        height: fit-content;
        cursor: pointer;

        &.active,
        &:hover{
            background: var(--color-5);
            color: white;

            svg path {
               fill: white;
            }
        }

        svg {
            width: 23px;
            height: 23px;
        }

        span {
            display: flex;
            flex: 1;
        }
    }
}

.bonus__step__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.bonus__step_wrapper {
    display: flex;
    gap: 10px;
}

.bonus__step-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-5);
    font-size: 12px;
    font-weight: 700;
    padding: 10px;
    border-radius: 10px;
    line-height: 100%;
    position: relative;
    z-index: 2;
}

.bonus__step__list:after {
    content: '';
    display: block;
    position: absolute;
    top: 12px;
    height: calc(100% - 12px);
    width: 3px;
    background: var(--color-5);
    left: 12px;
}

.bonus__post .card {
    margin-bottom: 20px;
}

.bonus__post-card__content {
    border-top: 1px dashed;
    padding-top: 12px;
}

.bookmaker__promo-action_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 10px;
    background: var(--color-5);
    color: white;
    font-size: 14px;
}

.bookmaker__promo-action {
    display: flex;
    align-items: center;
    gap: 3px;

    svg {
        transform: rotate(315deg);
        width: 9px;
        height: 6px;
    }
}

.tags_wrapper {
    padding: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;

    a {
        font-weight: bold;
        display: block;
        font-size: 14px;
        padding: 5px 10px;
        border-radius: 8px;
        transition: var(--base-transition);
        background: var(--color-8);

        &:hover {
            color:  var(--color-5);
        }
    }
}

.bonus__post-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;

    .card__label,
    .bookmaker__gift-label{
        background: var(--color-6);
        padding: 5px 12px;
        border-radius: 60px;
        height: fit-content;
        line-height: 100%;
    }

    .bonus__post-top-left {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;

        font-weight: bold;


    }

    .bookmaker__card-thumb {
        height: 16px;
        width: fit-content;
    }
}

.author__top_wrapper {
    display: flex;
    gap: 24px;
    padding: 20px 27px;
    background: white;
    border-radius: 20px;
    margin-bottom: 10px;

    .author__avatar_wrapper {
        border-radius: 100%;
        overflow: hidden;
    }
}

.author__page-title {
    font-size: 22px;
    font-weight: 600;
}

.author__post__grid .card:not(:first-child) {
    .card__thumb_wrapper {
        display: none;
    }
}

.breadcrumbs__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;

    .breadcrumbs__item_wrapper:first-child {
        svg {
            width: 13px;
            height: 13px;
        }

        svg path {
            fill: var(--color-5);
        }
    }

    .breadcrumbs__item_wrapper {
        svg {
            width: 10px;
            height: 10px;
        }

        display: flex;
        align-items: center;
        gap: 8px;

        svg path {
            fill: #00000059;
        }
       a, span {
           font-size: 13px;
           font-weight: bold;
           border-radius: 9px;
           padding: 4px 11px;
           background: #9e9e9e1a;
           line-height: 120%;
       }

        &:not(:last-child) a {
            color: var(--color-5);
            background:  #76bc6a1a;
        }

    }
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 12px;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.35s ease;

    .faq__arrow {
        width: 13px;
        height: 13px;
        transition: all 0.35s ease;
    }
}

.faq-item.active .faq-question {
    border-radius: 1rem 1rem 0 0 ;
    margin-bottom: 3px;
    color: #ea2087;

    .faq__arrow {
        transform: rotate(180deg);

        path {
            fill: #ea2087;
        }
    }
}

.faq-answer {
    font-weight: 500;
    font-size: 14px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    opacity: 0;
    background: white;
}

.faq-item.active .faq-answer {
    opacity: 1;
    max-height: 200px;
    padding: 0 12px;
    border-radius: 0 0 1rem 1rem;
}

.child-pages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    max-width: 1300px;
    margin: 0 auto;

    .child-page-title {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: bold;
        color: var(--color-3);
        transition: 0.3s all ease-in-out;
    }

    .child-page-date {
        color: var(--color-3);
        font-size: 12px;
    }

    .child-page-content {
        padding: 24px;
    }

    .child-page-item {
        border-radius: 24px;
        background: var(--color-5);
        overflow: hidden;
        &:hover {
            .child-page-title {
                color: #ea2087;
            }
        }
    }

    .child-page-thumb {
        height: 187px;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.pagination {
    margin: 50px auto 0 ;
    width: fit-content;


    .nav-links {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .page-numbers {
        padding: 5px;
        border: 1px solid var(--color-3);
        border-radius: 4px;
        color: var(--color-3);
        width: 30px;
        height: 30px;

        display: flex;
        justify-content: center;
        align-items: center;
        &.current {
            background: var(--color-3);
            color: white;
        }
    }
}

.category-post__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-post__box__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-post__box__title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    a:hover {
        color: #ea2087;
    }

    a {
        font-weight: 500;
        font-size: clamp(18px, 2vw, 22px);
    }
}



@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }

    header {
        width: 100%;
    }
    .header_wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .burger {
        display: flex;
        width: 30px;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        align-items: center;

        span {
            display: block;
            width: 100%;
            height: 3px;
            border-radius: 2px;
            background: #000;
        }
    }

    header.active {
        .header__nav_wrapper {
            left: 0;
        }
    }

    .header__nav_wrapper {
        padding: 30px;
        position: fixed;
        z-index: 3;
        width: 320px;
        height: 100vh;
        top: 0;
        left: -320px;
        background: rgb(0 14 44 / 94%);
        backdrop-filter: blur(10px);

        .header__nav {
            flex-direction: column;
            align-items: flex-start;
        }
    }


    .bookmaker__list-content {
        flex-direction: column;
        gap: 10px;

        .bookmaker__list-content-left {
            align-self: flex-start;
        }

        .bookmaker__list-content-right {
            width: 100%;
            justify-content: space-between;
        }
    }

    .bonuses__grid,
    .posts__grid,
    .bookmaker__news,
    .bookmaker__part,
    .bookmakers__grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .bookmaker__part-column {
        grid-column: span 2;
    }

    .aside_wrapper{
        width: 100%;
    }

    .footer__top,
    .footer__top-right,
    .footer__center{
        flex-direction: column;
        gap: 20px;
    }
    .layout-footer-socials__link {
        width: fit-content;
    }


}

@media (max-width: 500px) {
    .bonuses__grid,
    .posts__grid,
    .bookmaker__part,
    .bookmaker__news,
    .bookmakers__grid,
    .news__grid{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer__nav {
        flex-direction: column;
    }

   .card  .card__thumb_wrapper,
   .page__thumb{
       height: 200px;
   }

    .bookmaker__list-content-right {
        flex-wrap: wrap;
    }

    .bookmaker__tabs_wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .wp-block-image {
        img {
            max-height: 300px;

        }
    }
}










