Files
evus.acvisa.com/public/static/home/css/site-shell.css

75 lines
6.0 KiB
CSS

/* Shared homepage and inner-page navigation; business form styles stay separate. */
.ac-topline, .ac-header { color: #172d45; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.7; }
.ac-topline *, .ac-header *, .ac-menu-backdrop { box-sizing: border-box; }
.ac-header a { color: inherit; text-decoration: none; }
.ac-header a:focus-visible, .ac-header summary:focus-visible { outline: 3px solid #bc7c2d; outline-offset: 5px; border-radius: 3px; }
.ac-wrap { width: min(1200px, calc(100% - 80px)); margin: 0 auto; }
.ac-topline { color: #e0e9f2; background: #122e4b; font-size: 11px; letter-spacing: 1px; }
.ac-topline .ac-wrap { display: flex; justify-content: space-between; padding: 8px 0; }
.ac-header { background: #fff; border-bottom: 1px solid #e4d6c1; }
.ac-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; }
.ac-brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.ac-brand img { display: block; width: 260px; height: auto; filter: brightness(0) saturate(100%) invert(19%) sepia(26%) saturate(1725%) hue-rotate(167deg) brightness(95%) contrast(94%); }
.ac-nav { display: flex; gap: 25px; align-items: center; }
.ac-nav a { padding: 14px 0 12px; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.ac-nav a:hover, .ac-nav a[aria-current] { color: #153e63; border-bottom-color: #b8894d; }
.ac-account { font-size: 13px; white-space: nowrap; }
.ac-account span { margin-left: 10px; }
.ac-mobile-menu, .ac-menu-backdrop { display: none; }
.ac-line-icon { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
body:has(.ac-header) .footer { display: block; width: 100%; position: static; margin: 0; padding: 22px 24px; border-top: 1px solid #e6ecef; color: #667886; background: #fff; text-align: center; font-size: 12px; line-height: 1.9; box-shadow: none; }
body:has(.ac-header) .footer p { max-width: 1200px; margin: 0 auto; overflow-wrap: anywhere; }
body:has(.ac-header) .ac-site-footer .ac-footer-disclaimer { margin-bottom: 18px; text-align: left; }
body:has(.ac-header) .ac-site-footer .ac-footer-company { margin-bottom: 4px; color: #31475c; font-weight: 600; }
/* Configured footers may retain white inline link colors from the old dark footer. */
body:has(.ac-header) .ac-site-footer a { color: #285b7c !important; }
body:has(.ac-header) .ac-site-footer a:hover { color: #163c60; text-decoration: underline !important; }
body:has(.ac-header) .evus-foot { display: none; }
@media (max-width: 1150px) {
.ac-brand img { width: 180px; }
.ac-header-inner { gap: 20px; }
.ac-nav { gap: 16px; }
}
@media (max-width: 800px) {
.ac-wrap { width: calc(100% - 40px); }
.ac-topline .ac-wrap { font-size: 10px; letter-spacing: 0; }
/* Legacy upload controls use z-index 2000; keep navigation above those controls. */
.ac-header { position: relative; z-index: 3002; }
.ac-header-inner { min-height: 64px; gap: 16px; }
.ac-brand img { width: min(230px, calc(100vw - 150px)); }
.ac-nav, .ac-account { display: none; }
.ac-mobile-menu { display: block; margin-left: auto; }
body:has(.ac-mobile-menu[open]) { overflow: hidden; }
.ac-header:has(.ac-mobile-menu[open]) + .ac-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 3001; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(15, 35, 53, .22); cursor: pointer; }
.ac-mobile-menu summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; border: 1px solid #e4d6c1; border-radius: 5px; color: #163c60; font-size: 13px; cursor: pointer; list-style: none; }
.ac-mobile-menu summary::-webkit-details-marker { display: none; }
.ac-mobile-menu summary .ac-line-icon { width: 20px; height: 20px; }
.ac-menu-close, .ac-mobile-menu[open] .ac-menu-bars { display: none; }
.ac-mobile-menu[open] .ac-menu-close { display: block; }
.ac-mobile-menu[open] summary { background: #f7f0e6; }
.ac-mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; max-height: min(65dvh, calc(100dvh - 110px)); overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px 18px; border-top: 1px solid #e4d6c1; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 12px 24px rgba(23, 45, 69, .12); }
.ac-mobile-menu nav a { display: block; min-height: 48px; padding: 11px 16px; border-radius: 4px; font-size: 15px; }
.ac-mobile-menu nav a:hover, .ac-mobile-menu nav a[aria-current] { color: #163c60; background: #f7f0e6; }
}
@media (max-width: 580px) {
body:has(.ac-header) { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
.ac-topline .ac-wrap > span { font-size: 9px; }
.ac-wrap { width: calc(100% - 36px); }
body:has(.ac-header) .evus-foot { display: flex; position: fixed; inset: auto 0 0; z-index: 1000; height: auto; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #d8e1e8; }
body:has(.ac-header) .evus-foot::before, body:has(.ac-header) .evus-foot::after { display: none; }
body:has(.ac-header) .evus-foot a { display: flex; justify-content: center; align-items: center; flex: 1; width: auto; height: 42px; margin: 0; padding: 0 8px; color: #23445e; background: #fff; font-size: 13px; line-height: 1.5; border: 0; }
body:has(.ac-header) .evus-foot a[aria-current="page"] { color: #fff; background: #173f62; border-radius: 4px; }
}
.ac-header-services .ac-brand img { width: 220px; }
.ac-header-services .ac-header-inner { gap: 32px; }
.ac-header-services .ac-nav { gap: 32px; }
.ac-header-services .ac-nav a { font-size: 15px; }
@media (min-width: 801px) and (max-width: 1150px) {
.ac-header-services .ac-header-inner { flex-wrap: wrap; justify-content: center; gap: 0 24px; padding-top: 10px; }
.ac-header-services .ac-nav { order: 3; width: 100%; justify-content: center; }
}
@media (max-width: 800px) {
.ac-header-services .ac-header-inner { gap: 16px; }
.ac-header-services .ac-brand img { width: min(230px, calc(100vw - 150px)); }
}