/* Public navigation — close WordPress adaptation of the supplied shadcn/React header. */
:root {
    --am-nav-bg: #ffffff;
    --am-nav-fg: #18181b;
    --am-nav-muted: #71717a;
    --am-nav-border: #e4e4e7;
    --am-nav-accent: #f4f4f5;
    --am-nav-accent-fg: #18181b;
    --am-nav-popover: #ffffff;
    --am-nav-height: 56px;
    --am-nav-admin-offset: 0px;
}

body.admin-bar { --am-nav-admin-offset: 32px; }

.am-site-header,
.am-site-header * { box-sizing: border-box; }

.am-site-header {
    position: sticky;
    top: var(--am-nav-admin-offset);
    z-index: 10000;
    width: 100%;
    direction: rtl;
    color: var(--am-nav-fg);
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}

.am-site-header.is-scrolled,
.am-site-header.is-menu-open,
.am-site-header:focus-within {
    border-bottom-color: var(--am-nav-border);
    background: rgba(255,255,255,.76);
    box-shadow: 0 1px 0 rgba(24,24,27,.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.am-site-header__nav {
    width: 100%;
    max-width: 1024px;
    height: var(--am-nav-height);
    margin-inline: auto;
    padding-inline: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.am-site-header__start,
.am-site-header__actions,
.am-site-desktop-nav {
    display: flex;
    align-items: center;
}

.am-site-header__start { min-width: 0; gap: 20px; }
.am-site-desktop-nav { gap: 2px; }
.am-site-header__actions { gap: 8px; }

.am-site-wordmark {
    min-width: 0;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    color: var(--am-nav-fg);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease;
}

.am-site-wordmark:hover,
.am-site-wordmark:focus-visible { background: var(--am-nav-accent); outline: none; }
.am-site-wordmark__mark { width: 24px; height: 24px; display: grid; place-items: center; }
.am-site-wordmark__mark svg { width: 22px; height: 22px; }
.am-site-wordmark strong { font-size: 14px; font-weight: 900; line-height: 1; }

.am-nav-menu { position: relative; }
.am-nav-trigger,
.am-site-desktop-link {
    height: 36px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--am-nav-fg);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.am-nav-trigger:hover,
.am-nav-trigger:focus-visible,
.am-nav-menu.is-open .am-nav-trigger,
.am-site-desktop-link:hover,
.am-site-desktop-link:focus-visible {
    background: var(--am-nav-accent);
    color: var(--am-nav-accent-fg);
    outline: none;
}

.am-nav-trigger > svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .3s ease;
}
.am-nav-menu.is-open .am-nav-trigger > svg { transform: rotate(180deg); }

.am-nav-popover {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-3px) scale(.98);
    transform-origin: top right;
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}
.am-nav-popover--products { width: 560px; }
.am-nav-popover--company { width: 560px; }
.am-nav-menu.is-open .am-nav-popover,
.am-nav-menu:hover .am-nav-popover,
.am-nav-menu:focus-within .am-nav-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.am-nav-popover__surface {
    padding: 6px;
    border: 1px solid var(--am-nav-border);
    border-radius: 7px;
    background: rgba(255,255,255,.98);
    color: var(--am-nav-fg);
    box-shadow: 0 12px 28px rgba(24,24,27,.11), 0 2px 6px rgba(24,24,27,.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.am-nav-rich-grid,
.am-nav-company-rich,
.am-nav-company-compact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.am-nav-rich-grid {
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    border: 1px solid var(--am-nav-border);
    border-radius: 6px;
    background: #fafafa;
}

.am-nav-popover__note {
    margin: 0;
    padding: 10px 10px 5px;
    color: var(--am-nav-muted);
    font-size: 12px;
    line-height: 1.7;
}
.am-nav-popover__note a { color: var(--am-nav-fg); font-weight: 800; text-decoration: none; }
.am-nav-popover__note a:hover { text-decoration: underline; }

.am-nav-company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.am-nav-company-rich {
    padding: 8px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--am-nav-border);
    border-radius: 6px;
    background: #fafafa;
}
.am-nav-company-compact { padding: 8px; display: grid; align-content: center; gap: 3px; }

.am-nav-card {
    width: 100%;
    min-width: 0;
    padding: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    border-radius: 5px;
    color: var(--am-nav-fg);
    text-decoration: none;
    transition: background-color .14s ease, color .14s ease;
}
.am-nav-card:hover,
.am-nav-card:focus-visible { background: var(--am-nav-accent); color: var(--am-nav-accent-fg); outline: none; }

.am-nav-card__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--am-nav-border);
    border-radius: 6px;
    background: rgba(255,255,255,.5);
    box-shadow: 0 1px 2px rgba(24,24,27,.05);
}
.am-nav-icon { width: 20px; height: 20px; }
.am-nav-card__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.am-nav-card__copy strong { max-width: 100%; overflow: hidden; color: inherit; font-size: 13px; font-weight: 800; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.am-nav-card__copy small { color: var(--am-nav-muted); font-size: 10.5px; font-weight: 500; line-height: 1.6; }

.am-nav-card--compact { padding: 8px; gap: 8px; }
.am-nav-card--compact .am-nav-card__icon { width: 22px; height: 22px; flex-basis: 22px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.am-nav-card--compact .am-nav-icon { width: 16px; height: 16px; }
.am-nav-card--compact .am-nav-card__copy strong { font-size: 12px; }

.am-site-button {
    height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.am-site-button--outline { border-color: var(--am-nav-border); background: var(--am-nav-bg); color: var(--am-nav-fg); }
.am-site-button--outline:hover,
.am-site-button--outline:focus-visible { background: var(--am-nav-accent); outline: none; }
.am-site-button--primary { border-color: var(--am-nav-fg); background: var(--am-nav-fg); color: #fff; }
.am-site-button--primary:hover,
.am-site-button--primary:focus-visible { background: #27272a; outline: none; }

.am-site-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    display: none;
    place-items: center;
    border: 1px solid var(--am-nav-border);
    border-radius: 6px;
    background: var(--am-nav-bg);
    color: var(--am-nav-fg);
    cursor: pointer;
}
.am-site-menu-toggle:hover,
.am-site-menu-toggle:focus-visible { background: var(--am-nav-accent); outline: none; }
.am-site-menu-toggle svg { width: 20px; height: 20px; transition: transform .3s ease; }
.am-site-menu-toggle .am-menu-toggle-path { stroke-dasharray: 12 63; transition: stroke-dasharray .3s ease, stroke-dashoffset .3s ease; }
.am-site-header.is-menu-open .am-site-menu-toggle svg { transform: rotate(-45deg); }
.am-site-header.is-menu-open .am-site-menu-toggle .am-menu-toggle-path { stroke-dasharray: 20 300; stroke-dashoffset: -32.42px; }

.am-site-mobile-menu { display: none; }

@media (max-width: 767px) {
    .am-site-desktop-nav,
    .am-site-header__actions { display: none; }
    .am-site-menu-toggle { display: grid; }
    .am-site-header__nav { padding-inline: 16px; }
    .am-site-wordmark { padding-inline: 5px; }

    .am-site-mobile-menu {
        position: fixed;
        top: calc(var(--am-nav-admin-offset) + var(--am-nav-height));
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999;
        display: flex;
        border-top: 1px solid var(--am-nav-border);
        background: rgba(255,255,255,.95);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(.97);
        transform-origin: top center;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    }
    .am-site-header.is-menu-open .am-site-mobile-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: scale(1); }

    .am-site-mobile-menu__inner {
        width: 100%;
        height: 100%;
        padding: 16px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
        overflow-y: auto;
        overscroll-behavior: contain;
        outline: none;
    }
    .am-site-mobile-menu__links { width: 100%; max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; gap: 2px; }
    .am-mobile-section-title { margin: 10px 0 4px; color: var(--am-nav-muted); font-size: 12px; font-weight: 700; }
    .am-mobile-section-title:first-child { margin-top: 0; }

    .am-site-mobile-menu .am-nav-card { min-height: 64px; padding: 7px 8px; }
    .am-site-mobile-menu .am-nav-card__icon { width: 48px; height: 48px; flex-basis: 48px; }
    .am-site-mobile-menu .am-nav-card__copy strong { font-size: 13px; }
    .am-site-mobile-menu .am-nav-card__copy small { display: block; font-size: 10.5px; }
    .am-site-mobile-menu .am-nav-card--compact { min-height: 42px; }
    .am-site-mobile-menu .am-nav-card--compact .am-nav-card__icon { width: 28px; height: 28px; flex-basis: 28px; }

    .am-site-mobile-menu__actions {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
        padding-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .am-site-mobile-menu__actions .am-site-button { width: 100%; }

    body.am-site-menu-is-open { overflow: hidden !important; }
}

@media (max-width: 360px) {
    .am-site-wordmark strong { font-size: 13px; }
    .am-site-mobile-menu__inner { padding-inline: 12px; }
}

@media (max-width: 782px) {
    body.admin-bar { --am-nav-admin-offset: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    .am-site-header,
    .am-site-header *,
    .am-site-mobile-menu { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================
   Public footer and contact entry
===================================== */
.am-site-footer,
.am-site-footer * {
    box-sizing: border-box;
}

.am-site-footer {
    position: relative;
    overflow: hidden;
    padding: 30px 0 18px;
    border-top: 1px solid rgba(220, 227, 240, .92);
    background:
        radial-gradient(circle at 12% 0%, rgba(50, 107, 255, .08), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(210, 164, 55, .09), transparent 25%),
        linear-gradient(180deg, #f9fbff 0%, #f3f6fc 100%);
    direction: rtl;
}

.am-site-footer__container {
    width: min(100% - 48px, 1380px);
    margin-inline: auto;
}

.am-site-footer__main {
    display: grid;
    grid-template-columns: 1.35fr .85fr 1fr .72fr;
    gap: 16px;
    align-items: stretch;
}

.am-site-footer__brand,
.am-site-footer__links,
.am-site-footer__contact,
.am-site-footer__trust {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(220, 227, 240, .96);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 16px 36px rgba(26, 50, 102, .045), inset 0 1px 0 rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.am-site-footer__brand-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.am-site-footer__logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(140deg, #c2972f, #e1b74d);
    box-shadow: 0 13px 26px rgba(195,151,47,.18);
}

.am-site-footer__logo svg {
    width: 28px;
    height: 28px;
}

.am-site-footer__brand-head div {
    display: grid;
    gap: 4px;
}

.am-site-footer__brand-head strong {
    color: #17254a;
    font-size: 19px;
    font-weight: 900;
}

.am-site-footer__brand-head span {
    color: #7a86a1;
    font-size: 12px;
    font-weight: 600;
}

.am-site-footer__brand p,
.am-site-footer__contact p {
    margin: 0;
    color: #63718d;
    font-size: 14px;
    font-weight: 500;
    line-height: 2;
}

.am-site-footer h3 {
    margin: 0 0 15px;
    color: #17254a;
    font-size: 16px;
    font-weight: 900;
}

.am-site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.am-site-footer__links h3 {
    width: 100%;
}

.am-site-footer__links a,
.am-site-footer__email,
.am-site-footer__bottom a {
    color: #5e6c88;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.am-site-footer__links a:hover,
.am-site-footer__email:hover,
.am-site-footer__bottom a:hover {
    color: #326bff;
    transform: translateX(-2px);
}

.am-site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.am-site-footer__contact-button {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(210, 164, 55, .48);
    border-radius: 14px;
    background: linear-gradient(120deg, #ffe7a8, #f1c458);
    color: #17213e;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(210, 164, 55, .16);
    transition: transform .18s ease, box-shadow .18s ease;
}

.am-site-footer__contact-button:hover,
.am-site-footer__contact-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(210, 164, 55, .22);
    outline: none;
}

.am-site-footer__contact-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.am-site-footer__email {
    margin-top: 13px;
    direction: ltr;
}

.am-site-footer__trust {
    text-align: center;
}

.am-site-footer__enamad {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(209, 218, 235, .95);
    border-radius: 17px;
    background: #fff0;
}

.am-site-footer__enamad a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.am-site-footer__enamad img {
    display: block;
    width: auto;
    max-width: 110px;
    max-height: 110px;
}

.am-site-footer__bottom {
    margin-top: 16px;
    padding: 15px 4px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(218, 225, 238, .9);
    color: #75809a;
    font-size: 13px;
    font-weight: 600;
}

body.amin-contact-modal-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .am-site-footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .am-site-footer {
        padding-top: 20px;
    }

    .am-site-footer__container {
        width: calc(100% - 24px);
    }

    .am-site-footer__main {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .am-site-footer__brand,
    .am-site-footer__links,
    .am-site-footer__contact,
    .am-site-footer__trust {
        padding: 19px;
        border-radius: 19px;
    }

    .am-site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =====================================
   Mobile navigation hardening — v1.3.1
===================================== */
:root {
    --am-site-viewport-height: 100vh;
}

@supports (height: 100dvh) {
    :root {
        --am-site-viewport-height: 100dvh;
    }
}

@media (max-width: 980px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .am-site-header {
        isolation: isolate;
    }

    .am-site-header__container {
        width: calc(100% - 20px);
        min-width: 0;
        gap: 10px;
        padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
    }

    .am-site-header__start,
    .am-site-brand,
    .am-site-brand__content {
        min-width: 0;
    }

    .am-site-brand__name,
    .am-site-brand__description {
        max-width: min(52vw, 260px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .am-site-menu-toggle {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        border-radius: 13px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .am-site-menu-toggle:focus-visible {
        outline: 3px solid rgba(50, 107, 255, .24);
        outline-offset: 2px;
    }

    .am-site-mobile-menu {
        top: calc(var(--am-site-admin-bar-height) + var(--am-site-header-height));
        bottom: auto;
        width: 100%;
        height: calc(var(--am-site-viewport-height) - var(--am-site-admin-bar-height) - var(--am-site-header-height));
        max-height: calc(var(--am-site-viewport-height) - var(--am-site-admin-bar-height) - var(--am-site-header-height));
        overflow: hidden;
        overscroll-behavior: none;
    }

    .am-site-mobile-menu__scroll {
        min-height: 0;
        padding: 12px max(12px, env(safe-area-inset-right)) 18px max(12px, env(safe-area-inset-left));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cfd8e8 transparent;
        scroll-padding-block: 12px 92px;
        outline: none;
    }

    .am-site-mobile-menu__scroll::-webkit-scrollbar {
        width: 5px;
    }

    .am-site-mobile-menu__scroll::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: #cfd8e8;
    }

    .am-mobile-nav-section {
        width: min(100%, 720px);
        margin: 0 auto 10px;
        overflow: hidden;
        border: 1px solid #e4e9f3;
        border-radius: 15px;
        background: rgba(255, 255, 255, .78);
        box-shadow: 0 8px 20px rgba(31, 53, 101, .045);
    }

    .am-mobile-nav-section__trigger {
        width: 100%;
        min-height: 52px;
        padding: 10px 13px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        background: transparent;
        color: #25314f;
        font: inherit;
        font-size: 13.5px;
        font-weight: 900;
        text-align: right;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .am-mobile-nav-section__trigger svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .22s ease;
    }

    .am-mobile-nav-section.is-open .am-mobile-nav-section__trigger {
        color: var(--am-site-primary-deep);
        background: linear-gradient(180deg, #f6f9ff, #eef4ff);
        border-bottom: 1px solid #e4eaf6;
    }

    .am-mobile-nav-section.is-open .am-mobile-nav-section__trigger svg {
        transform: rotate(180deg);
    }

    .am-mobile-nav-section__trigger:focus-visible {
        outline: 3px solid rgba(50, 107, 255, .2);
        outline-offset: -3px;
    }

    .am-mobile-nav-section__content {
        padding: 8px;
    }

    .am-mobile-nav-section__content[hidden] {
        display: none !important;
    }

    .am-mobile-nav-grid,
    .am-mobile-quick-links {
        min-width: 0;
    }

    .am-mobile-nav-grid .am-nav-card,
    .am-mobile-quick-links a {
        width: 100%;
        min-width: 0;
        min-height: 54px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .am-mobile-nav-grid .am-nav-card {
        align-items: center;
    }

    .am-mobile-nav-grid .am-nav-card__copy,
    .am-mobile-quick-links a span {
        min-width: 0;
    }

    .am-mobile-nav-grid .am-nav-card__copy strong,
    .am-mobile-nav-grid .am-nav-card__copy small,
    .am-mobile-quick-links a span {
        overflow-wrap: anywhere;
    }

    .am-mobile-quick-links a:focus-visible,
    .am-mobile-nav-grid .am-nav-card:focus-visible,
    .am-site-mobile-menu__actions .am-site-action:focus-visible {
        outline: 3px solid rgba(50, 107, 255, .2);
        outline-offset: 1px;
    }

    .am-site-mobile-menu__actions {
        position: relative;
        z-index: 2;
        padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        box-shadow: 0 -10px 28px rgba(31, 53, 101, .07);
    }

    .am-site-mobile-menu__actions .am-site-action {
        min-width: 0;
        min-height: 48px;
        padding-inline: 10px;
        text-align: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .am-site-mobile-menu__actions .am-site-action span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.am-site-menu-is-open {
        position: fixed;
        right: 0;
        left: 0;
        width: 100%;
        overflow: hidden !important;
        overscroll-behavior: none;
    }
}

@media (max-width: 540px) {
    :root {
        --am-site-header-height: 64px;
    }

    .am-site-header__container {
        width: calc(100% - 16px);
    }

    .am-site-brand {
        gap: 8px;
    }

    .am-site-brand__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .am-site-brand__name {
        max-width: 47vw;
        font-size: 15px;
    }

    .am-mobile-nav-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .am-mobile-nav-grid .am-nav-card {
        min-height: 64px;
        padding: 9px;
    }

    .am-mobile-nav-grid .am-nav-card__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .am-mobile-nav-grid .am-nav-card__copy strong {
        font-size: 12.5px;
    }

    .am-mobile-nav-grid .am-nav-card__copy small {
        display: block;
        font-size: 10px;
        line-height: 1.55;
    }

    .am-mobile-nav-grid .am-nav-card--compact {
        min-height: 54px;
    }

    .am-mobile-nav-grid .am-nav-card--compact .am-nav-card__copy small {
        display: none;
    }

    .am-mobile-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 370px) {
    .am-site-brand__name {
        max-width: 40vw;
        font-size: 14px;
    }

    .am-site-menu-toggle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .am-mobile-quick-links,
    .am-site-mobile-menu__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .am-site-mobile-menu__actions .am-site-action {
        min-height: 46px;
    }
}

@media (max-width: 980px) and (max-height: 560px) and (orientation: landscape) {
    :root {
        --am-site-header-height: 58px;
    }

    .am-site-brand__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .am-site-brand__description {
        display: none;
    }

    .am-site-menu-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .am-site-mobile-menu__actions {
        padding-block: 7px calc(7px + env(safe-area-inset-bottom));
    }

    .am-site-mobile-menu__actions .am-site-action {
        min-height: 42px;
    }
}
