/* WordPress-only adjustments; the visual design lives in app.css (copied unchanged from the original build). */
html { scroll-behavior: smooth; }
/* Anchor targets sit below the fixed header */
[id] { scroll-margin-top: 6rem; }
/* Accessibility */
.etg-skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #cc0000; color: #f5f5f5; padding: .75rem 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; transition: top .15s; }
.etg-skip:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #cc0000; outline-offset: 3px; }
#etg-header a:focus-visible, footer a:focus-visible, [class*="bg-secondary"] a:focus-visible { outline-color: #f5f5f5; }
/* Current page in the header nav */
#etg-header a[aria-current="page"]:not([class*="bg-primary"]) { color: #f5f5f5; }
#etg-header a[aria-current="page"]::after { width: 100%; }
/* Form feedback */
[data-etg-submit][disabled] { opacity: .6; cursor: progress; }
input:user-invalid, select:user-invalid { border-color: #cc0000; }
body { margin: 0; }
.admin-bar #etg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #etg-header { top: 46px; } }
#etg-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.etg-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(17,17,17,.85); padding: 1rem; }
.etg-modal[hidden] { display: none; }
.etg-modal video { max-height: 85vh; max-width: min(90vw, 480px); background: #000; }
.etg-modal button { position: absolute; top: 1rem; right: 1.25rem; color: #f5f5f5; font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
