/* Shared public-site branding for the CMS and authentication pages. */
:root { --cms-primary: #1288ce; --cms-navy: #071b42; }
.cms-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.cms-auth-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; background: #071b42; }
.cms-auth-brand img { display: block; width: 180px; height: auto; object-fit: contain; }
.cms-auth-brand-divider { display: block; width: 1px; height: 36px; background: #ffffff30; }
.cms-auth-brand-caption { font-size: 14px; }
.cms-public-link { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 40px; padding: 8px 12px; border: 1px solid #ffffff45; border-radius: 7px; color: #fff !important; font-size: 13px; line-height: 1.4; text-decoration: none; }
.cms-public-link:hover { background: #ffffff12; text-decoration: none; }
.cms-public-link:focus-visible { outline: 2px solid #63c5f4; outline-offset: 3px; }
.admin-sidebar .admin-sidebar-brand-row { background: #071b42; border-color: #193859; }
.admin-sidebar .admin-sidebar-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cms-sidebar-logo { display: block; width: 165px; max-width: 100%; height: auto; object-fit: contain; }
.admin-sidebar .admin-sidebar-brand-caption { color: #c8dbea; font-size: 11px; }
.admin-sidebar-brand-controls button { color: #d3e6f7 !important; border-color: #ffffff35 !important; }
.admin-sidebar-brand-controls button:hover { background: #ffffff15 !important; }
.admin-sidebar-link:hover, .admin-sidebar-link[aria-current='page'] { background: #edf6fc; color: #0968a4; }
.cms-auth-icon { background: #eaf5fc; color: #1288ce; }
.cms-auth-submit, .btn-primary, main .bg-blue-600, main .bg-blue-700, body.theme-dark main .bg-blue-600 { background: #1288ce; border-color: #1288ce; color: #fff; }
.cms-auth-submit:hover, .cms-auth-submit:focus, .btn-primary:hover, .btn-primary:focus, main .bg-blue-600:hover, main .bg-blue-700:hover { background: #0968a4; border-color: #0968a4; color: #fff; }
.cms-auth-card .form-control:focus { border-color: #1288ce; box-shadow: 0 0 0 3px #1288ce20; }
.admin-topbar .admin-topbar-welcome, .admin-topbar [data-inbox-toggle] { color: #c8dbea !important; }
@media (max-width: 600px) {
    .cms-auth-brand-caption, .cms-auth-brand-divider { display: none; }
    .cms-auth-brand img { width: 150px; }
    .cms-public-link { font-size: 12px; padding: 7px 9px; }
    .admin-topbar .cms-public-link span { max-width: 56px; }
}
