/*
Theme Name: ANS Menus
Theme URI: https://archns.com
Author: Arch Network Services, Inc.
Description: Companion theme for ANS Screen Menus sites (menu.archns.com or a client's menu subdomain). App-style portal layout, branded login, no blog clutter. Works with menu site mode on or off.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ans-menus
*/

@font-face{font-family:"ANS Work";src:url(assets/fonts/work-sans-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"ANS Work";src:url(assets/fonts/work-sans-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"ANS Oswald";src:url(assets/fonts/oswald-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

:root{--ink:#1c2733;--paper:#e9ece6;--card:#fff;--line:#d9ddd6;--mute:#5d6873;--accent:#f2b134}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);font:16px/1.55 "ANS Work",system-ui,sans-serif}
a{color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
img{max-width:100%;height:auto}
h1,h2,h3{font-family:"ANS Oswald","ANS Work",sans-serif;line-height:1.15}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;background:#fff;padding:8px 12px;z-index:99999}

/* App layout (logged in, portal page) */
.ans-app-main{flex:1;width:100%;max-width:1560px;margin:0 auto;padding:24px}
.ans-app-foot{padding:14px 24px 22px;text-align:center;font-size:13px;color:var(--mute)}
.ans-app-foot a{color:var(--mute)}

/* Sign-in card (logged out) */
.ans-gate{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6vh 16px}
.ans-gate-card{width:min(400px,100%);background:var(--card);border-radius:10px;padding:30px 32px 26px;border-top:6px solid var(--accent);box-shadow:0 1px 0 var(--line)}
.ans-gate-brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:20px}
.ans-gate-brand img{max-height:64px;width:auto}
.ans-gate-brand h1{margin:0;font-size:30px}
.ans-gate-brand p{margin:0;color:var(--mute);font-size:15px}
.ans-gate .ans-scr-login{max-width:none;margin:0;padding:0;background:none;border:0;box-shadow:none}
.ans-gate form p{margin:0 0 14px}
.ans-gate label{display:block;font-weight:700;font-size:13px;margin-bottom:4px}
.ans-gate input[type=text],.ans-gate input[type=password],.ans-gate input[type=email]{width:100%;padding:10px 11px;border:1px solid #b9c0b5;border-radius:5px;font:inherit;background:#fff;color:var(--ink)}
.ans-gate .login-remember label{display:flex;gap:8px;align-items:center;font-weight:400;font-size:14px}
.ans-gate .button,.ans-gate input[type=submit]{width:100%;background:var(--ink);color:#fff;border:0;padding:12px 18px;border-radius:6px;font:700 16px "ANS Work",system-ui,sans-serif;cursor:pointer}
.ans-gate .button:hover{filter:brightness(1.15)}
.ans-gate-links{margin-top:4px;font-size:14px}
.ans-gate-support{margin-top:18px;font-size:13px;color:var(--mute);text-align:center}
.ans-gate-support a{color:var(--mute)}

/* Ordinary pages (only reachable when menu site mode is off) */
.ans-page{flex:1;width:100%;max-width:760px;margin:0 auto;padding:48px 20px}
.ans-page-head{display:flex;align-items:center;gap:14px;padding:14px 24px;background:var(--ink);color:#fff}
.ans-page-head a{color:#fff;text-decoration:none;font:700 20px "ANS Oswald",sans-serif}
.ans-page-head img{max-height:36px;width:auto;background:#fff;border-radius:4px;padding:3px}
.ans-notice{background:#fdf8ee;border:1px solid #e9cf9f;border-radius:8px;padding:16px 18px}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
