/*
Theme Name: Twenty Twenty-Three Child
Theme URI: https: //grimple.net/
Author: Aleks H.
Author URI: https://grimple.net/
Template: twentytwentythree
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body .wp-block-image.aligncenter {
    display: flex;
    place-content: center;
    place-items: center;
}

.post-entry ol li strong {
    color: #000 !important;
}

header {
    position: relative;
    padding: 16px 0;
    background: #081626;
    margin-bottom: 32px;
    z-index: 999;
}

.site-header__top {
    margin-bottom: 16px;
}

.site-header .site-header--row {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-gap: 42px;
    align-items: center;
    background: #080606;
    border: 1px solid #474747;
    border-radius: 10px;
    padding: 20px 40px;
}

.top-menu ul {
    display: flex;
    gap: 56px;
    align-items: center;
    justify-content: flex-end;
}

.top-menu li {
    font-size: 14px;
}

.top-menu a {
    color: #FFD600;
}

.top-menu a:hover {
    color: #fff;
}

.site-header__logo img {
    height: 62px;
}

.mob-menu-btn {
    display: none;
}

.header-menu ul {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.menu ul {
    display: none;
}

.menu .first-menu {
    padding-right: 20px;
    background: url("/casinoalpha/wp-content/themes/twentytwentythree-child/images/menu-arrow-down.svg") no-repeat center right;
    background-size: 12px;
}

.site-header--row li a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: 0.5s all linear;
}

.site-header--row li:hover a {
    color: #016EDF;
}

.sub-menu li>a span {
    transition: 0.5s all linear;
}

.sub-menu li:hover>a span {
    color: #016EDF;
}


.header-menu ul li.menu-item-has-children:hover>ul {
    display: flex;
    position: absolute;
    top: 100%;
    width: 100%;
    flex-wrap: wrap;
    gap: 35px 20px;
    justify-content: start;
    background: #fff;
    box-shadow: 0px 4px 22px 0px rgba(16, 18, 20, 0.091);
    padding: 24px 20px;
    border-radius: 4px;
    max-width: 1240px;
    left: 50%;
    transform: translateX(-50%);
    background: #080606;
    border: 1px solid #474747;
}

header .header-menu ul li.first-menu>a {
    padding: 60px 0 65px 0;
}

ul.sub-menu .menu-item a {
    display: flex;
    gap: 15px;
    align-items: center;
}

ul.sub-menu .menu-item a:not(:has(img)) {
    padding-left: 65px;
}

ul.sub-menu .menu-item img {
    width: 50px;
    height: 50px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center center;
}

.sub-menu-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.sub-menu-row-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    width: 100%;
}


.first-menu .sub-menu>.menu-item {
    width: calc(100% / 4 - (60px / 4));
    position: relative;
}

header li.first-menu>.sub-menu li:has(.sub-menu)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #fff;
    transition: 0.1s all linear;
}

header li.first-menu>.sub-menu li:has(.sub-menu):hover::after {
    top: 40%;
    rotate: -180deg;
}

header li.first-menu>.sub-menu li ul li {
    width: 100% !important;
}

header li.first-menu>.sub-menu li ul {
    display: none;
}

header li.first-menu>.sub-menu li:hover ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 100%;
    z-index: 1;
    left: 0;
    transform: translate(0);
    padding-left: 0;
}

.header-menu ul li.current-menu-item>a {
    color: #016EDF;
}

.header-menu ul li.current-menu-item>a span {
    color: #016EDF;
}

@media (max-width: 768px) {
    .header-menu .sub-menu .sub-menu {
        color: white;
        position: absolute !important;
        top: calc(100% + 10px) !important;
    }

    .header-menu ul li.menu-item-has-children a {
        padding-right: 40px;
    }

    header .header-menu ul li.first-menu>a {
        padding: 0
    }

    .header .header-menu img {
        display: none;
    }

    ul.sub-menu .menu-item a:not(:has(img)) {
        padding-left: 10px;
    }

    .site-header .site-header__top {
        display: none;
    }

    .site-header__logo img {
        width: 136px;
    }

    .menu-header-menu {
        flex-direction: column;
    }

    header .header-menu {
        display: block;
        opacity: 0.8 !important;
        width: 100%;
        height: calc(100vh - 120px);
        background: #000;
        position: absolute;
        left: 100%;
        top: 99%;
        opacity: 0;
        transition: 0.3s all linear;
        z-index: 999;
        padding: 20px;
    }

    .header-menu ul li.menu-item-has-children:hover>ul {
        background-color: #000;
    }

    .first-menu .sub-menu>.menu-item {
        width: 100%;
    }

    .first-menu .sub-menu>.menu-item {
        padding: 0;
    }

    header .header-menu.-toggle {
        opacity: 1 !important;
        height: calc(100vh - 94px);
        position: absolute;
        left: 0;
        overflow-y: auto;
    }

    .menu {
        flex-direction: column;
    }

    .menu .first-menu {
        padding: 0px;
        background: none;
    }

    .sub-menu-row-title {
        color: #fff;
    }

    .sub-menu-row-desc {
        color: #fff;
    }

    header li.first-menu:has(.sub-menu) {
        position: relative;
    }

    header li.first-menu:has(.sub-menu)::after {
        content: "";
        position: absolute;
        top: 5px;
        right: 15px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 7px solid #fff;
        transition: 0.1s all linear;
    }

    header li.first-menu>.sub-menu li:has(.sub-menu):hover::after {
        top: 40%;
        rotate: -180deg;
    }

    .mob-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background-size: contain;
        background-color: transparent;
    }

    .mob-menu-btn svg {
        width: 100%;
        height: 100%;
    }

    header .header-menu ul li.first-menu ul {
        display: none;
    }

    header .header-menu ul li.first-menu:hover>ul {
        display: flex;
        position: relative;
        width: 100%;
    }

    header li.first-menu>.sub-menu li ul {
        display: none;
    }

    header li.first-menu>.sub-menu li:hover ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        top: 0;
        left: 0%;
    }


    header li.first-menu>.sub-menu li {
        position: relative;
    }

    header li.first-menu>.sub-menu li:has(.sub-menu)::after {
        content: "";
        position: absolute;
        top: 5px;
        right: 15px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 7px solid #fff;
        transition: 0.1s all linear;
    }

    header li.first-menu>.sub-menu li:has(.sub-menu):hover::after {
        top: 5px;
        rotate: -180deg;
    }

    header li.first-menu>.sub-menu li ul li {
        width: 100%;
    }

    header li.first-menu>.sub-menu li .sub-menu {
        display: none;
    }

    header li.first-menu>.sub-menu li:hover .sub-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
    }

    .site-header .site-header--row {
        grid-template-columns: 1fr max-content;
        grid-gap: 20px;
        padding: 0 0;
        background: transparent;
        border: none;
        border-radius: 0;
    }
}

.banner {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.banner h1 {
    font-weight: 600;
}

.banner p {
    color: #8B8B8B;
    font-size: 14px;
}

/* category_posts */

