/*
Theme Name: Child Theme
Template: magazine-booster
*/
a:hover {
    color: unset !important;
}

#main.main {
    padding-bottom: 0 !important;
}

#sitehead-part {
    max-width: 72rem
}

.wp-block-search__button.wp-element-button {
    display: none
}

.wp-block-search__input {
    width: 200px !important
}

.sitehead-part > .hootflex {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

:where(.wp-block-columns) {
    margin-bottom: 0 !important;
    width: 200px !important;
}

.wp-block-search__inside-wrapper {
    position: relative;
    width: unset !important;
}

.wp-block-search__inside-wrapper::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

#header {
    z-index: 999 !important;
}

header .wp-block-search__input {
    padding-right: 40px;
    border-radius: 10px;
}

#header .site-header:not(.hootstuck) {
    border-bottom: 0 !important;
}

@media (min-width: 970px) {
    .site-header:not(.hootstuck) #menu-primary-items {
        gap: 20px !important;
    }

    .site-header:not(.hootstuck) .menu-items>li>a {
        padding: 20px 20px !important;
        font-size: 16px !important;
    }
        
    /* Main layout */
    .hgrid.main-content-grid, #content-wrap, .entry-content {
        max-width: 100vw !important;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(30%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.fixedmenu-open body:before {
    content: "";
    position: absolute;
    z-index: 1 !important;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

