html {
    -webkit-text-size-adjust: 100%;
}

img,
iframe,
svg {
    max-width: 100%;
}

.site-nav {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.mobile-menu-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    background: rgba(15, 54, 60, 0.98);
    border-top: 1px solid rgba(201, 163, 71, 0.2);
    transition: max-height 350ms ease, opacity 250ms ease;
}

.mobile-menu-panel.is-open {
    max-height: calc(100svh - 80px);
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-bottom: 1px solid rgba(227, 227, 227, 0.1);
}

@media (max-width: 1023px) {
    .site-nav {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    input,
    select,
    textarea {
        min-width: 0;
        font-size: 16px !important;
    }

    .modal.active {
        align-items: flex-start !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
