/* Tablet */

@media only screen and (max-width: 1128px) {
    :root {
        --header-bar-height: 0px;
    }

    /* Header */

    html body.admin-bar {
        --header-offset: 0px;
    }

    nav.header .mobile-burger {
        display: flex;
    }

    .aigm-ux nav.header .container {
        --gap: 16px;
    }

    nav.header .global-search-button {
        margin-left: auto;
    }

    nav.header .right {
        display: none;
        position: fixed;
        width: 100%;
        height: calc(100% - var(--header-height));
        top: var(--header-height);
        z-index: 50000;
        /* background: #fff; */
        background: rgb(255 255 255 / 95%);
        backdrop-filter: blur(2px);
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 32px var(--container-padding);
    }

    nav.header.mobile-menu-open .right { display: block; }

    nav.header.mobile-menu-open .mobile-burger svg.close { display: block; }
    nav.header.mobile-menu-open .mobile-burger svg.open { display: none; }

    nav.header .nav-menu-items {
        --nav-item-gap: 24px;
        flex-direction: column;
        text-align: left;
        justify-content: start;
        align-items: start;
        font-size: 1.124rem;
    }

    nav.header .nav-menu-items .item {
        width: 100%;
        padding-bottom: var(--nav-item-gap);
        border-bottom: 1px solid #d7d7d7;
    }

    nav.header .nav-menu-items .item > a, 
    nav.header .nav-menu-items .item > span {
        padding: 0;
        border-radius: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        font-weight: 500;
        background: none !important;
    }

    nav.header .nav-menu-items .item.expand > a i, 
    nav.header .nav-menu-items .item.expand > span i {
        display: none;
    }

    nav.header .nav-menu-items .item i.mobile-icon {
        display: block !important;
        transform: none !important;
        color: #082451 !important;
    }

    nav.header .nav-menu-items .highlight {
        width: 100%;
    }

    nav.header .nav-menu-items .highlight .button {
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    nav.header .nav-menu-items .item.expand .overlay {
        display: none !important;
    }

    nav.header .nav-menu-items .item.expand .submenu {
        position: relative;
        top: unset;
        left: unset;
        transform: none;
        margin-top: var(--nav-item-gap);
        background: none;
        width: 100%;
        max-width: none;
    }

    nav.header .nav-menu-items .item.expand .submenu .contents {
        padding: 0;
        overflow-x: scroll;
        scrollbar-width: none;
    }

    nav.header .submenu .big-cards {
        flex-wrap: nowrap;
    }

    nav.header .submenu .big-cards .card.is-primary::before,
    nav.header .nav-menu-items .item.expand .submenu .spacer {
        display: none;
    }

    nav.header .nav-menu-items .item.expand.is-mobile-expanded .submenu {
        display: block;
    }

    nav.header .nav-menu-items .item.expand.is-mobile-expanded > a i,
    nav.header .nav-menu-items .item.expand.is-mobile-expanded > span i {
        rotate: 180deg;
    }

    nav.header .submenu .big-cards .card {
        flex-basis: unset !important;
        margin: 0 !important;
        width: 224px !important;
        min-width: auto !important;
        flex: unset !important;
        flex-shrink: 0 !important;
    }

    nav.header.mobile-menu-open .mobile-burger {
        background: #082451 !important;
    }

    nav.header.mobile-menu-open .mobile-burger svg {
        fill: #fff !important;
    }

    /* Footer */

    footer.aigm-footer .copyright-and-legals {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    footer.aigm-footer .copyright-and-legals p.legals {
        justify-content: center;
    }

    footer.aigm-footer .main .side.grow {
        width: 100%;
        flex: none;
    }

    footer.aigm-footer .main .side:not(.grow) {
        display: none;
    }

    footer.aigm-footer .mobile-footer-links {
        display: flex;
        margin-top: 32px;
        --box-top-text: #fff;
        --box-top-text-hover: #fff;
        --box-top-text-open: #fff;
    }

    footer.aigm-footer .mobile-footer-links > div {

    }

    footer.aigm-footer .mobile-footer-links > div.shown .answer {
        display: flex !important;
    }

    footer.aigm-footer .mobile-footer-links .answer {
        flex-direction: column;
        gap: 4px;
        font-size: 1.08rem;
    }

    footer.aigm-footer .mobile-footer-links > div:not(:first-of-type) {
        padding-top: 0;
        border: 0;
    }

    /* Extra */

    body.admin-bar #wpadminbar {
        display: none !important;
    }

    .aigm-ux .title :is(h1, h2, h3, h4, h5, h6, strong) {
        font-size: 2.48rem;
    }
    .aigm-ux .title.small-size-title :is(h1, h2, h3, h4, h5, h6, strong) {
        font-size: 1.76rem;
    }

    /* Side Image */

    .sides-full-height-image .side.image {
        --width: 30%;
    }

    .sides-full-height-image .side.image img.main, 
    .sides-full-height-image .side.image div.main > img, 
    .sides-full-height-image .side.image a.main > img {
        height: 360px;
    }

    /* Reviews */

    section.customerreviews .review .aigm-rich-text::before, 
    section.customerreviews .review .aigm-rich-text::after {
        display: none;
    }

    /* Winners */

    section.winner1 .sides-full-height-image .side.image img.main {
        height: 360px;
    }

    /* Single Award Page */

    section.award7 .logos img {
        flex-basis: 30%;
    }

}