.category_posts {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.category_posts_title {
    font-size: 28px;
    font-weight: 600;
    position: relative;
}

.category_posts_title::before {
    content: "";
    position: absolute;
    top: 110%;
    width: 100%;
    max-width: 120px;
    height: 1.5px;
    background-color: #0969f9;
}

.category_posts_items {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.category_posts_item {
    width: calc(100% / 3 - (40px / 3));
    background-color: #fff;
    border-radius: .5rem;
    padding: 25px 10px;
    box-shadow: 0 0 1px rgba(10, 16, 32, .16), 0 6px 8px -6px rgba(24, 39, 75, .12), 0 8px 16px -6px rgba(24, 39, 75, .08);
    transition: all .25s cubic-bezier(.45, .26, 0, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-decoration: none;
}

.category_posts_item:hover {
    box-shadow: 2px 3px 14px rgba(0, 0, 0, .1);
}

.category_posts_item>img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 360 / 203;
    border-radius: 7px;
}

.author_row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: 12px;
    line-height: 100%;
    color: rgba(2, 2, 2, 0.72);
}

.author_row img {
    width: 100%;
    max-width: 20px;
    height: 20px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center center;
    border-radius: 50%;
}

.data_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

.category_posts_item h2 {
    font-size: 20px;
    font-weight: 600;
}

.category_posts_item p {
    font-size: 14px;
    line-height: 150%;
    color: rgba(2, 2, 2, .722);
}

@media screen and (max-width: 900px) {
    .category_posts_item {
        width: calc(100% / 2 - (20px / 2));
    }
}

@media screen and (max-width: 500px) {
    .category_posts_item {
        width: 100%;
    }
}