html {
    scroll-behavior: smooth;
}

/* * {
    scroll-margin-top: 153px;
} */

.entry-content {
    margin-top: 0 !important;
}

header {
    nav {
        .current-menu-item {
            color: var(--wp--preset--color--highlight) !important;

            a {
                font-weight: 700 !important;
            }
        }

        a {
            text-decoration: none !important;

            &:hover {
                font-weight: 500;
            }
        }
    }

    .main-nav {
        z-index: 3;
        position: relative;

        @media(max-width: 1300px) {
            .hide-for-mobile {
                display: none !important;
            }

            .show-for-mobile {
                display: block !important;
            }
        }
    }

    .sticky-menu {
        opacity: 0.9;
        position: fixed;
        top: 0;
        width: 100vw;
        background: white;
        z-index: 2;

        @media(max-width: 1300px) {
            .hide-for-mobile {
                display: none !important;
            }

            .show-for-mobile {
                display: block !important;
            }
        }
    }
}

.admin-bar {
    header {
        .sticky-menu {
            top: 32px;
        }
    }
}
footer {
    margin-top: 0 !important;
}

.hidden {
    display: none !important;
}

.home-hero {
    height: calc(100vh - 270px) !important;
}

.page-template-client-page {
    .wp-site-blocks {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #1B2938;
    }
}

h1 {
    max-width: calc(100vw - 4rem);
}

@media(min-width: 768px) {
    .show-for-mobile {
        display: none !important;
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 40px !important;
    }

    .home h1 {
        font-size: 60px !important;
    }

    .hide-for-mobile {
        display: none !important;
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

    @media(max-width: 1300px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.card {
    background-color: var(--wp--preset--color--contrast);
    padding: 3rem;
    color: var(--wp--preset--color--base);
    margin: 0 !important;
    position: relative;

    h2 {
        font-size: 21px;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-top: 18px solid var(--wp--preset--color--highlight);
        border-right: 18px solid transparent;
    }
}

.wp-block-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0;

    li {
        position: relative;
        display: flex;
        font-size: 18px;

        &::before {
            content: '>';
            color: var(--wp--preset--color--highlight);
            font-weight: 700;
            display: inline-block;
            margin-right: 1rem;
        }
    }
}

.highlight-bold {
    strong {
        color: var(--wp--preset--color--highlight);
    }
}

.subpage-hero {
    height: calc(100vh - 450px) !important;
}